Version Description
Removed double Facebook Pixel Purchase event for the eWay Gateway
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.9.7 |
Comparing to | |
See all releases |
Code changes from version 7.9.6 to 7.9.7
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +7 -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.9.
|
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.9.7',
|
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.4
|
8 |
-
Stable tag: 7.9.
|
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.9.6 (2020-04-17) =
|
316 |
* Build in a check that prevents the plugin from crashing in ghost variation products
|
317 |
|
@@ -2534,6 +2537,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2534 |
|
2535 |
== Upgrade Notice ==
|
2536 |
|
|
|
|
|
|
|
2537 |
= 7.9.6 =
|
2538 |
Build in a check that prevents the plugin from crashing in ghost variation products
|
2539 |
|
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.4
|
8 |
+
Stable tag: 7.9.7
|
9 |
|
10 |
== Description ==
|
11 |
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
315 |
+
= 7.9.7 (2020-04-18) =
|
316 |
+
* Removed double Facebook Pixel Purchase event for the eWay Gateway
|
317 |
+
|
318 |
= 7.9.6 (2020-04-17) =
|
319 |
* Build in a check that prevents the plugin from crashing in ghost variation products
|
320 |
|
2537 |
|
2538 |
== Upgrade Notice ==
|
2539 |
|
2540 |
+
= 7.9.7 =
|
2541 |
+
Removed double Facebook Pixel Purchase event for the eWay Gateway
|
2542 |
+
|
2543 |
= 7.9.6 =
|
2544 |
Build in a check that prevents the plugin from crashing in ghost variation products
|
2545 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 7.9.
|
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.9.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -442,7 +442,8 @@ function woosea_add_facebook_pixel( $product = null ){
|
|
442 |
} elseif ($fb_pagetype == "cart"){
|
443 |
|
444 |
// This is on the order thank you page
|
445 |
-
if(!empty($_GET)){
|
|
|
446 |
$order_string = sanitize_text_field($_GET['key']);
|
447 |
if(!empty($order_string)){
|
448 |
$order_id = wc_get_order_id_by_order_key( $order_string );
|
@@ -460,11 +461,11 @@ function woosea_add_facebook_pixel( $product = null ){
|
|
460 |
$order_subtotal = $order_item->get_subtotal();
|
461 |
$order_subtotal_tax= $order_item->get_subtotal_tax();
|
462 |
$order_real = number_format(($order_subtotal+$order_subtotal_tax),2)+$order_real;
|
463 |
-
$contents .= "{id: '$prod_id', quantity: $prod_quantity},";
|
464 |
}
|
465 |
}
|
466 |
$contents = rtrim($contents, ",");
|
467 |
-
$viewContent = "fbq(
|
468 |
}
|
469 |
} else {
|
470 |
// This is on the cart page itself
|
@@ -4273,7 +4274,7 @@ function woosea_license_valid(){
|
|
4273 |
|
4274 |
if(!empty($license_information['license_key'])){
|
4275 |
$curl = curl_init();
|
4276 |
-
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.9.
|
4277 |
|
4278 |
curl_setopt_array($curl, array(
|
4279 |
CURLOPT_RETURNTRANSFER => 1,
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 7.9.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 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.9.7' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
442 |
} elseif ($fb_pagetype == "cart"){
|
443 |
|
444 |
// This is on the order thank you page
|
445 |
+
// if(!empty($_GET)){
|
446 |
+
if( isset( $_GET['key'] ) && is_wc_endpoint_url( 'order-received' ) ) {
|
447 |
$order_string = sanitize_text_field($_GET['key']);
|
448 |
if(!empty($order_string)){
|
449 |
$order_id = wc_get_order_id_by_order_key( $order_string );
|
461 |
$order_subtotal = $order_item->get_subtotal();
|
462 |
$order_subtotal_tax= $order_item->get_subtotal_tax();
|
463 |
$order_real = number_format(($order_subtotal+$order_subtotal_tax),2)+$order_real;
|
464 |
+
$contents .= "{'id': '$prod_id', 'quantity': $prod_quantity},";
|
465 |
}
|
466 |
}
|
467 |
$contents = rtrim($contents, ",");
|
468 |
+
$viewContent = "fbq('track','Purchase',{currency:'$currency', value:'$order_real', content_type:'product', contents:[$contents]});";
|
469 |
}
|
470 |
} else {
|
471 |
// This is on the cart page itself
|
4274 |
|
4275 |
if(!empty($license_information['license_key'])){
|
4276 |
$curl = curl_init();
|
4277 |
+
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.9.7";
|
4278 |
|
4279 |
curl_setopt_array($curl, array(
|
4280 |
CURLOPT_RETURNTRANSFER => 1,
|