Product Feed PRO for WooCommerce - Version 7.2.6

Version Description

The Get Elite notice is dismissable logic did not work, this has been fixed now.

Download this release

Release Info

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

Code changes from version 7.2.5 to 7.2.6

classes/class-deactivate-cleanup.php CHANGED
@@ -8,5 +8,6 @@ class WooSEA_Deactivate_Cleanup {
8
  public static function deactivate_cleanup() {
9
  wp_clear_scheduled_hook('woosea_cron_hook');
10
  wp_clear_scheduled_hook('woosea_check_license');
 
11
  }
12
  }
8
  public static function deactivate_cleanup() {
9
  wp_clear_scheduled_hook('woosea_cron_hook');
10
  wp_clear_scheduled_hook('woosea_check_license');
11
+ delete_option('woosea_getelite_notification');
12
  }
13
  }
classes/class-uninstall-cleanup.php CHANGED
@@ -11,5 +11,6 @@ class WooSEA_Uninstall_Cleanup {
11
  delete_option( 'channel_statics' );
12
  delete_option( 'license_information' );
13
  delete_option( 'cron_projects' );
 
14
  }
15
  }
11
  delete_option( 'channel_statics' );
12
  delete_option( 'license_information' );
13
  delete_option( 'cron_projects' );
14
+ delete_option('woosea_getelite_notification');
15
  }
16
  }
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.5',
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.6',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
js/woosea_manage.js CHANGED
@@ -56,6 +56,18 @@ jQuery(document).ready(function($) {
56
  })
57
  });
58
 
 
 
 
 
 
 
 
 
 
 
 
 
59
 
60
  $("td[colspan=8]").find("div").parents("tr").hide();
61
 
56
  })
57
  });
58
 
59
+ $(".get_elite").click(function(e){
60
+ if(e.target.tagName === 'A') return; // clicking on links should not close the div notice
61
+
62
+ $(".get_elite").remove();
63
+
64
+ jQuery.ajax({
65
+ method: "POST",
66
+ url: ajaxurl,
67
+ data: { 'action': 'woosea_getelite_notification' }
68
+ })
69
+ });
70
+
71
 
72
  $("td[colspan=8]").find("div").parents("tr").hide();
73
 
