Product Feed PRO for WooCommerce - Version 7.8.3

Version Description

Added some Facebook pixel debug logging

Download this release

Release Info

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

Code changes from version 7.8.2 to 7.8.3

Files changed (4) hide show
  1. js/woosea_add_cart.js +10 -3
  2. js/woosea_key.js +1 -1
  3. readme.txt +7 -1
  4. woocommerce-sea.php +4 -3
js/woosea_add_cart.js CHANGED
@@ -44,6 +44,9 @@ jQuery(document).ready(function($) {
44
  $(".add_to_cart_button").click(function(){
45
  var productId = $(this).attr('data-product_id');
46
 
 
 
 
47
  // Ajax frontend
48
  var inputdata = {
49
  'action': 'woosea_addtocart_details',
@@ -53,7 +56,7 @@ jQuery(document).ready(function($) {
53
 
54
  $.post(frontEndAjax.ajaxurl, inputdata, function( response ) {
55
  fbq('track', 'AddToCart', {
56
- content_ids: response.product_id,
57
  content_name: response.product_name,
58
  content_category: response.product_cats,
59
  content_type: 'product',
@@ -67,21 +70,25 @@ jQuery(document).ready(function($) {
67
  $(".single_add_to_cart_button").click(function(){
68
  var productId = $('input[name=product_id]').val();
69
 
 
 
70
  if(!productId){
71
  productId = $(this).attr('value');
72
  }
73
 
 
 
74
  // Ajax frontend
75
  var inputdata = {
76
  'action': 'woosea_addtocart_details',
77
  'data_to_pass': productId,
78
  'nonce': frontEndAjax.nonce
79
  }
80
-
81
  $.post(frontEndAjax.ajaxurl, inputdata, function( response ) {
82
 
83
  fbq('track', 'AddToCart', {
84
- content_ids: response.product_id,
85
  content_name: response.product_name,
86
  content_category: response.product_cats,
87
  content_type: 'product',
44
  $(".add_to_cart_button").click(function(){
45
  var productId = $(this).attr('data-product_id');
46
 
47
+ console.log("Facebook Pixel by AdTribes.io - 1");
48
+ console.log(productId);
49
+
50
  // Ajax frontend
51
  var inputdata = {
52
  'action': 'woosea_addtocart_details',
56
 
57
  $.post(frontEndAjax.ajaxurl, inputdata, function( response ) {
58
  fbq('track', 'AddToCart', {
59
+ content_ids: "['" + response.product_id + "']",
60
  content_name: response.product_name,
61
  content_category: response.product_cats,
62
  content_type: 'product',
70
  $(".single_add_to_cart_button").click(function(){
71
  var productId = $('input[name=product_id]').val();
72
 
73
+ console.log("Facebook Pixel by AdTribes.io - 2");
74
+
75
  if(!productId){
76
  productId = $(this).attr('value');
77
  }
78
 
79
+ console.log(productId);
80
+
81
  // Ajax frontend
82
  var inputdata = {
83
  'action': 'woosea_addtocart_details',
84
  'data_to_pass': productId,
85
  'nonce': frontEndAjax.nonce
86
  }
87
+
88
  $.post(frontEndAjax.ajaxurl, inputdata, function( response ) {
89
 
90
  fbq('track', 'AddToCart', {
91
+ content_ids: "['" + response.product_id + "']",
92
  content_name: response.product_name,
93
  content_category: response.product_cats,
94
  content_type: 'product',
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.8.2',
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.8.3',
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.8.2
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.8.2 (2020-03-29) =
316
  * Fixed an issue with adding free shipping costs to feeds.
317
 
@@ -2489,6 +2492,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2489
 
2490
  == Upgrade Notice ==
2491
 
 
 
 
2492
  = 7.8.2 =
2493
  Fixed an issue with adding free shipping costs to feeds.
2494
 
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.8.3
9
 
10
  == Description ==
11
 
312
 
313
  === Changelog ===
314
 
315
+ = 7.8.3 (2020-03-31) =
316
+ * Added some Facebook pixel debug logging
317
+
318
  = 7.8.2 (2020-03-29) =
319
  * Fixed an issue with adding free shipping costs to feeds.
320
 
2492
 
2493
  == Upgrade Notice ==
2494
 
2495
+ = 7.8.3 =
2496
+ Added some Facebook pixel debug logging
2497
+
2498
  = 7.8.2 =
2499
  Fixed an issue with adding free shipping costs to feeds.
2500
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.8.2
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.8.2' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -562,6 +562,7 @@ function woosea_add_facebook_pixel( $product = null ){
562
  the content of the content_ids parameter in the Facebook Pixel Code
563
  ------------------------------------------------------------------------------->
564
  <script type="text/javascript">
 
565
  !function(f,b,e,v,n,t,s)
566
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
567
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
@@ -4239,7 +4240,7 @@ function woosea_license_valid(){
4239
 
4240
  if(!empty($license_information['license_key'])){
4241
  $curl = curl_init();
4242
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.8.2";
4243
 
4244
  curl_setopt_array($curl, array(
4245
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.8.3
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.8.3' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
562
  the content of the content_ids parameter in the Facebook Pixel Code
563
  ------------------------------------------------------------------------------->
564
  <script type="text/javascript">
565
+ console.log("Facebook Pixel by AdTribes.io - 3");
566
  !function(f,b,e,v,n,t,s)
567
  {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
568
  n.callMethod.apply(n,arguments):n.queue.push(arguments)};
4240
 
4241
  if(!empty($license_information['license_key'])){
4242
  $curl = curl_init();
4243
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.8.3";
4244
 
4245
  curl_setopt_array($curl, array(
4246
  CURLOPT_RETURNTRANSFER => 1,