Product Feed PRO for WooCommerce - Version 7.3.8

Version Description

Fixed a Facebook pixel issue for the search page where for some theme's the search broke when no search results were returned.

Download this release

Release Info

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

Code changes from version 7.3.7 to 7.3.8

Files changed (3) hide show
  1. js/woosea_key.js +1 -1
  2. readme.txt +7 -1
  3. woocommerce-sea.php +8 -6
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.3.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.3.8',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
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.3.7
9
 
10
  == Description ==
11
 
@@ -312,6 +312,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
312
 
313
  === Changelog ===
314
 
 
 
 
315
  = 7.3.7 (2020-02-04) =
316
  * Added JSON priceSpecification
317
  * Fixed a fatal error where users added a flat rate shipping zone but forgot to set a shipping country. This issue has been fixed now.
@@ -2341,6 +2344,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2341
 
2342
  == Upgrade Notice ==
2343
 
 
 
 
2344
  = 7.3.7 =
2345
  Added JSON priceSpecification
2346
  Fixed a fatal error where users added a flat rate shipping zone but forgot to set a shipping country. This issue has been fixed now.
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.3.8
9
 
10
  == Description ==
11
 
312
 
313
  === Changelog ===
314
 
315
+ = 7.3.8 (2020-02-05) =
316
+ * Fixed a Facebook pixel issue for the search page where for some theme's the search broke when no search results were returned.
317
+
318
  = 7.3.7 (2020-02-04) =
319
  * Added JSON priceSpecification
320
  * Fixed a fatal error where users added a flat rate shipping zone but forgot to set a shipping country. This issue has been fixed now.
2344
 
2345
  == Upgrade Notice ==
2346
 
2347
+ = 7.3.8 =
2348
+ Fixed a Facebook pixel issue for the search page where for some theme's the search broke when no search results were returned.
2349
+
2350
  = 7.3.7 =
2351
  Added JSON priceSpecification
2352
  Fixed a fatal error where users added a flat rate shipping zone but forgot to set a shipping country. This issue has been fixed now.
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.3.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.3.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -521,7 +521,9 @@ function woosea_add_facebook_pixel( $product = null ){
521
 
522
  foreach ($ids as $id){
523
  $_product = wc_get_product($id);
524
- if($_product->is_type('simple')){
 
 
525
  // Add the simple product ID
526
  $fb_prodid .= $id.',';
527
  } else {
@@ -731,7 +733,7 @@ register_activation_hook(__FILE__, 'activate_woosea_feed');
731
  **/
732
  function woosea_license_notice(){
733
  $license_information = get_option( 'license_information' );
734
- $license_notification = get_option( 'woosea_license_notification_closed' );
735
  $screen = get_current_screen();
736
  $current_date = strtotime(date( 'd-m-Y' ));
737
  $off_date = strtotime($license_notification['timestamp']);
@@ -750,7 +752,7 @@ function woosea_license_notice(){
750
 
751
  if (!preg_match("/woo-product-feed-pro|woosea_manage_feed|woosea_manage_settings/i",$page)){
752
 
753
- if((isset($license_information['notice'])) and ($license_information['notice'] == "true") and ($license_notification['show'] == "yes")){
754
  ?>
755
  <div class="<?php print "$license_information[message_type]"; ?> license_notification">
756
  <p><?php _e( $license_information['message'], 'sample-text-domain' ); ?></p>
@@ -3795,7 +3797,7 @@ function woosea_license_valid(){
3795
 
3796
  if(!empty($license_information['license_key'])){
3797
  $curl = curl_init();
3798
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.3.6";
3799
 
3800
  curl_setopt_array($curl, array(
3801
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.3.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.3.8' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
521
 
522
  foreach ($ids as $id){
523
  $_product = wc_get_product($id);
524
+ $ptype = $_product->get_type();
525
+
526
+ if($ptype == "simple"){
527
  // Add the simple product ID
528
  $fb_prodid .= $id.',';
529
  } else {
733
  **/
734
  function woosea_license_notice(){
735
  $license_information = get_option( 'license_information' );
736
+ $license_notification = get_option( 'woosea_license_notification_closed' );
737
  $screen = get_current_screen();
738
  $current_date = strtotime(date( 'd-m-Y' ));
739
  $off_date = strtotime($license_notification['timestamp']);
752
 
753
  if (!preg_match("/woo-product-feed-pro|woosea_manage_feed|woosea_manage_settings/i",$page)){
754
 
755
+ if($license_notification['show'] <> "no"){
756
  ?>
757
  <div class="<?php print "$license_information[message_type]"; ?> license_notification">
758
  <p><?php _e( $license_information['message'], 'sample-text-domain' ); ?></p>
3797
 
3798
  if(!empty($license_information['license_key'])){
3799
  $curl = curl_init();
3800
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.3.8";
3801
 
3802
  curl_setopt_array($curl, array(
3803
  CURLOPT_RETURNTRANSFER => 1,