Product Feed PRO for WooCommerce - Version 7.0.7

Version Description

Some Germanized for WooCommerce fields didn't work anymore because of a change in attribute naming. This has been fixed.

Download this release

Release Info

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

Code changes from version 7.0.6 to 7.0.7

classes/class-attributes.php CHANGED
@@ -50,13 +50,14 @@ private function get_dynamic_attributes(){
50
 
51
  $no_taxonomies = array("portfolio_category","portfolio_skills","portfolio_tags","nav_menu","post_format","slide-page","element_category","template_category","portfolio_category","portfolio_skills","portfolio_tags","faq_category","slide-page","yst_prominent_words","category","post_tag","nav_menu","link_category","post_format","product_type","product_visibility","product_cat","product_shipping_class","product_tag");
52
  $taxonomies = get_taxonomies();
53
-
54
  $diff_taxonomies = array_diff($taxonomies, $no_taxonomies);
55
 
56
  # get custom taxonomy values for a product
57
  foreach($diff_taxonomies as $tax_diff){
 
58
  $taxonomy_details = get_taxonomy( $tax_diff );
59
  foreach($taxonomy_details as $kk => $vv){
 
60
  if($kk == "name"){
61
  $pa_short = $vv;
62
  }
@@ -78,18 +79,18 @@ private function get_custom_attributes() {
78
  global $wpdb;
79
  $list = array();
80
 
81
- // $sql = "SELECT meta.meta_id, meta.meta_key as name, meta.meta_value as type FROM " . $wpdb->prefix . "postmeta" . " AS meta, " . $wpdb->prefix . "posts" . " AS posts WHERE meta.post_id = posts.id AND posts.post_type LIKE '%product%' AND meta.meta_key NOT LIKE 'pyre%' AND meta.meta_key NOT LIKE 'sbg_%' AND meta.meta_key NOT LIKE 'rp_%' GROUP BY meta.meta_key ORDER BY meta.meta_key ASC;";
82
-
83
- $sql = "SELECT
84
- meta.meta_id,
85
- meta.meta_key as name,
86
- meta.meta_value as type
87
- FROM " . $wpdb->prefix . "postmeta" . " AS meta, " . $wpdb->prefix . "posts" . " AS posts
88
- WHERE
89
- meta.post_id = posts.id AND
90
- posts.post_type LIKE 'product_%'
91
- GROUP BY meta.meta_key
92
- ORDER BY meta.meta_key ASC;";
93
  $data = $wpdb->get_results($sql);
94
 
95
  if (count($data)) {
50
 
51
  $no_taxonomies = array("portfolio_category","portfolio_skills","portfolio_tags","nav_menu","post_format","slide-page","element_category","template_category","portfolio_category","portfolio_skills","portfolio_tags","faq_category","slide-page","yst_prominent_words","category","post_tag","nav_menu","link_category","post_format","product_type","product_visibility","product_cat","product_shipping_class","product_tag");
52
  $taxonomies = get_taxonomies();
 
53
  $diff_taxonomies = array_diff($taxonomies, $no_taxonomies);
54
 
55
  # get custom taxonomy values for a product
56
  foreach($diff_taxonomies as $tax_diff){
57
+
58
  $taxonomy_details = get_taxonomy( $tax_diff );
59
  foreach($taxonomy_details as $kk => $vv){
60
+
61
  if($kk == "name"){
62
  $pa_short = $vv;
63
  }
79
  global $wpdb;
80
  $list = array();
81
 
82
+ $sql = "SELECT meta.meta_id, meta.meta_key as name, meta.meta_value as type FROM " . $wpdb->prefix . "postmeta" . " AS meta, " . $wpdb->prefix . "posts" . " AS posts WHERE meta.post_id = posts.id AND posts.post_type LIKE '%product%' AND meta.meta_key NOT LIKE 'pyre%' AND meta.meta_key NOT LIKE 'sbg_%' AND meta.meta_key NOT LIKE 'rp_%' GROUP BY meta.meta_key ORDER BY meta.meta_key ASC;";
83
+
84
+ // $sql = "SELECT
85
+ // meta.meta_id,
86
+ // meta.meta_key as name,
87
+ // meta.meta_value as type
88
+ // FROM " . $wpdb->prefix . "postmeta" . " AS meta, " . $wpdb->prefix . "posts" . " AS posts
89
+ // WHERE
90
+ // meta.post_id = posts.id AND
91
+ // posts.post_type LIKE 'product_%'
92
+ // GROUP BY meta.meta_key
93
+ // ORDER BY meta.meta_key ASC;";
94
  $data = $wpdb->get_results($sql);
95
 
96
  if (count($data)) {
classes/class-get-products.php CHANGED
@@ -2410,9 +2410,8 @@ class WooSEA_Get_Products {
2410
  }
2411
 
2412
  foreach($diff_taxonomies as $taxo){
2413
- if(strpos($taxo, "pa_") === 0){
2414
  $term_value = get_the_terms($product_data['id'], $taxo);
2415
-
2416
  if(is_array($term_value)){
2417
  foreach($term_value as $term){
2418
  $product_data[$taxo] = $term->name;
@@ -2460,6 +2459,7 @@ class WooSEA_Get_Products {
2460
  $custom_attributes['_aioseop_description'] = "All in one seo pack description";
2461
  }
2462
 
 
2463
  foreach($custom_attributes as $custom_kk => $custom_vv){
2464
  $custom_value = get_post_meta( $product_data['id'], $custom_kk, true );
2465
  $new_key ="custom_attributes_" . $custom_kk;
@@ -2637,7 +2637,7 @@ class WooSEA_Get_Products {
2637
  * Although this is a product variation we also need to grap the Dynamic attributes belonging to the simple mother prodict
2638
  */
2639
  foreach($diff_taxonomies as $taxo){
2640
- if(strpos($taxo, "pa_") === 0){
2641
  $term_value = get_the_terms($product_data['item_group_id'], $taxo);
2642
 
2643
  if(is_array($term_value)){
2410
  }
2411
 
2412
  foreach($diff_taxonomies as $taxo){
2413
+ if((strpos($taxo, "pa_") === 0) OR (strpos($taxo, "product_") === 0)){
2414
  $term_value = get_the_terms($product_data['id'], $taxo);
 
2415
  if(is_array($term_value)){
2416
  foreach($term_value as $term){
2417
  $product_data[$taxo] = $term->name;
2459
  $custom_attributes['_aioseop_description'] = "All in one seo pack description";
2460
  }
2461
 
2462
+
2463
  foreach($custom_attributes as $custom_kk => $custom_vv){
2464
  $custom_value = get_post_meta( $product_data['id'], $custom_kk, true );
2465
  $new_key ="custom_attributes_" . $custom_kk;
2637
  * Although this is a product variation we also need to grap the Dynamic attributes belonging to the simple mother prodict
2638
  */
2639
  foreach($diff_taxonomies as $taxo){
2640
+ if((strpos($taxo, "pa_") === 0) OR (strpos($taxo, "product_") === 0)){
2641
  $term_value = get_the_terms($product_data['item_group_id'], $taxo);
2642
 
2643
  if(is_array($term_value)){
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=7.0.6',
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=7.0.7',
31
  jsonp: 'callback',
32
  dataType: 'jsonp',
33
  type: 'GET',
pages/admin/woosea-generate-feed-step-7.php CHANGED
@@ -132,7 +132,6 @@ $attributes = $fields_obj->get_channel_attributes();
132
  <?php
133
  if (!isset($count_mappings)){
134
  $c = 0;
135
-
136
  foreach($attributes as $row_key => $row_value){
137
  foreach($row_value as $row_k => $row_v){
138
  if ($row_v['format'] == "required"){
132
  <?php
133
  if (!isset($count_mappings)){
134
  $c = 0;
 
135
  foreach($attributes as $row_key => $row_value){
136
  foreach($row_value as $row_k => $row_v){
137
  if ($row_v['format'] == "required"){
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.3
8
- Stable tag: 7.0.6
9
 
10
  == Description ==
11
 
@@ -302,6 +302,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
302
 
303
  === Changelog ===
304
 
 
 
 
305
  = 7.0.6 (2019-12-24) =
306
  * Increased performance and speed of processing product feeds
307
  * Increased performance of field mapping page
@@ -2229,6 +2232,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2229
 
2230
  == Upgrade Notice ==
2231
 
 
 
 
2232
  = 7.0.6 =
2233
  Increased performance and speed of processing product feeds
2234
  Increased performance of field mapping page
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.3
8
+ Stable tag: 7.0.7
9
 
10
  == Description ==
11
 
302
 
303
  === Changelog ===
304
 
305
+ = 7.0.7 (2019-12-27) =
306
+ * Some Germanized for WooCommerce fields didn't work anymore because of a change in attribute naming. This has been fixed.
307
+
308
  = 7.0.6 (2019-12-24) =
309
  * Increased performance and speed of processing product feeds
310
  * Increased performance of field mapping page
2232
 
2233
  == Upgrade Notice ==
2234
 
2235
+ = 7.0.7 =
2236
+ Some Germanized for WooCommerce fields didn't work anymore because of a change in attribute naming. This has been fixed.
2237
+
2238
  = 7.0.6 =
2239
  Increased performance and speed of processing product feeds
2240
  Increased performance of field mapping page
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.0.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', '7.0.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: 7.0.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', '7.0.7' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54