Product Feed PRO for WooCommerce - Version 8.7.4

Version Description

The Heureka.sk template is now also working for PARAM fields

Download this release

Release Info

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

Code changes from version 8.7.3 to 8.7.4

TODO.txt CHANGED
@@ -6,6 +6,8 @@ Tutorial / Blog posts:
6
 
7
  Priority issues:
8
  - Facebook pixel: add other attributes to the tracking apart from the curreny product ID (such as the SKU);
 
 
9
  - Filters or rules that have slashes in them (on links) do no work - make this work!
10
  - Add possibility to copy feed configuration from one WooCommerce instance to the other instance
11
  - Add support for Multisites
6
 
7
  Priority issues:
8
  - Facebook pixel: add other attributes to the tracking apart from the curreny product ID (such as the SKU);
9
+ - Own hosted plugin updating: https://rudrastyh.com/wordpress/self-hosted-plugin-update.html
10
+ - My adtribes environment with download link in it
11
  - Filters or rules that have slashes in them (on links) do no work - make this work!
12
  - Add possibility to copy feed configuration from one WooCommerce instance to the other instance
13
  - Add support for Multisites
classes/class-get-products.php CHANGED
@@ -1234,6 +1234,10 @@ class WooSEA_Get_Products {
1234
  $xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><SHOP></SHOP>');
1235
  $xml->addAttribute('xmlns', 'http://www.heureka.cz/ns/offer/1.0');
1236
  $xml->asXML($file);
 
 
 
 
1237
  } elseif ($feed_config['name'] == "Zap.co.il") {
1238
  $xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><STORE></STORE>');
1239
  $xml->addChild('datetime', date('Y-m-d H:i:s'));
@@ -1492,7 +1496,7 @@ class WooSEA_Get_Products {
1492
  if ((is_array ( $value )) and (!empty( $value ))) {
1493
  if ($feed_config['name'] == "Yandex") {
1494
  $product = $xml->shop->offers->addChild('offer');
1495
- } elseif ($feed_config['name'] == "Heureka.cz" || $feed_config['name'] == "Zbozi.cz" || $feed_config['name'] == "Glami.gr") {
1496
  $product = $xml->addChild('SHOPITEM');
1497
  } elseif ($feed_config['name'] == "Zap.co.il") {
1498
  $product = $xml->PRODUCTS->addChild('PRODUCT');
@@ -1625,8 +1629,10 @@ class WooSEA_Get_Products {
1625
  * Some Zbozi and Heureka attributes need some extra XML nodes
1626
  */
1627
  $zbozi_nodes = "PARAM_";
1628
-
1629
- if((($feed_config['name'] == "Zbozi.cz") OR ($feed_config['name'] == "Glami.gr") OR ($feed_config['name'] == "Heureka.cz")) AND (preg_match("/$zbozi_nodes/i",$k))){
 
 
1630
  $pieces = explode ("_", $k);
1631
  $productp = $product->addChild('PARAM');
1632
  $productp->addChild("PARAM_NAME", $pieces[1]);
1234
  $xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><SHOP></SHOP>');
1235
  $xml->addAttribute('xmlns', 'http://www.heureka.cz/ns/offer/1.0');
1236
  $xml->asXML($file);
1237
+ } elseif ($feed_config['name'] == "Heureka.sk") {
1238
+ $xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><SHOP></SHOP>');
1239
+ $xml->addAttribute('xmlns', 'http://www.heureka.sk/ns/offer/1.0');
1240
+ $xml->asXML($file);
1241
  } elseif ($feed_config['name'] == "Zap.co.il") {
1242
  $xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><STORE></STORE>');
1243
  $xml->addChild('datetime', date('Y-m-d H:i:s'));
1496
  if ((is_array ( $value )) and (!empty( $value ))) {
1497
  if ($feed_config['name'] == "Yandex") {
1498
  $product = $xml->shop->offers->addChild('offer');
1499
+ } elseif ($feed_config['name'] == "Heureka.cz" || $feed_config['name'] == "Heureka.sk" || $feed_config['name'] == "Zbozi.cz" || $feed_config['name'] == "Glami.gr") {
1500
  $product = $xml->addChild('SHOPITEM');
1501
  } elseif ($feed_config['name'] == "Zap.co.il") {
1502
  $product = $xml->PRODUCTS->addChild('PRODUCT');
1629
  * Some Zbozi and Heureka attributes need some extra XML nodes
1630
  */
1631
  $zbozi_nodes = "PARAM_";
1632
+
1633
+
1634
+
1635
+ if((($feed_config['name'] == "Zbozi.cz") OR ($feed_config['name'] == "Glami.gr") OR ($feed_config['name'] == "Heureka.cz") OR ($feed_config['name'] == "Heureka.sk")) AND (preg_match("/$zbozi_nodes/i",$k))){
1636
  $pieces = explode ("_", $k);
1637
  $productp = $product->addChild('PARAM');
1638
  $productp->addChild("PARAM_NAME", $pieces[1]);
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.7.3',
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.7.4',
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.7.3
9
 
10
  == Description ==
11
 
@@ -319,6 +319,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
319
 
320
  === Changelog ===
321
 
 
 
 
322
  = 8.7.3 (2020-09-16) =
323
  * Allowing apostrophes in static values
324
  * The unfiltered description attributes are now truncated after 5000 characters
@@ -2782,6 +2785,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
2782
 
2783
  == Upgrade Notice ==
2784
 
 
 
 
2785
  = 8.7.3 =
2786
  Allowing apostrophes in static values
2787
 
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.7.4
9
 
10
  == Description ==
11
 
319
 
320
  === Changelog ===
321
 
322
+ = 8.7.4 (2020-09-21) =
323
+ * The Heureka.sk template is now also working for PARAM fields
324
+
325
  = 8.7.3 (2020-09-16) =
326
  * Allowing apostrophes in static values
327
  * The unfiltered description attributes are now truncated after 5000 characters
2785
 
2786
  == Upgrade Notice ==
2787
 
2788
+ = 8.7.4 =
2789
+ The Heureka.sk template is now also working for PARAM fields
2790
+
2791
  = 8.7.3 =
2792
  Allowing apostrophes in static values
2793
 
woocommerce-sea.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
  /**
3
  * Plugin Name: Product Feed PRO for WooCommerce
4
- * Version: 8.7.3
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.7.3' );
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.7.4
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.7.4' );
52
  define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
53
  define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
54