CTX Feed – WooCommerce Product Feed Manager Plugin - Version 2.2.32

Version Description

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 2.2.32
Comparing to
See all releases

Code changes from version 2.2.31 to 2.2.32

Files changed (3) hide show
  1. README.txt +4 -1
  2. includes/class-woo-feed.php +1 -1
  3. woo-feed.php +8 -7
README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webappick.com
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested Up To: 5.0.3
7
- Stable tag: 2.2.31
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -296,6 +296,9 @@ Using pro version:
296
 
297
  == Changelog ==
298
 
 
 
 
299
  = 2.2.31(2019-01-22) =
300
  * Used home_url() instead of site_url() into google feed header
301
  * Review request admin message added
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested Up To: 5.0.3
7
+ Stable tag: 2.2.32
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
296
 
297
  == Changelog ==
298
 
299
+ = 2.2.32(2019-01-24) =
300
+ * Show message at feed generation if woocommerce product not found.
301
+
302
  = 2.2.31(2019-01-22) =
303
  * Used home_url() instead of site_url() into google feed header
304
  * Review request admin message added
includes/class-woo-feed.php CHANGED
@@ -70,7 +70,7 @@ class Woo_Feed
70
  public function __construct()
71
  {
72
  $this->woo_feed = 'woo-feed';
73
- $this->version = '2.2.31';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
70
  public function __construct()
71
  {
72
  $this->woo_feed = 'woo-feed';
73
+ $this->version = '2.2.32';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
woo-feed.php CHANGED
@@ -16,14 +16,14 @@
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
- * Version: 2.2.31
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
23
  * License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
24
  * Text Domain: woo-feed
25
  * Domain Path: /languages
26
- * WC requires at least: 3.2
27
  * WC tested up to: 3.5
28
  */
29
 
@@ -309,6 +309,7 @@ function woo_feed_get_product_information(){
309
  wp_send_json_success($data);
310
  }else{
311
  $data['success']=false;
 
312
  wp_send_json_error($data);
313
  }
314
 
@@ -753,8 +754,6 @@ function woo_feed_manage_feed()
753
  }
754
  }
755
  } else {
756
-
757
- add_action( 'admin_notices', 'woo_feed_wpml_notice' );
758
  # Update Interval
759
  if (isset($_POST['wf_schedule'])) {
760
  if (update_option('wf_schedule', sanitize_text_field($_POST['wf_schedule']))) {
@@ -1065,6 +1064,7 @@ add_action( 'admin_notices', 'woo_feed_review_notice' );
1065
 
1066
  function woo_feed_review_notice() {
1067
  $options = get_option('woo_feed_review_notice');
 
1068
  if(!$options){
1069
  $notice = '<div class="woo-feed-review-notice notice notice-info is-dismissible">';
1070
  $notice .= '<p><b>:) We have spent countless hours developing this free plugin for you, and we would really appreciate it if you dropped us a quick rating. Your opinion matters a lot to us. It helps us to get better. Thanks for using WooCommerce Product Feed.</b></p>';
@@ -1103,10 +1103,11 @@ function woo_feed_save_review_notice() {
1103
  wp_send_json_success($value);
1104
  }
1105
 
1106
-
1107
-
 
 
1108
  function woo_feed_wpml_notice() {
1109
-
1110
  if (class_exists('SitePress') && !get_option('woo_feed_wpml_notice')) {
1111
  $wpml_notice = '<div class="woo-feed-wpml-notice notice notice-success is-dismissible">';
1112
  $wpml_notice .= '<p>You are awesome for using <b>WooCommerce Product Feed</b>.
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
+ * Version: 2.2.32
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
23
  * License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
24
  * Text Domain: woo-feed
25
  * Domain Path: /languages
26
+ * WC requires at least: 2.6
27
  * WC tested up to: 3.5
28
  */
29
 
309
  wp_send_json_success($data);
310
  }else{
311
  $data['success']=false;
312
+ $data['message']='No products found. Add product before generating the feed.';
313
  wp_send_json_error($data);
314
  }
315
 
754
  }
755
  }
756
  } else {
 
 
757
  # Update Interval
758
  if (isset($_POST['wf_schedule'])) {
759
  if (update_option('wf_schedule', sanitize_text_field($_POST['wf_schedule']))) {
1064
 
1065
  function woo_feed_review_notice() {
1066
  $options = get_option('woo_feed_review_notice');
1067
+
1068
  if(!$options){
1069
  $notice = '<div class="woo-feed-review-notice notice notice-info is-dismissible">';
1070
  $notice .= '<p><b>:) We have spent countless hours developing this free plugin for you, and we would really appreciate it if you dropped us a quick rating. Your opinion matters a lot to us. It helps us to get better. Thanks for using WooCommerce Product Feed.</b></p>';
1103
  wp_send_json_success($value);
1104
  }
1105
 
1106
+ /**
1107
+ * Show notice if WPML installed
1108
+ */
1109
+ add_action( 'admin_notices', 'woo_feed_wpml_notice' );
1110
  function woo_feed_wpml_notice() {
 
1111
  if (class_exists('SitePress') && !get_option('woo_feed_wpml_notice')) {
1112
  $wpml_notice = '<div class="woo-feed-wpml-notice notice notice-success is-dismissible">';
1113
  $wpml_notice .= '<p>You are awesome for using <b>WooCommerce Product Feed</b>.