Product Feed PRO for WooCommerce - Version 8.8.9

Version Description

Added support for the WooCommerce Mix & Match plugin

Download this release

Release Info

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

Code changes from version 8.8.8 to 8.8.9

classes/class-get-products.php CHANGED
@@ -2009,7 +2009,7 @@ class WooSEA_Get_Products {
2009
  if($status != "publish") { continue; }
2010
 
2011
  $product_data['id'] = get_the_ID();
2012
-
2013
  // Only products that have been sold are allowed to go through
2014
  if(isset($project_config['total_product_orders_lookback'])){
2015
  if($project_config['total_product_orders_lookback'] > 0){
@@ -2227,9 +2227,6 @@ class WooSEA_Get_Products {
2227
  // Raw descriptions, unfiltered
2228
  $product_data['raw_description'] = do_shortcode(wpautop($post->post_content));
2229
  $product_data['raw_short_description'] = do_shortcode(wpautop($post->post_excerpt));
2230
- // if ( $product_data['raw_description'] != strip_tags($product_data['raw_description']) ) {
2231
- // $product_data['raw_description'] = $this->woosea_append_cdata($product_data['raw_description']);
2232
- // }
2233
 
2234
  $product_data['description'] = html_entity_decode((str_replace("\r", "", $post->post_content)), ENT_QUOTES | ENT_XML1, 'UTF-8');
2235
  $product_data['short_description'] = html_entity_decode((str_replace("\r", "", $post->post_excerpt)), ENT_QUOTES | ENT_XML1, 'UTF-8');
@@ -2345,6 +2342,7 @@ class WooSEA_Get_Products {
2345
  $product_data['all_images'] = ltrim($product_data['all_images'],',');
2346
  $product_data['all_gallery_images'] = ltrim($product_data['all_gallery_images'],',');
2347
  $product_data['product_type'] = $product->get_type();
 
2348
  $product_data['content_type'] = "product";
2349
  if($product_data['product_type'] == "variation"){
2350
  $product_data['content_type'] = "product_group";
@@ -2360,7 +2358,6 @@ class WooSEA_Get_Products {
2360
  $product_data['shipping'] = 0;
2361
  $tax_rates = WC_Tax::get_base_tax_rates( $product->get_tax_class() );
2362
  $shipping_class_id = $product->get_shipping_class_id();
2363
-
2364
  $shipping_class= $product->get_shipping_class();
2365
 
2366
  $class_cost_id = "class_cost_".$shipping_class_id;
@@ -2441,7 +2438,7 @@ class WooSEA_Get_Products {
2441
 
2442
  $fullrate = 100+$tax_rates[1]['rate'];
2443
 
2444
- // Override price when bundled product
2445
  if(($product->get_type() == "bundle") OR ($product->get_type() == "composite")){
2446
  $meta = get_post_meta($product_data['id']);
2447
  if($product->get_type() == "bundle"){
@@ -2755,7 +2752,7 @@ class WooSEA_Get_Products {
2755
  /**
2756
  * Get Custom Attributes for Single, Bundled and Composite products
2757
  */
2758
- if (($product->is_type('simple')) 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")){
2759
  $custom_attributes = $this->get_custom_attributes( $product_data['id'] );
2760
 
2761
  if(!in_array("woosea optimized title", $custom_attributes)){
@@ -2770,7 +2767,6 @@ class WooSEA_Get_Products {
2770
  $custom_attributes['_aioseop_description'] = "All in one seo pack description";
2771
  }
2772
 
2773
-
2774
  foreach($custom_attributes as $custom_kk => $custom_vv){
2775
  $custom_value = get_post_meta( $product_data['id'], $custom_kk, true );
2776
  $new_key ="custom_attributes_" . $custom_kk;
@@ -2841,7 +2837,7 @@ class WooSEA_Get_Products {
2841
  /**
2842
  * Get Product Attributes for Single products
2843
  */
2844
- if (($product->is_type('simple')) OR ($product->is_type('external')) OR ($product->is_type('bundle')) OR ($product->is_type('composite') OR ($product->is_type('auction')))){
2845
  $single_attributes = $product->get_attributes();
2846
 
2847
  foreach ($single_attributes as $attribute){
2009
  if($status != "publish") { continue; }
2010
 
2011
  $product_data['id'] = get_the_ID();
2012
+
2013
  // Only products that have been sold are allowed to go through
2014
  if(isset($project_config['total_product_orders_lookback'])){
2015
  if($project_config['total_product_orders_lookback'] > 0){
2227
  // Raw descriptions, unfiltered
2228
  $product_data['raw_description'] = do_shortcode(wpautop($post->post_content));
2229
  $product_data['raw_short_description'] = do_shortcode(wpautop($post->post_excerpt));
 
 
 
2230
 
2231
  $product_data['description'] = html_entity_decode((str_replace("\r", "", $post->post_content)), ENT_QUOTES | ENT_XML1, 'UTF-8');
2232
  $product_data['short_description'] = html_entity_decode((str_replace("\r", "", $post->post_excerpt)), ENT_QUOTES | ENT_XML1, 'UTF-8');
2342
  $product_data['all_images'] = ltrim($product_data['all_images'],',');
2343
  $product_data['all_gallery_images'] = ltrim($product_data['all_gallery_images'],',');
2344
  $product_data['product_type'] = $product->get_type();
2345
+
2346
  $product_data['content_type'] = "product";
2347
  if($product_data['product_type'] == "variation"){
2348
  $product_data['content_type'] = "product_group";
2358
  $product_data['shipping'] = 0;
2359
  $tax_rates = WC_Tax::get_base_tax_rates( $product->get_tax_class() );
2360
  $shipping_class_id = $product->get_shipping_class_id();
 
2361
  $shipping_class= $product->get_shipping_class();
2362
 
2363
  $class_cost_id = "class_cost_".$shipping_class_id;
2438
 
2439
  $fullrate = 100+$tax_rates[1]['rate'];
2440
 
2441
+ // Override price when bundled or composite product
2442
  if(($product->get_type() == "bundle") OR ($product->get_type() == "composite")){
2443
  $meta = get_post_meta($product_data['id']);
2444
  if($product->get_type() == "bundle"){
2752
  /**
2753
  * Get Custom Attributes for Single, Bundled and Composite products
2754
  */
2755
+ 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")){
2756
  $custom_attributes = $this->get_custom_attributes( $product_data['id'] );
2757
 
2758
  if(!in_array("woosea optimized title", $custom_attributes)){
2767
  $custom_attributes['_aioseop_description'] = "All in one seo pack description";
2768
  }
2769
 
 
2770
  foreach($custom_attributes as $custom_kk => $custom_vv){
2771
  $custom_value = get_post_meta( $product_data['id'], $custom_kk, true );
2772
  $new_key ="custom_attributes_" . $custom_kk;
2837
  /**
2838
  * Get Product Attributes for Single products
2839
  */
2840
+ 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'))){
2841
  $single_attributes = $product->get_attributes();
2842
 
2843
  foreach ($single_attributes as $attribute){
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=8.8.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=8.8.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: 8.8.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 WooCommerce Dynamic Pricing & Discounts from RightPress
133
  * Supports WC Fields Factory
134
  * Supports Table Rate Shipping for WooCommerce from Bolder Elements
@@ -319,6 +320,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
319
 
320
  === Changelog ===
321
 
 
 
 
322
  = 8.8.8 (2020-10-04) =
323
  * Added fields to Trovaprezzi template
324
  * Performance enhancements
@@ -2829,6 +2833,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2829
 
2830
  == Upgrade Notice ==
2831
 
 
 
 
2832
  = 8.8.8 =
2833
  Added fields to Trovaprezzi template
2834
  Performance enhancements
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: 8.8.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 Mix & Match Products" plugin
133
  * Supports WooCommerce Dynamic Pricing & Discounts from RightPress
134
  * Supports WC Fields Factory
135
  * Supports Table Rate Shipping for WooCommerce from Bolder Elements
320
 
321
  === Changelog ===
322
 
323
+ = 8.8.9 (2020-10-05) =
324
+ * Added support for the WooCommerce Mix & Match plugin
325
+
326
  = 8.8.8 (2020-10-04) =
327
  * Added fields to Trovaprezzi template
328
  * Performance enhancements
2833
 
2834
  == Upgrade Notice ==
2835
 
2836
+ = 8.8.9 =
2837
+ Added support for the WooCommerce Mix & Match plugin
2838
+
2839
  = 8.8.8 =
2840
  Added fields to Trovaprezzi template
2841
  Performance enhancements
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.8.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', '8.8.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: 8.8.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', '8.8.9' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54