Product Feed PRO for WooCommerce - Version 12.0.1

Version Description

Fixed an issue with the sale_price_effective_date which was empty

Download this release

Release Info

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

Code changes from version 12.0.0 to 12.0.1

classes/class-get-products.php CHANGED
@@ -2901,10 +2901,14 @@ class WooSEA_Get_Products {
2901
  if(isset($project_config['WCML'])){
2902
  $product_data['currency'] = $project_config['WCML'];
2903
  }
2904
- $product_data['sale_price_start_date'] = $this->get_sale_date($this->childID, "_sale_price_dates_from");
2905
- $product_data['sale_price_end_date'] = $this->get_sale_date($this->childID, "_sale_price_dates_to");
2906
- $product_data['sale_price_effective_date'] = $product_data['sale_price_start_date'] ."/".$product_data['sale_price_end_date'];
2907
- if($product_data['sale_price_effective_date'] == "/"){
 
 
 
 
2908
  $product_data['sale_price_effective_date'] = "";
2909
  }
2910
 
2901
  if(isset($project_config['WCML'])){
2902
  $product_data['currency'] = $project_config['WCML'];
2903
  }
2904
+
2905
+ $sales_price_from = get_post_meta( $product_data['id'], '_sale_price_dates_from', true );
2906
+ $sales_price_to = get_post_meta( $product_data['id'], '_sale_price_dates_to', true );
2907
+ if(!empty($sales_price_from) AND !empty($sales_price_to)){
2908
+ $sales_price_date_from = date( "Y-m-d", $sales_price_from );
2909
+ $sales_price_date_to = date( "Y-m-d", $sales_price_to );
2910
+ $product_data['sale_price_effective_date'] = $sales_price_date_from ."/".$sales_price_date_to;
2911
+ } else {
2912
  $product_data['sale_price_effective_date'] = "";
2913
  }
2914
 
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=12.0.0',
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=12.0.1',
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, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.1
8
- Stable tag: 12.0.0
9
 
10
  == Description ==
11
 
@@ -340,6 +340,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
340
 
341
  === Changelog ===
342
 
 
 
 
343
  = 12.0.0 (2022-11-15) =
344
  * Added a created timestamp to Skroutz XML feeds
345
  * Fixed an issue that resulted in a fatal error, added is array check
@@ -3834,6 +3837,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3834
 
3835
  == Upgrade Notice ==
3836
 
 
 
 
3837
  = 12.0.0 =
3838
  * Added a created timestamp to Skroutz XML feeds
3839
  * Fixed an issue that resulted in a fatal error, added is array check
5
  Tags: Google Shopping Feed, Facebook feed, Facebook catalog feed, WooCommerce Product Feed, Product Feed, Bing Shopping Feed, Bing Product Feed, Google Merchant Feed, Skroutz, Google Product Feed, Pinterest, Idealo, Pixels, Conversion API
6
  Requires at least: 4.5
7
  Tested up to: 6.1
8
+ Stable tag: 12.0.1
9
 
10
  == Description ==
11
 
340
 
341
  === Changelog ===
342
 
343
+ = 12.0.1 (2022-11-20) =
344
+ * Fixed an issue with the sale_price_effective_date which was empty
345
+
346
  = 12.0.0 (2022-11-15) =
347
  * Added a created timestamp to Skroutz XML feeds
348
  * Fixed an issue that resulted in a fatal error, added is array check
3837
 
3838
  == Upgrade Notice ==
3839
 
3840
+ = 12.0.1 =
3841
+ Fixed an issue with the sale_price_effective_date which was empty
3842
+
3843
  = 12.0.0 =
3844
  * Added a created timestamp to Skroutz XML feeds
3845
  * Fixed an issue that resulted in a fatal error, added is array check
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 12.0.0
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, Catalog managers, Remarketing, Bing, Skroutz, 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', '12.0.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 12.0.1
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, Catalog managers, Remarketing, Bing, Skroutz, 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', '12.0.1' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54