Plugin Directory

Changeset 2220716


Ignore:
Timestamp:
01/02/2020 01:27:03 AM (6 years ago)
Author:
shopybot
Message:

tiny fixes

Location:
shopybot-woocommerce/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • shopybot-woocommerce/trunk/includes/class-wc-shopybot-export.php

    r2220712 r2220716  
    335335     */
    336336    final public function setOfferParams($product) {
    337 
    338337        $terms = wp_get_post_terms($product->get_id(), 'product_cat');
    339338
     
    910909    }
    911910
    912 
    913911    public function ajaxUpdateOffers() {
    914912        if($_POST['unlock'] == 'yes') {
  • shopybot-woocommerce/trunk/includes/class-wc-shopybot-integration.php

    r2220712 r2220716  
    3939
    4040            // Actions.
     41            // Admin options, look in parent abstract class
    4142            add_action('woocommerce_update_options_integration_' . $this->id, array($this, 'process_admin_options'));
    4243            add_action('wp_ajax_generate_export_url', array($this, 'generate_export_url'));
     
    5455        }
    5556
    56         public function wc_auto_checkout($data) {
    57             if (!isset($_GET[$this->auto_checkout_param])) {
    58                 return true;
    59             }
    60 
    61             $product_id = $_GET[$this->auto_checkout_param];
    62             WC()->cart->add_to_cart($product_id);
    63 
    64             wp_redirect(wc_get_checkout_url());
     57        public function wc_auto_checkout() {
     58            if (isset($_GET[$this->auto_checkout_param])) {
     59                $product_id = $_GET[$this->auto_checkout_param];
     60                WC()->cart->add_to_cart($product_id);
     61
     62                wp_redirect(wc_get_checkout_url());
     63            }
    6564        }
    6665
     
    430429         */
    431430        public function display_errors() {
    432 
    433431            // loop through each error and display it
    434432            foreach($this->errors as $key => $value) {
    435                 ?>
    436           <div class="error">
    437               <p><?php _e('Looks like you made a mistake with the ' . $value . ' field. Make sure it isn&apos;t longer than 20 characters', 'shopybot-woocommerce'); ?></p>
    438           </div>
    439                 <?php
     433            ?>
     434              <div class="error">
     435                  <p><?php _e('Looks like you made a mistake with the ' . $value . ' field. Make sure it isn&apos;t longer than 20 characters', 'shopybot-woocommerce'); ?></p>
     436              </div>
     437            <?php
    440438            }
    441439        }
  • shopybot-woocommerce/trunk/license.txt

    r1720404 r2220716  
    1 Shopybot - Chatbot for E-Commerce for WordPress
     1ShopyBot - Facebook Chatbot for your WooCommerce
    22
    33Copyright 2015 by the contributors
  • shopybot-woocommerce/trunk/readme.txt

    r2220712 r2220716  
    1 === ShopyBot - ChatBot for WooCommerce ===
     1=== ShopyBot - Facebook Chatbot for your WooCommerce ===
    22Contributors: ShopyBot.com
    33Tags: bot, e-commerce, chat-bot, chatbot, messenger, facebook, woocommerce, integration, ShopyBot, ai, machine learning, artificial intelligence
    44Requires at least: 3.9
    55Tested up to: 5.3.2
    6 Stable tag: 1.0.8
     6Stable tag: 1.0.9
    77License: GNU GENERAL PUBLIC LICENSE Version 3
    88License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    100100== Changelog ==
    101101
     102= 1.0.9 =
     1031. fixed empty products error
     1042. fixed screenshots
     1053. added auto checkout from chatbot
     1064. updated readme.txt
     107
    102108= 1.0.8 =
    103109Plugin description changed
  • shopybot-woocommerce/trunk/shopybot-woocommerce.php

    r2005414 r2220716  
    22
    33/**
    4  * Shopybot WooCommerce - Facebook Chatbot for your E-Store
     4 * Shopybot - Facebook Chatbot for your WooCommerce
    55 *
    66 * This file is read by WordPress to generate the plugin information in the plugin
     
    1010 *
    1111 * @link              https://www.shopybot.com
    12  * @since             1.0.8
    13  * @package           Shopybot_Chatbot_Woocommerce
     12 * @since             1.0.9
     13 * @package           Shopybot_Woocommerce
    1414 *
    1515 * @wordpress-plugin
    16  * Plugin Name:       Shopybot - Facebook Chatbot for WooCommerce
     16 * Plugin Name:       ShopyBot - Facebook Chatbot for WooCommerce
    1717 * Plugin URI:        https://www.shopybot.com/connect-bot/woocommerce
    18  * Description:       Easy Facebook chatbot for your WooCommerce Online Shop
    19  * Version:           1.0.8
    20  * Author:            Shopybot
     18 * Description:       Easy way to sell your products in Facebook Messenger
     19 * Version:           1.0.9
     20 * Author:            ShopyBot
    2121 * Author URI:        https://www.shopybot.com
    2222 * License:           GPL-2.0+
Note: See TracChangeset for help on using the changeset viewer.