Version Description
Changed the XML header for the Fruugo.nl template
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.9.3 |
Comparing to | |
See all releases |
Code changes from version 7.9.2 to 7.9.3
- classes/class-get-products.php +3 -0
- js/woosea_key.js +1 -1
- readme.txt +10 -1
- woocommerce-sea.php +16 -15
classes/class-get-products.php
CHANGED
@@ -1254,6 +1254,9 @@ class WooSEA_Get_Products {
|
|
1254 |
$publisher->addChild('name', get_bloginfo( 'name' ));
|
1255 |
$publisher->addChild('favicon', get_site_icon_url());
|
1256 |
$xml->asXML($file);
|
|
|
|
|
|
|
1257 |
} else {
|
1258 |
$xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><products></products>');
|
1259 |
$xml->addAttribute('version', '1.0');
|
1254 |
$publisher->addChild('name', get_bloginfo( 'name' ));
|
1255 |
$publisher->addChild('favicon', get_site_icon_url());
|
1256 |
$xml->asXML($file);
|
1257 |
+
} elseif ($feed_config['name'] == "Fruugo.nl") {
|
1258 |
+
$xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><Products></Products>');
|
1259 |
+
$xml->asXML($file);
|
1260 |
} else {
|
1261 |
$xml = new SimpleXMLElement('<?xml version="1.0" encoding="utf-8"?><products></products>');
|
1262 |
$xml->addAttribute('version', '1.0');
|
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.
|
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.3',
|
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.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -312,6 +312,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
|
|
|
|
|
|
315 |
= 7.9.2 (2020-04-15) =
|
316 |
* Solved a PHP warning that showed in the structured data fix when products did not have any categories attacted to it
|
317 |
|
@@ -2520,6 +2523,12 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2520 |
|
2521 |
== Upgrade Notice ==
|
2522 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2523 |
= 7.9.1 =
|
2524 |
Added the canonical_link attribute
|
2525 |
Solved a PHP warning that happened for products that did not have any category attached to it
|
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.3
|
9 |
|
10 |
== Description ==
|
11 |
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
315 |
+
= 7.9.3 (2020-04-15) =
|
316 |
+
* Changed the XML header for the Fruugo.nl template
|
317 |
+
|
318 |
= 7.9.2 (2020-04-15) =
|
319 |
* Solved a PHP warning that showed in the structured data fix when products did not have any categories attacted to it
|
320 |
|
2523 |
|
2524 |
== Upgrade Notice ==
|
2525 |
|
2526 |
+
= 7.9.3 =
|
2527 |
+
Changed the XML header for the Fruugo.nl template
|
2528 |
+
|
2529 |
+
= 7.9.2 =
|
2530 |
+
Solved a PHP warning that showed in the structured data fix when products did not have any categories attacted to it
|
2531 |
+
|
2532 |
= 7.9.1 =
|
2533 |
Added the canonical_link attribute
|
2534 |
Solved a PHP warning that happened for products that did not have any category attached to it
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 7.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,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.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -1594,19 +1594,20 @@ function woosea_product_fix_structured_data( $product = null ) {
|
|
1594 |
// This is a variable product
|
1595 |
$mother_id = wc_get_product()->get_id();
|
1596 |
$children_ids = $product->get_children();
|
1597 |
-
|
1598 |
$prod_type = $product->get_type();
|
1599 |
-
|
1600 |
-
|
1601 |
-
|
1602 |
-
|
1603 |
-
|
1604 |
-
|
1605 |
-
|
1606 |
-
|
1607 |
-
|
1608 |
-
|
1609 |
-
|
|
|
|
|
1610 |
|
1611 |
if(isset($variation_id )){
|
1612 |
$variable_product = wc_get_product($variation_id);
|
@@ -4247,7 +4248,7 @@ function woosea_license_valid(){
|
|
4247 |
|
4248 |
if(!empty($license_information['license_key'])){
|
4249 |
$curl = curl_init();
|
4250 |
-
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.9.
|
4251 |
|
4252 |
curl_setopt_array($curl, array(
|
4253 |
CURLOPT_RETURNTRANSFER => 1,
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 7.9.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 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.9.3' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
1594 |
// This is a variable product
|
1595 |
$mother_id = wc_get_product()->get_id();
|
1596 |
$children_ids = $product->get_children();
|
|
|
1597 |
$prod_type = $product->get_type();
|
1598 |
+
|
1599 |
+
if($prod_type == "variable"){
|
1600 |
+
foreach ($children_ids as &$child_val) {
|
1601 |
+
$product_variations = new WC_Product_Variation( $child_val );
|
1602 |
+
$variations = array_filter($product_variations->get_variation_attributes());
|
1603 |
+
$from_url = str_replace("\\","",$_GET,$i);
|
1604 |
+
$intersect = array_intersect($from_url, $variations);
|
1605 |
+
if($variations == $intersect){
|
1606 |
+
$variation_id = $child_val;
|
1607 |
+
}
|
1608 |
+
}
|
1609 |
+
}
|
1610 |
+
|
1611 |
|
1612 |
if(isset($variation_id )){
|
1613 |
$variable_product = wc_get_product($variation_id);
|
4248 |
|
4249 |
if(!empty($license_information['license_key'])){
|
4250 |
$curl = curl_init();
|
4251 |
+
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.9.3";
|
4252 |
|
4253 |
curl_setopt_array($curl, array(
|
4254 |
CURLOPT_RETURNTRANSFER => 1,
|