Version Description
Checked for compatibility with WooCommerce 6.3 Fixed a rounding error which one does on strings instead of int|floats
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 11.3.9 |
Comparing to | |
See all releases |
Code changes from version 11.3.8 to 11.3.9
- js/woosea_key.js +1 -1
- readme.txt +9 -1
- woocommerce-sea.php +9 -5
js/woosea_key.js
CHANGED
@@ -26,7 +26,7 @@ jQuery(document).ready(function($) {
|
|
26 |
var license_key = $('#license-key').val();
|
27 |
|
28 |
jQuery.ajax({
|
29 |
-
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.3.
|
30 |
jsonp: 'callback',
|
31 |
dataType: 'jsonp',
|
32 |
type: 'GET',
|
26 |
var license_key = $('#license-key').val();
|
27 |
|
28 |
jQuery.ajax({
|
29 |
+
url: 'https://www.adtribes.io/check/license.php?key=' + license_key + '&email=' + license_email + '&domain=' + root_domain + '&version=11.3.9',
|
30 |
jsonp: 'callback',
|
31 |
dataType: 'jsonp',
|
32 |
type: 'GET',
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ License URI: http://www.gnu.org/licenses/gpl.html
|
|
5 |
Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.9
|
8 |
-
Stable tag: 11.3.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -337,6 +337,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
337 |
|
338 |
=== Changelog ===
|
339 |
|
|
|
|
|
|
|
|
|
340 |
= 11.3.8 (2022-03-07) =
|
341 |
* Added the new custom number fields to the Facebook / Instragram template
|
342 |
|
@@ -3635,6 +3639,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
3635 |
|
3636 |
== Upgrade Notice ==
|
3637 |
|
|
|
|
|
|
|
|
|
3638 |
= 11.3.8 =
|
3639 |
Added the new custom number fields to the Facebook / Instragram template
|
3640 |
|
5 |
Tags: Google Shopping Feed, WooCommerce Product Feed, Facebook Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Facebook Pixel, Facebook Conversion API
|
6 |
Requires at least: 4.5
|
7 |
Tested up to: 5.9
|
8 |
+
Stable tag: 11.3.9
|
9 |
|
10 |
== Description ==
|
11 |
|
337 |
|
338 |
=== Changelog ===
|
339 |
|
340 |
+
= 11.3.9 (2022-03-10) =
|
341 |
+
* Checked for compatibility with WooCommerce 6.3
|
342 |
+
* Fixed a rounding error which one does on strings instead of int|floats
|
343 |
+
|
344 |
= 11.3.8 (2022-03-07) =
|
345 |
* Added the new custom number fields to the Facebook / Instragram template
|
346 |
|
3639 |
|
3640 |
== Upgrade Notice ==
|
3641 |
|
3642 |
+
= 11.3.9 =
|
3643 |
+
Checked for compatibility with WooCommerce 6.3
|
3644 |
+
Fixed a rounding error which one does on strings instead of int|floats
|
3645 |
+
|
3646 |
= 11.3.8 =
|
3647 |
Added the new custom number fields to the Facebook / Instragram template
|
3648 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 11.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, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
|
7 |
* Author: AdTribes.io
|
@@ -17,7 +17,7 @@
|
|
17 |
* Domain Path: /languages
|
18 |
*
|
19 |
* WC requires at least: 4.4
|
20 |
-
* WC tested up to: 6.
|
21 |
*
|
22 |
* Product Feed PRO for WooCommerce is free software: you can redistribute it and/or modify
|
23 |
* it under the terms of the GNU General Public License as published by
|
@@ -48,7 +48,7 @@ if (!defined('ABSPATH')) {
|
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
-
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.3.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -1408,8 +1408,12 @@ function woosea_product_delete_meta_price( $product = null ) {
|
|
1408 |
// This is a variation product page but no variation has been selected. WooCommerce always shows the price of the lowest priced
|
1409 |
// variation product. That is why we also put this in the JSON
|
1410 |
// When there are no parameters in the URL (so for normal users, not coming via Google Shopping URL's) show the old WooCommwerce JSON
|
1411 |
-
$product_price =
|
1412 |
-
|
|
|
|
|
|
|
|
|
1413 |
|
1414 |
$markup_offer += array(
|
1415 |
'@type' => 'Offer',
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 11.3.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, Skroutz, Yandex, Comparison shopping websites and over a 100 channels more.
|
7 |
* Author: AdTribes.io
|
17 |
* Domain Path: /languages
|
18 |
*
|
19 |
* WC requires at least: 4.4
|
20 |
+
* WC tested up to: 6.3
|
21 |
*
|
22 |
* Product Feed PRO for WooCommerce is free software: you can redistribute it and/or modify
|
23 |
* it under the terms of the GNU General Public License as published by
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.3.9' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
1408 |
// This is a variation product page but no variation has been selected. WooCommerce always shows the price of the lowest priced
|
1409 |
// variation product. That is why we also put this in the JSON
|
1410 |
// When there are no parameters in the URL (so for normal users, not coming via Google Shopping URL's) show the old WooCommwerce JSON
|
1411 |
+
$product_price = wc_get_price_to_display($product);
|
1412 |
+
if(!is_string){
|
1413 |
+
$product_price = round($product_price,2);
|
1414 |
+
}
|
1415 |
+
|
1416 |
+
$price_valid_until = date( 'Y-12-31', current_time( 'timestamp', true ) + YEAR_IN_SECONDS );
|
1417 |
|
1418 |
$markup_offer += array(
|
1419 |
'@type' => 'Offer',
|