Product Feed PRO for WooCommerce - Version 8.3.7

Version Description

Added a product title hyphen attribute showing a hyphen between the parent variable product name and the attribute values

Download this release

Release Info

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

Code changes from version 8.3.6 to 8.3.7

classes/class-attributes.php CHANGED
@@ -206,6 +206,7 @@ public function get_mapping_attributes_dropdown() {
206
  "wc_post_id_product_id" => "Wc_post_id_product_id (Facebook)",
207
  "title" => "Product name",
208
  "mother_title" => "Product name parent product",
 
209
  "description" => "Product description",
210
  "short_description" => "Product short description",
211
  "price" => "Price",
@@ -393,6 +394,7 @@ public function get_mapping_attributes_dropdown() {
393
  "wc_post_id_product_id" => "Wc_post_id_product_id (Facebook)",
394
  "title" => "Product name",
395
  "mother_title" => "Product name parent product",
 
396
  "description" => "Product description",
397
  "short_description" => "Product short description",
398
  "link" => "Link",
206
  "wc_post_id_product_id" => "Wc_post_id_product_id (Facebook)",
207
  "title" => "Product name",
208
  "mother_title" => "Product name parent product",
209
+ "title_hyphen" => "Product name hyphen",
210
  "description" => "Product description",
211
  "short_description" => "Product short description",
212
  "price" => "Price",
394
  "wc_post_id_product_id" => "Wc_post_id_product_id (Facebook)",
395
  "title" => "Product name",
396
  "mother_title" => "Product name parent product",
397
+ "title_hyphen" => "Product name hyphen",
398
  "description" => "Product description",
399
  "short_description" => "Product short description",
400
  "link" => "Link",
classes/class-get-products.php CHANGED
@@ -1947,6 +1947,7 @@ class WooSEA_Get_Products {
1947
  $product_data['title'] = $this->woosea_utf8_for_xml( $product_data['title'] );
1948
  $product_data['mother_title'] = $product->get_title();
1949
  $product_data['mother_title'] = $this->woosea_utf8_for_xml( $product_data['mother_title'] );
 
1950
  $product_data['sku'] = $product->get_sku();
1951
  $product_data['sku_id'] = $product_data['id'];
1952
  $product_data['wc_post_id_product_id'] = "wc_post_id_".$product_data['id'];
@@ -2913,6 +2914,7 @@ class WooSEA_Get_Products {
2913
  }
2914
 
2915
  // Add attribute values to the variation product names to make them unique
 
2916
  foreach($variations as $kk => $vv){
2917
  $custom_key = $kk;
2918
 
@@ -2928,9 +2930,11 @@ class WooSEA_Get_Products {
2928
  if($vv){
2929
  $append = ucfirst($vv);
2930
  $append = rawurldecode($append);
 
2931
  // Prevent duplicate attribute values from being added to the product name
2932
  if(!preg_match("/" . preg_quote($product_data['title'], '/') . "/", $append)){
2933
  $product_data['title'] = $product_data['title']." ".$append;
 
2934
  }
2935
  }
2936
  }
1947
  $product_data['title'] = $this->woosea_utf8_for_xml( $product_data['title'] );
1948
  $product_data['mother_title'] = $product->get_title();
1949
  $product_data['mother_title'] = $this->woosea_utf8_for_xml( $product_data['mother_title'] );
1950
+ $product_data['title_hyphen'] = $product_data['title'];
1951
  $product_data['sku'] = $product->get_sku();
1952
  $product_data['sku_id'] = $product_data['id'];
1953
  $product_data['wc_post_id_product_id'] = "wc_post_id_".$product_data['id'];
2914
  }
2915
 
2916
  // Add attribute values to the variation product names to make them unique
2917
+ $product_data['title_hyphen'] = $product_data['title']." - ";
2918
  foreach($variations as $kk => $vv){
2919
  $custom_key = $kk;
2920
 
2930
  if($vv){
2931
  $append = ucfirst($vv);
2932
  $append = rawurldecode($append);
2933
+
2934
  // Prevent duplicate attribute values from being added to the product name
2935
  if(!preg_match("/" . preg_quote($product_data['title'], '/') . "/", $append)){
2936
  $product_data['title'] = $product_data['title']." ".$append;
2937
+ $product_data['title_hyphen'] = $product_data['title_hyphen']." ".$append;
2938
  }
2939
  }
2940
  }
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.4
8
- Stable tag: 8.3.6
9
 
10
  == Description ==
11
 
@@ -313,6 +313,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
313
 
314
  === Changelog ===
315
 
 
 
 
316
  = 8.3.6 (2020-06-14) =
317
  * Added priceValidUntil structured data for variable and variation products
318
 
@@ -2660,6 +2663,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2660
 
2661
  == Upgrade Notice ==
2662
 
 
 
 
2663
  = 8.3.6 =
2664
  Added priceValidUntil structured data for variable and variation products
2665
 
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.4
8
+ Stable tag: 8.3.7
9
 
10
  == Description ==
11
 
313
 
314
  === Changelog ===
315
 
316
+ = 8.3.7 (2020-06-21) =
317
+ * Added a product title hyphen attribute showing a hyphen between the parent variable product name and the attribute values
318
+
319
  = 8.3.6 (2020-06-14) =
320
  * Added priceValidUntil structured data for variable and variation products
321
 
2663
 
2664
  == Upgrade Notice ==
2665
 
2666
+ = 8.3.7 =
2667
+ Added a product title hyphen attribute showing a hyphen between the parent variable product name and the attribute values
2668
+
2669
  = 8.3.6 =
2670
  Added priceValidUntil structured data for variable and variation products
2671
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.3.6
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.3.6' );
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.3.7
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.3.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54