Version Description
Added support for custom attributes for parent variable products (Skroutz and Google DSA only)
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.4.9 |
Comparing to | |
See all releases |
Code changes from version 7.4.8 to 7.4.9
- classes/class-get-products.php +4 -4
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +3 -3
classes/class-get-products.php
CHANGED
@@ -2492,8 +2492,7 @@ class WooSEA_Get_Products {
|
|
2492 |
/**
|
2493 |
* Get Custom Attributes for Single, Bundled and Composite products
|
2494 |
*/
|
2495 |
-
if (($product->is_type('simple')) OR ($product->is_type('external')) OR ($product->is_type('bundle')) OR ($product->is_type('composite'))){
|
2496 |
-
|
2497 |
$custom_attributes = $this->get_custom_attributes( $product_data['id'] );
|
2498 |
if(!in_array("woosea optimized title", $custom_attributes)){
|
2499 |
$woosea_opt = array (
|
@@ -2511,7 +2510,7 @@ class WooSEA_Get_Products {
|
|
2511 |
foreach($custom_attributes as $custom_kk => $custom_vv){
|
2512 |
$custom_value = get_post_meta( $product_data['id'], $custom_kk, true );
|
2513 |
$new_key ="custom_attributes_" . $custom_kk;
|
2514 |
-
|
2515 |
// Just to make sure the title is never empty
|
2516 |
if(($custom_kk == "_aioseop_title") && ($custom_value == "")){
|
2517 |
$custom_value = $product_data['title'];
|
@@ -2603,10 +2602,11 @@ class WooSEA_Get_Products {
|
|
2603 |
* Get data for these products based on the mother products item group id
|
2604 |
*/
|
2605 |
$variation_pass = "true";
|
|
|
2606 |
if( ($product_data['item_group_id'] > 0) AND (is_object(wc_get_product( $product_data['item_group_id'])))){
|
2607 |
$product_variations = new WC_Product_Variation( $product_data['id'] );
|
2608 |
$variations = $product_variations->get_variation_attributes();
|
2609 |
-
|
2610 |
// Determine the default variation product
|
2611 |
$mother_product = wc_get_product($product_data['item_group_id']);
|
2612 |
$def_attributes = $mother_product->get_default_attributes();
|
2492 |
/**
|
2493 |
* Get Custom Attributes for Single, Bundled and Composite products
|
2494 |
*/
|
2495 |
+
if (($product->is_type('simple')) OR ($product->is_type('external')) OR ($product->is_type('bundle')) OR ($product->is_type('composite')) OR ($product_data['product_type'] == "variable")){
|
|
|
2496 |
$custom_attributes = $this->get_custom_attributes( $product_data['id'] );
|
2497 |
if(!in_array("woosea optimized title", $custom_attributes)){
|
2498 |
$woosea_opt = array (
|
2510 |
foreach($custom_attributes as $custom_kk => $custom_vv){
|
2511 |
$custom_value = get_post_meta( $product_data['id'], $custom_kk, true );
|
2512 |
$new_key ="custom_attributes_" . $custom_kk;
|
2513 |
+
|
2514 |
// Just to make sure the title is never empty
|
2515 |
if(($custom_kk == "_aioseop_title") && ($custom_value == "")){
|
2516 |
$custom_value = $product_data['title'];
|
2602 |
* Get data for these products based on the mother products item group id
|
2603 |
*/
|
2604 |
$variation_pass = "true";
|
2605 |
+
|
2606 |
if( ($product_data['item_group_id'] > 0) AND (is_object(wc_get_product( $product_data['item_group_id'])))){
|
2607 |
$product_variations = new WC_Product_Variation( $product_data['id'] );
|
2608 |
$variations = $product_variations->get_variation_attributes();
|
2609 |
+
|
2610 |
// Determine the default variation product
|
2611 |
$mother_product = wc_get_product($product_data['item_group_id']);
|
2612 |
$def_attributes = $mother_product->get_default_attributes();
|
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.4.
|
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.4.9',
|
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.3
|
8 |
-
Stable tag: 7.4.
|
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.4.8 (2020-02-20) =
|
316 |
* For Google DSA and Skroutz feeds the parent variable products are added to the feed too.
|
317 |
|
@@ -2376,6 +2379,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2376 |
|
2377 |
== Upgrade Notice ==
|
2378 |
|
|
|
|
|
|
|
2379 |
= 7.4.8 =
|
2380 |
For Google DSA and Skroutz feeds the parent variable products are added to the feed too.
|
2381 |
|
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.4.9
|
9 |
|
10 |
== Description ==
|
11 |
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
315 |
+
= 7.4.9 (2020-02-20) =
|
316 |
+
* Added support for custom attributes for parent variable products (Skroutz and Google DSA only)
|
317 |
+
|
318 |
= 7.4.8 (2020-02-20) =
|
319 |
* For Google DSA and Skroutz feeds the parent variable products are added to the feed too.
|
320 |
|
2379 |
|
2380 |
== Upgrade Notice ==
|
2381 |
|
2382 |
+
= 7.4.9 =
|
2383 |
+
Added support for custom attributes for parent variable products (Skroutz and Google DSA only)
|
2384 |
+
|
2385 |
= 7.4.8 =
|
2386 |
For Google DSA and Skroutz feeds the parent variable products are added to the feed too.
|
2387 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 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,7 +48,7 @@ if (!defined('ABSPATH')) {
|
|
48 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
-
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.4.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -3833,7 +3833,7 @@ function woosea_license_valid(){
|
|
3833 |
|
3834 |
if(!empty($license_information['license_key'])){
|
3835 |
$curl = curl_init();
|
3836 |
-
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.4.
|
3837 |
|
3838 |
curl_setopt_array($curl, array(
|
3839 |
CURLOPT_RETURNTRANSFER => 1,
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 7.4.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 |
* Plugin versionnumber, please do not override.
|
49 |
* Define some constants
|
50 |
*/
|
51 |
+
define( 'WOOCOMMERCESEA_PLUGIN_VERSION', '7.4.9' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
3833 |
|
3834 |
if(!empty($license_information['license_key'])){
|
3835 |
$curl = curl_init();
|
3836 |
+
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.4.9";
|
3837 |
|
3838 |
curl_setopt_array($curl, array(
|
3839 |
CURLOPT_RETURNTRANSFER => 1,
|