Plugin Directory

Changeset 1798967


Ignore:
Timestamp:
01/08/2018 11:50:14 AM (8 years ago)
Author:
hfsupport
Message:

rename plugin files and add cartinfo support for woocommerce 3.0

Location:
happyfox-chat-for-woocommerce/trunk
Files:
3 added
3 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • happyfox-chat-for-woocommerce/trunk/happyfox-chat-for-woocommerce.php

    r1556564 r1798967  
    11<?php
    2 /**
    3  * Plugin Name: HappyFox Chat for WooCommerce
    4  * Plugin URI: https://happyfoxchat.com
    5  * Description: This plugin adds the HappyFox Chat widget to your WooCommerce site
    6  * Version: 1.1
    7  * Author: HappyFox Inc.
    8  * Author URI: http://happyfoxchat.com
    9  * License: MIT
    10  */
     2/*
     3Plugin Name: HappyFox Chat for WooCommerce
     4Plugin URI: https://happyfoxchat.com
     5Description: This plugin adds the HappyFox Chat widget to your WooCommerce site
     6Version: 1.2
     7Author: HappyFox Inc.
     8Author URI: http://happyfoxchat.com
     9License: MIT
     10*/
    1111
    1212add_action('init', 'hfc_setup_widget');
     
    1616
    1717function hfc_register_settings() {
    18     register_setting('happyfox-chat-settings', 'hfc_api_key');
    19     register_setting('happyfox-chat-settings', 'hfc_embed_token');
    20     register_setting('happyfox-chat-settings', 'hfc_access_token');
     18    register_setting('happyfox-chat-for-woocommerce-settings', 'hfc_api_key');
     19    register_setting('happyfox-chat-for-woocommerce-settings', 'hfc_embed_token');
     20    register_setting('happyfox-chat-for-woocommerce-settings', 'hfc_access_token');
    2121    if (is_plugin_active('woocommerce/woocommerce.php')) {
    22       include('happyfox-chat-woocommerce.php');
     22      include('happyfox-chat-for-woocommerce-cart-info.php');
    2323    }
    2424}
    2525
    2626function hfc_admin_menu() {
    27     add_menu_page('HappyFox Chat Settings', 'HappyFox Chat', 'administrator', 'happyfox-chat-settings', 'happyfox_chat_settings_page', 'dashicons-format-chat');
    28     wp_enqueue_style('happyfox-chat-settings', WP_PLUGIN_URL . '/happyfox-chat-for-woocommerce/css/style.css');
     27    add_menu_page('HappyFox Chat Settings', 'HappyFox Chat', 'administrator', 'happyfox-chat-for-woocommerce-settings', 'happyfox_chat_settings_page', 'dashicons-format-chat');
     28    wp_enqueue_style('happyfox-chat-for-woocommerce-settings', WP_PLUGIN_URL . '/happyfox-chat-for-woocommerce/css/style.css');
    2929}
    3030
    3131function happyfox_chat_settings_page() {
    32   include('happyfox-chat-config.php');
    33   include('happyfox-chat-settings.php');
     32  include('happyfox-chat-for-woocommerce-config.php');
     33  include('happyfox-chat-for-woocommerce-settings.php');
    3434}
    3535
    3636function hfc_setup_widget() {
    37   include('happyfox-chat-config.php');
     37  include('happyfox-chat-for-woocommerce-config.php');
    3838  if( !session_id() )
    3939    session_start();
     
    5757
    5858function hfc_add_visitor_widget() {
    59     include('happyfox-chat-config.php');
     59    include('happyfox-chat-for-woocommerce-config.php');
    6060    $embed_token = get_option('hfc_embed_token');
    6161    $access_token = get_option('hfc_access_token');
  • happyfox-chat-for-woocommerce/trunk/readme.txt

    r1556564 r1798967  
    22Contributors: hfsupport
    33Tags: banckle, Chat, chat online, chat software, click desk, clickdesk, contact plugin, contact us, customer support, happyfox, IM Chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, olark, online chat, online support, php live chat, Pipedrive, sales chat, salesforce, shopify, snapengage, support software, Website Chat, WordPress chat, wordpress live chat, wordpress live chat plugin, zendesk, Zopim, Zopim live chat, Woocommerce
    4 Stable tag: 1.1
     4Stable tag: 1.2
    55Requires at least: 3.5
    6 Tested up to: 4.4.3
     6Tested up to: 4.9.1
    77
    88Live Chat tool for your business. Fully loaded with features like unlimited chats, fully customizable widget, app integrations & more.
Note: See TracChangeset for help on using the changeset viewer.