Version Description
Added a new attribute named "All gallery images (comma separated)" which adds all product gallery images on one line, comma separated
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 7.6.7 |
Comparing to | |
See all releases |
Code changes from version 7.6.6 to 7.6.7
- classes/class-attributes.php +2 -0
- classes/class-get-products.php +4 -0
- js/woosea_key.js +1 -1
- readme.txt +7 -1
- woocommerce-sea.php +3 -3
classes/class-attributes.php
CHANGED
@@ -278,6 +278,7 @@ public function get_mapping_attributes_dropdown() {
|
|
278 |
"image_9" => "Additional image 9",
|
279 |
"image_10" => "Additional image 10",
|
280 |
"all_images" => "All images (comma separated)",
|
|
|
281 |
);
|
282 |
|
283 |
/**
|
@@ -465,6 +466,7 @@ public function get_mapping_attributes_dropdown() {
|
|
465 |
"image_9" => "Additional image 9",
|
466 |
"image_10" => "Additional image 10",
|
467 |
"all_images" => "All images (comma separated)",
|
|
|
468 |
);
|
469 |
|
470 |
$attributes = array_merge($attributes, $images);
|
278 |
"image_9" => "Additional image 9",
|
279 |
"image_10" => "Additional image 10",
|
280 |
"all_images" => "All images (comma separated)",
|
281 |
+
"all_gallery_images" => "All gallery images (comma separated)",
|
282 |
);
|
283 |
|
284 |
/**
|
466 |
"image_9" => "Additional image 9",
|
467 |
"image_10" => "Additional image 10",
|
468 |
"all_images" => "All images (comma separated)",
|
469 |
+
"all_gallery_images" => "All gallery images (comma separated)",
|
470 |
);
|
471 |
|
472 |
$attributes = array_merge($attributes, $images);
|
classes/class-get-products.php
CHANGED
@@ -2157,6 +2157,7 @@ class WooSEA_Get_Products {
|
|
2157 |
}
|
2158 |
$product_data['image'] = wp_get_attachment_url($product->get_image_id());
|
2159 |
$product_data['all_images'] = $product_data['image'];
|
|
|
2160 |
|
2161 |
// For variable products I need to get the product gallery images of the simple mother product
|
2162 |
if($product_data['item_group_id'] > 0){
|
@@ -2167,6 +2168,7 @@ class WooSEA_Get_Products {
|
|
2167 |
foreach ($gallery_ids as $gallery_key => $gallery_value){
|
2168 |
$product_data["image_" . $gal_id] = wp_get_attachment_url($gallery_value);
|
2169 |
$product_data['all_images'] .= ",".wp_get_attachment_url($gallery_value);
|
|
|
2170 |
$gal_id++;
|
2171 |
}
|
2172 |
}
|
@@ -2176,11 +2178,13 @@ class WooSEA_Get_Products {
|
|
2176 |
foreach ($gallery_ids as $gallery_key => $gallery_value){
|
2177 |
$product_data["image_" . $gal_id] = wp_get_attachment_url($gallery_value);
|
2178 |
$product_data['all_images'] .= ",".wp_get_attachment_url($gallery_value);
|
|
|
2179 |
$gal_id++;
|
2180 |
}
|
2181 |
}
|
2182 |
|
2183 |
$product_data['all_images'] = ltrim($product_data['all_images'],',');
|
|
|
2184 |
$product_data['product_type'] = $product->get_type();
|
2185 |
$product_data['content_type'] = "product";
|
2186 |
if($product_data['product_type'] == "variation"){
|
2157 |
}
|
2158 |
$product_data['image'] = wp_get_attachment_url($product->get_image_id());
|
2159 |
$product_data['all_images'] = $product_data['image'];
|
2160 |
+
$product_data['all_gallery_images'] = "";
|
2161 |
|
2162 |
// For variable products I need to get the product gallery images of the simple mother product
|
2163 |
if($product_data['item_group_id'] > 0){
|
2168 |
foreach ($gallery_ids as $gallery_key => $gallery_value){
|
2169 |
$product_data["image_" . $gal_id] = wp_get_attachment_url($gallery_value);
|
2170 |
$product_data['all_images'] .= ",".wp_get_attachment_url($gallery_value);
|
2171 |
+
$product_data['all_gallery_images'] .= ",".wp_get_attachment_url($gallery_value);
|
2172 |
$gal_id++;
|
2173 |
}
|
2174 |
}
|
2178 |
foreach ($gallery_ids as $gallery_key => $gallery_value){
|
2179 |
$product_data["image_" . $gal_id] = wp_get_attachment_url($gallery_value);
|
2180 |
$product_data['all_images'] .= ",".wp_get_attachment_url($gallery_value);
|
2181 |
+
$product_data['all_gallery_images'] .= ",".wp_get_attachment_url($gallery_value);
|
2182 |
$gal_id++;
|
2183 |
}
|
2184 |
}
|
2185 |
|
2186 |
$product_data['all_images'] = ltrim($product_data['all_images'],',');
|
2187 |
+
$product_data['all_gallery_images'] = ltrim($product_data['all_gallery_images'],',');
|
2188 |
$product_data['product_type'] = $product->get_type();
|
2189 |
$product_data['content_type'] = "product";
|
2190 |
if($product_data['product_type'] == "variation"){
|
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.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.6.7',
|
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.6.
|
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.6.6 (2020-03-06) =
|
316 |
* Added a new attribute named "All images (comma separated)" which adds all product images on one line, comma separated
|
317 |
* The total product orders attribute is pretty heavy on MySql so we are now only requesting this data when it has been added to the field mapping and/or filters and rules
|
@@ -2440,6 +2443,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2440 |
|
2441 |
== Upgrade Notice ==
|
2442 |
|
|
|
|
|
|
|
2443 |
= 7.6.6 =
|
2444 |
Added a new attribute named "All images (comma separated)" which adds all product images on one line, comma separated
|
2445 |
The total product orders attribute is pretty heavy on MySql so we are now only requesting this data when it has been added to the field mapping and/or filters and rules
|
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.6.7
|
9 |
|
10 |
== Description ==
|
11 |
|
312 |
|
313 |
=== Changelog ===
|
314 |
|
315 |
+
= 7.6.7 (2020-03-06) =
|
316 |
+
* Added a new attribute named "All gallery images (comma separated)" which adds all product gallery images on one line, comma separated
|
317 |
+
|
318 |
= 7.6.6 (2020-03-06) =
|
319 |
* Added a new attribute named "All images (comma separated)" which adds all product images on one line, comma separated
|
320 |
* The total product orders attribute is pretty heavy on MySql so we are now only requesting this data when it has been added to the field mapping and/or filters and rules
|
2443 |
|
2444 |
== Upgrade Notice ==
|
2445 |
|
2446 |
+
= 7.6.7 =
|
2447 |
+
Added a new attribute named "All gallery images (comma separated)" which adds all product gallery images on one line, comma separated
|
2448 |
+
|
2449 |
= 7.6.6 =
|
2450 |
Added a new attribute named "All images (comma separated)" which adds all product images on one line, comma separated
|
2451 |
The total product orders attribute is pretty heavy on MySql so we are now only requesting this data when it has been added to the field mapping and/or filters and rules
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 7.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.6.
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
@@ -4215,7 +4215,7 @@ function woosea_license_valid(){
|
|
4215 |
|
4216 |
if(!empty($license_information['license_key'])){
|
4217 |
$curl = curl_init();
|
4218 |
-
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.6.
|
4219 |
|
4220 |
curl_setopt_array($curl, array(
|
4221 |
CURLOPT_RETURNTRANSFER => 1,
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
+
* Version: 7.6.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.6.7' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|
4215 |
|
4216 |
if(!empty($license_information['license_key'])){
|
4217 |
$curl = curl_init();
|
4218 |
+
$url = "https://www.adtribes.io/check/license.php?key=$license_information[license_key]&email=$license_information[license_email]&domain=$domain&version=7.6.7";
|
4219 |
|
4220 |
curl_setopt_array($curl, array(
|
4221 |
CURLOPT_RETURNTRANSFER => 1,
|