Product Feed PRO for WooCommerce - Version 7.9.1

Version Description

Added the canonical_link attribute Solved a PHP warning that happened for products that did not have any category attached to it

Download this release

Release Info

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

Code changes from version 7.9.0 to 7.9.1

classes/channels/class-google_shopping.php CHANGED
@@ -45,6 +45,11 @@ class WooSEA_google_shopping {
45
  "feed_name" => "g:additional_image_link",
46
  "format" => "optional",
47
  ),
 
 
 
 
 
48
  "Product URL mobile" => array(
49
  "name" => "mobile_link",
50
  "feed_name" => "g:mobile_link",
45
  "feed_name" => "g:additional_image_link",
46
  "format" => "optional",
47
  ),
48
+ "Canonical product URL" => array(
49
+ "name" => "canonical_link",
50
+ "feed_name" => "g:canonical_link",
51
+ "format" => "optional",
52
+ ),
53
  "Product URL mobile" => array(
54
  "name" => "mobile_link",
55
  "feed_name" => "g:mobile_link",
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.9.0',
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.9.1',
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.4
8
- Stable tag: 7.9.0
9
 
10
  == Description ==
11
 
@@ -312,6 +312,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
312
 
313
  === Changelog ===
314
 
 
 
 
 
315
  = 7.9.0 (2020-04-11) =
316
  * When the Yoast primary category is set the category path attribute uses the primary category path as of now.
317
 
@@ -2513,6 +2517,10 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2513
 
2514
  == Upgrade Notice ==
2515
 
 
 
 
 
2516
  = 7.9.0 =
2517
  When the Yoast primary category is set the category path attribute uses the primary category path as of now.
2518
 
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: 7.9.1
9
 
10
  == Description ==
11
 
312
 
313
  === Changelog ===
314
 
315
+ = 7.9.1 (2020-04-14) =
316
+ * Added the canonical_link attribute
317
+ * Solved a PHP warning that happened for products that did not have any category attached to it
318
+
319
  = 7.9.0 (2020-04-11) =
320
  * When the Yoast primary category is set the category path attribute uses the primary category path as of now.
321
 
2517
 
2518
  == Upgrade Notice ==
2519
 
2520
+ = 7.9.1 =
2521
+ Added the canonical_link attribute
2522
+ Solved a PHP warning that happened for products that did not have any category attached to it
2523
+
2524
  = 7.9.0 =
2525
  When the Yoast primary category is set the category path attribute uses the primary category path as of now.
2526
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 7.9.0
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.9.0' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
@@ -218,10 +218,12 @@ function woosea_addtocart_details(){
218
 
219
  $cats = "";
220
  $all_cats = get_the_terms( $productId, 'product_cat' );
221
- foreach ($all_cats as $key => $category) {
222
- $cats .= $category->name.",";
223
- }
224
-
 
 
225
  // strip last comma
226
  $cats = rtrim($cats, ",");
227
  $cats = str_replace("&amp;","&", $cats);
@@ -4240,7 +4242,7 @@ function woosea_license_valid(){
4240
 
4241
  if(!empty($license_information['license_key'])){
4242
  $curl = curl_init();
4243
- $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.9.0";
4244
 
4245
  curl_setopt_array($curl, array(
4246
  CURLOPT_RETURNTRANSFER => 1,
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
+ * Version: 7.9.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, 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.9.1' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54
 
218
 
219
  $cats = "";
220
  $all_cats = get_the_terms( $productId, 'product_cat' );
221
+ if(!empty($all_cats)){
222
+ foreach ($all_cats as $key => $category) {
223
+ $cats .= $category->name.",";
224
+ }
225
+ }
226
+
227
  // strip last comma
228
  $cats = rtrim($cats, ",");
229
  $cats = str_replace("&amp;","&", $cats);
4242
 
4243
  if(!empty($license_information['license_key'])){
4244
  $curl = curl_init();
4245
+ $url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.9.1";
4246
 
4247
  curl_setopt_array($curl, array(
4248
  CURLOPT_RETURNTRANSFER => 1,