Product Feed PRO for WooCommerce - Version 7.2.8

Version Description

Added some delete option calls when plugin gets disabled or removed (cleaning up) Added is dismissible state save for notice that showed after activation of plugin

Download this release

Release Info

Developer jorisverwater
Plugin Icon 128x128 Product Feed PRO for WooCommerce
Version 7.2.8
Comparing to
See all releases

Code changes from version 7.2.7 to 7.2.8

js/woosea_key.js CHANGED
@@ -27,7 +27,7 @@ jQuery(document).ready(function($) {
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
- url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.2.7',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
27
  var license_key = $('#license-key').val();
28
 
29
  jQuery.ajax({
30
+ url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=7.2.8',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
js/woosea_manage.js CHANGED
@@ -69,6 +69,19 @@ jQuery(document).ready(function($) {
69
  });
70
 
71
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  $("td[colspan=8]").find("div").parents("tr").hide();
73
 
74
  $('.checkbox-field').change(function(index, obj){
69
  });
70
 
71
 
72
+ $(".get_elite_activate").click(function(e){
73
+ if(e.target.tagName === 'A') return; // clicking on links should not close the div notice
74
+
75
+ $(".get_elite_activate").remove();
76
+
77
+ jQuery.ajax({
78
+ method: "POST",
79
+ url: ajaxurl,
80
+ data: { 'action': 'woosea_getelite_active_notification' }
81
+ })
82
+ });
83
+
84
+
85
  $("td[colspan=8]").find("div").parents("tr").hide();
86
 
87
  $('.checkbox-field').change(function(index, obj){
pages/admin/woosea-manage-settings.php CHANGED
@@ -101,10 +101,16 @@ if(isset($_GET["tab"])) {
101
  </div>
102
 
103
  <?php
104
- if(array_key_exists('message', $license_information)){
 
 
 
 
 
 
105
  ?>
106
- <div class="<?php _e($license_information['message_type']); ?>">
107
- <p><?php _e($license_information['message'], 'sample-text-domain' ); ?></p>
108
  </div>
109
  <?php
110
  }
101
  </div>
102
 
103
  <?php
104
+ $getelite_notice = get_option('woosea_getelite_active_notification');
105
+ if(empty($getelite_notice['show'])){
106
+ $getelite_notice['show'] = "yes";
107
+ $getelite_notice['timestamp'] = date( 'd-m-Y' );
108
+ }
109
+
110
+ if(($license_information['license_valid'] <> "true") AND ($getelite_notice['show'] == "yes")){
111
  ?>
112
+ <div class="notice notice-info get_elite_activate is-dismissible">
113
+ <p>Thank you for using our Product Feed PRO plugin, much appreciated! Some of the features of this plugin have been locked as you are using the free version of this plugin. The added extra fields such as Brand and GTIN, WPML support, Aelia currency switcher support, the Facebook Pixel feature and the WooCommerce structured data bug fix are Elite features of this plugin. You can get <strong><a href="https://adtribes.io/pro-vs-elite/?utm_source=$domain&utm_medium=plugin&utm_campaign=upgrade-elite" target="_blank">your license key here</a></strong>.</p>
114
  </div>
115
  <?php
116
  }
readme.txt CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.3
8
- Stable tag: 7.2.7
9
 
10
  == Description ==
11
 
@@ -309,6 +309,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
309
 
310
  === Changelog ===
311
 
 
 
 
 
312
  = 7.2.7 (2020-01-21) =
313
  * We forgot to apply the fix from version 7.2.6 to all plugin pages. Should be fixed now.
314
 
@@ -2305,6 +2309,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2305
 
2306
  == Upgrade Notice ==
2307
 
 
 
 
 
2308
  = 7.2.7 =
2309
  We forgot to apply the fix from version 7.2.6 to all plugin pages. Should be fixed now.
2310
 
5
  Tags: Product Feed, Google Shopping, Google Shopping Feed, WooCommerce Product Feed, WooCommerce Product Feed PRO, Bing Shopping, Bing product feed, Bing remarking, Google Merchant Feed, Google DRM Feed, Google Dynamic Remarketing Feed, Facebook feed, Google feed, Bing feed, Facebook Product Feed, Facebook Dynamic remarketing, Data Feed, WooCommerce Feed, XML product feed, CSV product feed, TSV, TXT product feed, comparison shopping engines, comparison shopping websites, vergelijk.nl, vergelijk.be, vertaa.fi, beslist.nl, kieskeurig.nl, bol.com, raketten, pricerunner, pricegrabber, Buy, leGuide, Kelkoo, Twenga, Yandex, Etsy, Dealtime, Shopzilla, Billiger, Google Product Review feed
6
  Requires at least: 4.5
7
  Tested up to: 5.3
8
+ Stable tag: 7.2.8
9
 
10
  == Description ==
11
 
309
 
310
  === Changelog ===
311
 
312
+ = 7.2.8 (2020-01-22) =
313
+ * Added some delete option calls when plugin gets disabled or removed (cleaning up)
314
+ * Added is dismissible state save for notice that showed after activation of plugin
315
+
316
  = 7.2.7 (2020-01-21) =
317
  * We forgot to apply the fix from version 7.2.6 to all plugin pages. Should be fixed now.
318
 
2309
 
2310
  == Upgrade Notice ==
2311
 
2312
+ = 7.2.8 =
2313
+ Added some delete option calls when plugin gets disabled or removed (cleaning up)
2314
+ Added is dismissible state save for notice that showed after activation of plugin
2315
+
2316
  = 7.2.7 =
2317
  We forgot to apply the fix from version 7.2.6 to all plugin pages. Should be fixed now.
2318
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.2.7
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.2.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -760,6 +760,21 @@ function woosea_getelite_notification(){
760
  }
761
  add_action( 'wp_ajax_woosea_getelite_notification', 'woosea_getelite_notification' );
762
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
763
 
764
  /**
765
  * Request our plugin users to write a review
@@ -3724,7 +3739,7 @@ function woosea_license_valid(){
3724
 
3725
  if(!empty($license_information['license_key'])){
3726
  $curl = curl_init();
3727
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.2.7";
3728
 
3729
  curl_setopt_array($curl, array(
3730
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.2.8
5
  * Plugin URI: https://www.adtribes.io/support/?utm_source=wpadmin&utm_medium=plugin&utm_campaign=woosea_product_feed_pro
6
  * Description: Configure and maintain your WooCommerce product feeds for Google Shopping, Facebook, Remarketing, Bing, Yandex, Comparison shopping websites and over a 100 channels more.
7
  * Author: AdTribes.io
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.2.8' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
760
  }
761
  add_action( 'wp_ajax_woosea_getelite_notification', 'woosea_getelite_notification' );
762
 
763
+ /**
764
+ * Close the get Elite activation notification
765
+ **/
766
+ function woosea_getelite_active_notification(){
767
+
768
+ //delete_option('woosea_getelite_active_notification');
769
+
770
+ $get_elite_notice = array(
771
+ "show" => "no",
772
+ "timestamp" => date( 'd-m-Y' )
773
+ );
774
+
775
+ update_option('woosea_getelite_active_notification',$get_elite_notice);
776
+ }
777
+ add_action( 'wp_ajax_woosea_getelite_active_notification', 'woosea_getelite_active_notification' );
778
 
779
  /**
780
  * Request our plugin users to write a review
3739
 
3740
  if(!empty($license_information['license_key'])){
3741
  $curl = curl_init();
3742
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.2.8";
3743
 
3744
  curl_setopt_array($curl, array(
3745
  CURLOPT_RETURNTRANSFER => 1,