Product Feed PRO for WooCommerce - Version 11.8.2

Version Description

When the availability date field mapping has been added it will only be added to products that are on backorder. Not to any other products.

Download this release

Release Info

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

Code changes from version 11.8.1 to 11.8.2

classes/class-get-products.php CHANGED
@@ -2851,12 +2851,14 @@ class WooSEA_Get_Products {
2851
  }
2852
  }
2853
 
2854
- // Create future availability dates
2855
- $product_data['availability_date_plus1week'] = date('Y-m-d', strtotime('+1 week'));
2856
- $product_data['availability_date_plus2week'] = date('Y-m-d', strtotime('+2 week'));
2857
- $product_data['availability_date_plus3week'] = date('Y-m-d', strtotime('+3 week'));
2858
- $product_data['availability_date_plus4week'] = date('Y-m-d', strtotime('+4 week'));
2859
- $product_data['availability_date_plus5week'] = date('Y-m-d', strtotime('+5 week'));
 
 
2860
 
2861
  $product_data['author'] = get_the_author();
2862
  $product_data['quantity'] = $this->clean_quantity( $this->childID, "_stock" );
2851
  }
2852
  }
2853
 
2854
+ // Create future availability dates
2855
+ if($stock_status == "onbackorder"){
2856
+ $product_data['availability_date_plus1week'] = date('Y-m-d', strtotime('+1 week'));
2857
+ $product_data['availability_date_plus2week'] = date('Y-m-d', strtotime('+2 week'));
2858
+ $product_data['availability_date_plus3week'] = date('Y-m-d', strtotime('+3 week'));
2859
+ $product_data['availability_date_plus4week'] = date('Y-m-d', strtotime('+4 week'));
2860
+ $product_data['availability_date_plus5week'] = date('Y-m-d', strtotime('+5 week'));
2861
+ }
2862
 
2863
  $product_data['author'] = get_the_author();
2864
  $product_data['quantity'] = $this->clean_quantity( $this->childID, "_stock" );
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.8.1',
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.8.2',
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.0
8
- Stable tag: 11.8.1
9
 
10
  == Description ==
11
 
@@ -345,6 +345,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
345
 
346
  === Changelog ===
347
 
 
 
 
348
  = 11.8.1 (2022-08-11) =
349
  * Added 5 attributes to create availability dates in the future for products that are on backorder
350
 
@@ -3776,6 +3779,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
3776
 
3777
  == Upgrade Notice ==
3778
 
 
 
 
3779
  = 11.8.1 =
3780
  Added 5 attributes to create availability dates in the future for products that are on backorder
3781
 
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.0
8
+ Stable tag: 11.8.2
9
 
10
  == Description ==
11
 
345
 
346
  === Changelog ===
347
 
348
+ = 11.8.2 (2022-08-13) =
349
+ * When the availability date field mapping has been added it will only be added to products that are on backorder. Not to any other products.
350
+
351
  = 11.8.1 (2022-08-11) =
352
  * Added 5 attributes to create availability dates in the future for products that are on backorder
353
 
3779
 
3780
  == Upgrade Notice ==
3781
 
3782
+ = 11.8.2 =
3783
+ When the availability date field mapping has been added it will only be added to products that are on backorder. Not to any other products.
3784
+
3785
  = 11.8.1 =
3786
  Added 5 attributes to create availability dates in the future for products that are on backorder
3787
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 11.8.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,7 +48,7 @@ if (!defined('ABSPATH')) {
48
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
- define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '11.8.1' );
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: 11.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, 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', '11.8.2' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54