pages/admin/woosea-generate-feed-step-0.php CHANGED
@@ -78,18 +78,26 @@ if (array_key_exists('project_hash', $_GET)){
78
  <div class="wrap">
79
  <div class="woo-product-feed-pro-form-style-2">
80
  <?php
81
- if($license_information['license_valid'] <> "true"){
82
- ?>
83
- <div class="notice notice-info is-dismissible">
 
 
 
 
 
 
 
84
  <p>
85
  <strong><?php _e( 'Would you like to get more out of your product feeds? Upgrade to the Elite version of the plugin and you will get:','woo-product-feed-pro' );?></strong><br/></br/>
86
  <span class="dashicons dashicons-yes"></span><?php _e( 'Priority support - we will help you to get your product feed(s) up-and-running;','woo-product-feed-pro' );?><br/>
87
- <span class="dashicons dashicons-yes"></span><?php _e( 'GTIN, Brand, MPN, EAN, Condition and more fields for your product feeds','woo-product-feed-pro' );?> [<a href="https://adtribes.io/add-gtin-mpn-upc-ean-product-condition-optimised-title-and-brand-attributes/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=adding%20fields" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
88
- <span class="dashicons dashicons-yes"></span><?php _e('Enhanched structured data on your product pages: more products approved in your Google Merchant Center','woo-product-feed-pro' );?> [<a href="https://adtribes.io/woocommerce-structured-data-bug/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=structured%20data%20bug" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
89
- <span class="dashicons dashicons-yes"></span><?php _e( 'Advanced product data manipulation','woo-product-feed-pro' );?> [<a href="https://adtribes.io/feature-product-data-manipulation/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=product%20data%20manipulation" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
90
- <span class="dashicons dashicons-yes"></span><?php _e( 'WPML support - including their currency switcher','woo-product-feed-pro' );?> [<a href="https://adtribes.io/wpml-support/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=wpml%20support" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
91
- <span class="dashicons dashicons-yes"></span>Aelia currency switcher support [<a href="https://adtribes.io/aelia-currency-switcher-feature/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=aelia%20support" target="_blank">read more</a>];<br/><br/>
92
- <?php _e( 'Upgrade to the','woo-product-feed-pro' );?> <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_content=notification" target="_blank"><?php _e( 'Elite version of our plugin</a> to unlock these features.','woo-product-feed-pro' );?>
 
93
  </p>
94
  </div>
95
 
@@ -508,7 +516,8 @@ if (array_key_exists('project_hash', $_GET)){
508
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds','woo-product-feed-pro' );?></li>
509
  <li><strong>5.</strong> <?php _e( 'WPML support','woo-product-feed-pro' );?></li>
510
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?></li>
511
- </ul>
 
512
  <strong>
513
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=page-0&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!','woo-product-feed-pro' );?></a>
514
  </strong>
78
  <div class="wrap">
79
  <div class="woo-product-feed-pro-form-style-2">
80
  <?php
81
+ // Set default notification to show
82
+ $getelite_notice = get_option('woosea_getelite_notification');
83
+ if(empty($getelite_notice['show'])){
84
+ $getelite_notice['show'] = "yes";
85
+ $getelite_notice['timestamp'] = date( 'd-m-Y' );
86
+ }
87
+
88
+ if(($license_information['license_valid'] <> "true") AND ($getelite_notice['show'] == "yes")){
89
+ ?>
90
+ <div class="notice notice-info get_elite is-dismissible">
91
  <p>
92
  <strong><?php _e( 'Would you like to get more out of your product feeds? Upgrade to the Elite version of the plugin and you will get:','woo-product-feed-pro' );?></strong><br/></br/>
93
  <span class="dashicons dashicons-yes"></span><?php _e( 'Priority support - we will help you to get your product feed(s) up-and-running;','woo-product-feed-pro' );?><br/>
94
+ <span class="dashicons dashicons-yes"></span><?php _e( 'GTIN, Brand, MPN, EAN, Condition and more fields for your product feeds','woo-product-feed-pro' );?> [<a href="https://adtribes.io/add-gtin-mpn-upc-ean-product-condition-optimised-title-and-brand-attributes/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=adding%20fields" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
95
+ <span class="dashicons dashicons-yes"></span><?php _e('Enhanched structured data on your product pages: more products approved in your Google Merchant Center','woo-product-feed-pro' );?> [<a href="https://adtribes.io/woocommerce-structured-data-bug/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=structured%20data%20bug" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
96
+ <span class="dashicons dashicons-yes"></span><?php _e( 'Advanced product data manipulation','woo-product-feed-pro' );?> [<a href="https://adtribes.io/feature-product-data-manipulation/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=product%20data%20manipulation" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
97
+ <span class="dashicons dashicons-yes"></span><?php _e( 'WPML support - including their currency switcher','woo-product-feed-pro' );?> [<a href="https://adtribes.io/wpml-support/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=wpml%20support" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
98
+ <span class="dashicons dashicons-yes"></span>Aelia currency switcher support [<a href="https://adtribes.io/aelia-currency-switcher-feature/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=aelia%20support" target="_blank">Read more</a>];<br/>
99
+ <span class="dashicons dashicons-yes"></span><?php _e( 'Facebook pixel feature','woo-product-feed-pro' );?> [<a href="https://adtribes.io/facebook-pixel-feature/?utm_source=<?php print "$host";?>&utm_medium=manage-feed&utm_campaign=facebook pixel feature" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/><br/>
100
+ <?php _e( 'Upgrade to the','woo-product-feed-pro' );?> <strong><a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=top-notification&utm_content=notification" target="_blank"><?php _e( 'Elite version of our plugin</a></strong> to unlock these features.','woo-product-feed-pro' );?>
101
  </p>
102
  </div>
103
 
516
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds','woo-product-feed-pro' );?></li>
517
  <li><strong>5.</strong> <?php _e( 'WPML support','woo-product-feed-pro' );?></li>
518
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?></li>
519
+ <li><strong>7.</strong> <?php _e( 'Facebook pixel feature','woo-product-feed-pro' );?></li>
520
+ </ul>
521
  <strong>
522
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=page-0&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!','woo-product-feed-pro' );?></a>
523
  </strong>
pages/admin/woosea-generate-feed-step-1.php CHANGED
@@ -208,7 +208,8 @@ function woosea_hierarchical_term_tree($category, $prev_mapped){
208
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds','woo-product-feed-pro' );?></li>
209
  <li><strong>5.</strong> <?php _e( 'WPML support','woo-product-feed-pro' );?></li>
210
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?></li>
211
- </ul>
 
212
  <strong>
213
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=page1&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!','woo-product-feed-pro' );?></a>
214
  </strong>
208
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds','woo-product-feed-pro' );?></li>
209
  <li><strong>5.</strong> <?php _e( 'WPML support','woo-product-feed-pro' );?></li>
210
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?></li>
211
+ <li><strong>7.</strong> <?php _e( 'Facebook pixel feature','woo-product-feed-pro' );?></li>
212
+ </ul>
213
  <strong>
214
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=page1&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!','woo-product-feed-pro' );?></a>
215
  </strong>
pages/admin/woosea-manage-feed.php CHANGED
@@ -96,18 +96,30 @@ if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
96
  }
97
  update_option('cron_projects', $cron_projects);
98
  } else {
99
- if($license_information['license_valid'] <> "true"){
 
 
 
 
 
 
 
 
 
 
 
100
  ?>
101
- <div class="notice notice-info is-dismissible">
102
  <p>
103
  <strong><?php _e( 'Would you like to get more out of your product feeds? Upgrade to the Elite version of the plugin and you will get:', 'woo-product-feed-pro' );?></strong><br/></br/>
104
  <span class="dashicons dashicons-yes"></span><?php _e( 'Priority support - we will help you to get your product feed(s) up-and-running;', 'woo-product-feed-pro' );?><br/>
105
- <span class="dashicons dashicons-yes"></span><?php _e( 'GTIN, Brand, MPN, EAN, Condition and more fields for your product feeds', 'woo-product-feed-pro' );?> [<a href="https://adtribes.io/add-gtin-mpn-upc-ean-product-condition-optimised-title-and-brand-attributes/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=adding%20fields" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
106
- <span class="dashicons dashicons-yes"></span><?php _e( 'Enhanched structured data on your product pages: more products approved in your Google Merchant Center', 'woo-product-feed-pro' );?> [<a href="https://adtribes.io/woocommerce-structured-data-bug/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=structured%20data%20bug" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
107
- <span class="dashicons dashicons-yes"></span><?php _e( 'Advanced product data manipulation','woo-product-feed-pro' );?> [<a href="https://adtribes.io/feature-product-data-manipulation/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=product%20data%20manipulation" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
108
- <span class="dashicons dashicons-yes"></span><?php _e( 'WPML support - including their currency switcher','woo-product-feed-pro' );?> [<a href="https://adtribes.io/wpml-support/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=wpml%20support" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
109
- <span class="dashicons dashicons-yes"></span><?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?> [<a href="https://adtribes.io/aelia-currency-switcher-feature/?utm_source=oplader.org&utm_medium=manage-feed&utm_campaign=aelia%20support" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/><br/>
110
- <?php _e( 'Upgrade to the','woo-product-feed-pro' );?> <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_content=notification" target="_blank"><?php _e( 'Elite version of our plugin</a> to unlock these features.','woo-product-feed-pro' );?>
 
111
  </p>
112
  </div>
113
  <?php
@@ -280,6 +292,7 @@ if (!wp_next_scheduled( 'woosea_cron_hook' ) ) {
280
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds','woo-product-feed-pro' );?></li>
281
  <li><strong>5.</strong> <?php _e( 'WPML support','woo-product-feed-pro' );?></li>
282
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?></li>
 
283
  </ul>
284
  <strong>
285
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!','woo-product-feed-pro' );?></a>
96
  }
97
  update_option('cron_projects', $cron_projects);
98
  } else {
99
+
100
+ delete_option('woosea_getelite_notification');
101
+
102
+
103
+ // Set default notification to show
104
+ $getelite_notice = get_option('woosea_getelite_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 is-dismissible">
113
  <p>
114
  <strong><?php _e( 'Would you like to get more out of your product feeds? Upgrade to the Elite version of the plugin and you will get:', 'woo-product-feed-pro' );?></strong><br/></br/>
115
  <span class="dashicons dashicons-yes"></span><?php _e( 'Priority support - we will help you to get your product feed(s) up-and-running;', 'woo-product-feed-pro' );?><br/>
116
+ <span class="dashicons dashicons-yes"></span><?php _e( 'GTIN, Brand, MPN, EAN, Condition and more fields for your product feeds', 'woo-product-feed-pro' );?> [<a href="https://adtribes.io/add-gtin-mpn-upc-ean-product-condition-optimised-title-and-brand-attributes/?utm_source=<?php print "$host";?>&utm_medium=manage-feed&utm_campaign=adding%20fields" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
117
+ <span class="dashicons dashicons-yes"></span><?php _e( 'Enhanched structured data on your product pages: more products approved in your Google Merchant Center', 'woo-product-feed-pro' );?> [<a href="https://adtribes.io/woocommerce-structured-data-bug/?utm_source=<?php print "$host";?>&utm_medium=manage-feed&utm_campaign=structured%20data%20bug" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
118
+ <span class="dashicons dashicons-yes"></span><?php _e( 'Advanced product data manipulation','woo-product-feed-pro' );?> [<a href="https://adtribes.io/feature-product-data-manipulation/?utm_source=<?php print "$host";?>&utm_medium=manage-feed&utm_campaign=product%20data%20manipulation" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
119
+ <span class="dashicons dashicons-yes"></span><?php _e( 'WPML support - including their currency switcher','woo-product-feed-pro' );?> [<a href="https://adtribes.io/wpml-support/?utm_source=<?php print "$host";?>&utm_medium=manage-feed&utm_campaign=wpml%20support" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
120
+ <span class="dashicons dashicons-yes"></span><?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?> [<a href="https://adtribes.io/aelia-currency-switcher-feature/?utm_source=<?php print "$host";?>&utm_medium=manage-feed&utm_campaign=aelia%20support" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/>
121
+ <span class="dashicons dashicons-yes"></span><?php _e( 'Facebook pixel feature','woo-product-feed-pro' );?> [<a href="https://adtribes.io/facebook-pixel-feature/?utm_source=<?php print "$host";?>&utm_medium=manage-feed&utm_campaign=facebook pixel feature" target="_blank"><?php _e( 'Read more','woo-product-feed-pro' );?></a>];<br/><br/>
122
+ <?php _e( 'Upgrade to the','woo-product-feed-pro' );?> <strong><a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=top-notification&utm_content=notification" target="_blank"><?php _e( 'Elite version of our plugin</a></strong> to unlock these features.','woo-product-feed-pro' );?>
123
  </p>
124
  </div>
125
  <?php
292
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds','woo-product-feed-pro' );?></li>
293
  <li><strong>5.</strong> <?php _e( 'WPML support','woo-product-feed-pro' );?></li>
294
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support','woo-product-feed-pro' );?></li>
295
+ <li><strong>7.</strong> <?php _e( 'Facebook pixel feature','woo-product-feed-pro' );?></li>
296
  </ul>
297
  <strong>
298
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-feed&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!','woo-product-feed-pro' );?></a>
pages/admin/woosea-manage-settings.php CHANGED
@@ -90,6 +90,7 @@ if(isset($_GET["tab"])) {
90
  <div class="wrap">
91
 
92
  <div class="woo-product-feed-pro-form-style-2">
 
93
  <tbody class="woo-product-feed-pro-body">
94
  <div class="woo-product-feed-pro-form-style-2-heading">
95
  <span>
@@ -98,7 +99,7 @@ if(isset($_GET["tab"])) {
98
  ?>
99
  </span>
100
  </div>
101
-
102
  <?php
103
  if(array_key_exists('message', $license_information)){
104
  ?>
@@ -593,7 +594,8 @@ if(isset($_GET["tab"])) {
593
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds', 'woo-product-feed-pro' );?></li>
594
  <li><strong>5.</strong> <?php _e( 'WPML support', 'woo-product-feed-pro' );?></li>
595
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support', 'woo-product-feed-pro');?></li>
596
- </ul>
 
597
  <strong>
598
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-settings&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!', 'woo-product-feed-pro' );?></a>
599
  </strong>
90
  <div class="wrap">
91
 
92
  <div class="woo-product-feed-pro-form-style-2">
93
+
94
  <tbody class="woo-product-feed-pro-body">
95
  <div class="woo-product-feed-pro-form-style-2-heading">
96
  <span>
99
  ?>
100
  </span>
101
  </div>
102
+
103
  <?php
104
  if(array_key_exists('message', $license_information)){
105
  ?>
594
  <li><strong>4.</strong> <?php _e( 'Exclude individual products from your feeds', 'woo-product-feed-pro' );?></li>
595
  <li><strong>5.</strong> <?php _e( 'WPML support', 'woo-product-feed-pro' );?></li>
596
  <li><strong>6.</strong> <?php _e( 'Aelia currency switcher support', 'woo-product-feed-pro');?></li>
597
+ <li><strong>7.</strong> <?php _e( 'Facebook pixel feature', 'woo-product-feed-pro');?></li>
598
+ </ul>
599
  <strong>
600
  <a href="https://adtribes.io/pro-vs-elite/?utm_source=<?php print"$host";?>&utm_medium=manage-settings&utm_campaign=why-upgrade-box" target="_blank"><?php _e( 'Upgrade to Elite here!', 'woo-product-feed-pro' );?></a>
601
  </strong>
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.5
9
 
10
  == Description ==
11
 
@@ -309,6 +309,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
309
 
310
  === Changelog ===
311
 
 
 
 
312
  = 7.2.5 (2020-01-17) =
313
  * It is now possible to remove the item_group_id field mappings again
314
 
@@ -2299,6 +2302,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2299
 
2300
  == Upgrade Notice ==
2301
 
 
 
 
2302
  = 7.2.5 =
2303
  It is now possible to remove the item_group_id field mappings again
2304
 
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.6
9
 
10
  == Description ==
11
 
309
 
310
  === Changelog ===
311
 
312
+ = 7.2.6 (2020-01-21) =
313
+ * The Get Elite notice is dismissable logic did not work, this has been fixed now.
314
+
315
  = 7.2.5 (2020-01-17) =
316
  * It is now possible to remove the item_group_id field mappings again
317
 
2302
 
2303
  == Upgrade Notice ==
2304
 
2305
+ = 7.2.6 =
2306
+ The Get Elite notice is dismissable logic did not work, this has been fixed now.
2307
+
2308
  = 7.2.5 =
2309
  It is now possible to remove the item_group_id field mappings again
2310
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.2.5
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.5' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -725,7 +725,7 @@ function activate_woosea_feed(){
725
  register_activation_hook(__FILE__, 'activate_woosea_feed');
726
 
727
  /**
728
- * Request our plugin users to write a review
729
  **/
730
  function woosea_license_notice(){
731
  $license_information = get_option( 'license_information' );
@@ -744,6 +744,23 @@ function woosea_license_notice(){
744
  }
745
  add_action('admin_notices', 'woosea_license_notice');
746
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
747
  /**
748
  * Request our plugin users to write a review
749
  **/
@@ -3707,7 +3724,7 @@ function woosea_license_valid(){
3707
 
3708
  if(!empty($license_information['license_key'])){
3709
  $curl = curl_init();
3710
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.2.5";
3711
 
3712
  curl_setopt_array($curl, array(
3713
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.2.6
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.6' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
725
  register_activation_hook(__FILE__, 'activate_woosea_feed');
726
 
727
  /**
728
+ * Close the license notification
729
  **/
730
  function woosea_license_notice(){
731
  $license_information = get_option( 'license_information' );
744
  }
745
  add_action('admin_notices', 'woosea_license_notice');
746
 
747
+ /**
748
+ * Close the get Elite notification
749
+ **/
750
+ function woosea_getelite_notification(){
751
+
752
+ //delete_option('woosea_getelite_notification');
753
+
754
+ $get_elite_notice = array(
755
+ "show" => "no",
756
+ "timestamp" => date( 'd-m-Y' )
757
+ );
758
+
759
+ update_option('woosea_getelite_notification',$get_elite_notice);
760
+ }
761
+ add_action( 'wp_ajax_woosea_getelite_notification', 'woosea_getelite_notification' );
762
+
763
+
764
  /**
765
  * Request our plugin users to write a review
766
  **/
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.6";
3728
 
3729
  curl_setopt_array($curl, array(
3730
  CURLOPT_RETURNTRANSFER => 1,