Product Feed PRO for WooCommerce - Version 9.0.9

Version Description

Added support for the official WooCommerce Subscriptions plugin

Download this release

Release Info

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

Code changes from version 9.0.8 to 9.0.9

classes/class-get-products.php CHANGED
@@ -2532,7 +2532,7 @@ class WooSEA_Get_Products {
2532
  $product_data['sale_price_forced'] = $discount*($fullrate/100);
2533
  } else {
2534
  $product_data['net_sale_price'] = $discount;
2535
- $product_data['sale_price_forced'] = $discount*($fullrate/100);
2536
  }
2537
  }
2538
  }
@@ -2807,7 +2807,7 @@ class WooSEA_Get_Products {
2807
  /**
2808
  * Get Custom Attributes for Single, Bundled and Composite products
2809
  */
2810
- if (($product->is_type('simple')) OR ($product->is_type('mix-and-match')) OR ($product->is_type('external')) OR ($product->is_type('bundle')) OR ($product->is_type('composite')) OR ($product_data['product_type'] == "variable") OR ($product_data['product_type'] == "auction")){
2811
  $custom_attributes = $this->get_custom_attributes( $product_data['id'] );
2812
 
2813
  if(!in_array("woosea optimized title", $custom_attributes)){
@@ -2893,7 +2893,7 @@ class WooSEA_Get_Products {
2893
  /**
2894
  * Get Product Attributes for Single products
2895
  */
2896
- if (($product->is_type('simple')) OR ($product->is_type('external')) OR ($product->is_type('mix-and-match')) OR ($product->is_type('bundle')) OR ($product->is_type('composite')) OR ($product->is_type('auction'))){
2897
  $single_attributes = $product->get_attributes();
2898
 
2899
  foreach ($single_attributes as $attribute){
@@ -2921,7 +2921,7 @@ class WooSEA_Get_Products {
2921
  */
2922
  $variation_pass = "true";
2923
 
2924
- if( ($product_data['item_group_id'] > 0) AND (is_object(wc_get_product( $product_data['item_group_id']))) AND ($product_data['product_type'] == "variation")){
2925
 
2926
  $product_variations = new WC_Product_Variation( $product_data['id'] );
2927
  $variations = $product_variations->get_variation_attributes();
2532
  $product_data['sale_price_forced'] = $discount*($fullrate/100);
2533
  } else {
2534
  $product_data['net_sale_price'] = $discount;
2535
+ $product_data['sale_price_forced'] = round($discount*($fullrate/100),2);
2536
  }
2537
  }
2538
  }
2807
  /**
2808
  * Get Custom Attributes for Single, Bundled and Composite products
2809
  */
2810
+ if (($product->is_type('simple')) OR ($product->is_type('mix-and-match')) OR ($product->is_type('external')) OR ($product->is_type('bundle')) OR ($product->is_type('composite')) OR ($product_data['product_type'] == "variable") OR ($product_data['product_type'] == "auction") OR ($product->is_type('subscription'))){
2811
  $custom_attributes = $this->get_custom_attributes( $product_data['id'] );
2812
 
2813
  if(!in_array("woosea optimized title", $custom_attributes)){
2893
  /**
2894
  * Get Product Attributes for Single products
2895
  */
2896
+ if (($product->is_type('simple')) OR ($product->is_type('external')) OR ($product->is_type('mix-and-match')) OR ($product->is_type('bundle')) OR ($product->is_type('composite')) OR ($product->is_type('auction') OR ($product->is_type('subscription')))){
2897
  $single_attributes = $product->get_attributes();
2898
 
2899
  foreach ($single_attributes as $attribute){
2921
  */
2922
  $variation_pass = "true";
2923
 
2924
+ if( ($product_data['item_group_id'] > 0) AND (is_object(wc_get_product( $product_data['item_group_id']))) AND (($product_data['product_type'] == "variation") OR ($product_data['product_type'] == "subscription_variation"))){
2925
 
2926
  $product_variations = new WC_Product_Variation( $product_data['id'] );
2927
  $variations = $product_variations->get_variation_attributes();
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=9.0.8',
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=9.0.9',
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.5
8
- Stable tag: 9.0.8
9
 
10
  == Description ==
11
 
@@ -129,6 +129,7 @@ Our plugin supports Polylang
129
  * Supports Yith brand attributes
130
  * Supports the official "WooCommerce Product Bundles" plugin
131
  * Supports the official "WooCommerce Composite Products" plugin
 
132
  * Supports the official "WooCommerce Mix & Match Products" plugin
133
  * Supports WooCommerce Dynamic Pricing & Discounts from RightPress
134
  * Supports the Discount Rules for WooCommerce plugin from FlyCart
@@ -321,6 +322,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
321
 
322
  === Changelog ===
323
 
 
 
 
324
  = 9.0.8 (2020-11-12) =
325
  * Fixed an issue where VAT was not added to the sale price for WooCommerce FlyCart discount rules
326
 
@@ -2894,6 +2898,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2894
 
2895
  == Upgrade Notice ==
2896
 
 
 
 
2897
  = 9.0.8 =
2898
  Fixed an issue where VAT was not added to the sale price for WooCommerce FlyCart discount rules
2899
 
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.5
8
+ Stable tag: 9.0.9
9
 
10
  == Description ==
11
 
129
  * Supports Yith brand attributes
130
  * Supports the official "WooCommerce Product Bundles" plugin
131
  * Supports the official "WooCommerce Composite Products" plugin
132
+ * Supports the official "WooCommerce Subscriptions" plugin
133
  * Supports the official "WooCommerce Mix & Match Products" plugin
134
  * Supports WooCommerce Dynamic Pricing & Discounts from RightPress
135
  * Supports the Discount Rules for WooCommerce plugin from FlyCart
322
 
323
  === Changelog ===
324
 
325
+ = 9.0.9 (2020-11-13) =
326
+ * Added support for the official WooCommerce Subscriptions plugin
327
+
328
  = 9.0.8 (2020-11-12) =
329
  * Fixed an issue where VAT was not added to the sale price for WooCommerce FlyCart discount rules
330
 
2898
 
2899
  == Upgrade Notice ==
2900
 
2901
+ = 9.0.9 =
2902
+ Added support for the official WooCommerce Subscriptions plugin
2903
+
2904
  = 9.0.8 =
2905
  Fixed an issue where VAT was not added to the sale price for WooCommerce FlyCart discount rules
2906
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 9.0.8
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', '9.0.8' );
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: 9.0.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
  * Plugin versionnumber, please do not override.
49
  * Define some constants
50
  */
51
+ define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '9.0.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54