Version Description
Added Snapchat product catalog template
Download this release
Release Info
Developer | jorisverwater |
Plugin | Product Feed PRO for WooCommerce |
Version | 8.5.5 |
Comparing to | |
See all releases |
Code changes from version 8.5.4 to 8.5.5
- classes/channels/class-snapchat.php +223 -0
- classes/class-activate.php +7 -0
- js/woosea_channel.js +6 -0
- js/woosea_key.js +1 -1
- readme.txt +8 -1
- woocommerce-sea.php +2 -2
classes/channels/class-snapchat.php
ADDED
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Settings for Snapchat Product Catalog feeds
|
4 |
+
*/
|
5 |
+
class WooSEA_snapchat {
|
6 |
+
public $snapchat;
|
7 |
+
|
8 |
+
public static function get_channel_attributes() {
|
9 |
+
$sitename = get_option('blogname');
|
10 |
+
|
11 |
+
$snapchat = array(
|
12 |
+
"Basic product data" => array(
|
13 |
+
"Product ID" => array(
|
14 |
+
"name" => "id",
|
15 |
+
"feed_name" => "id",
|
16 |
+
"format" => "required",
|
17 |
+
"woo_suggest" => "id",
|
18 |
+
),
|
19 |
+
"Product title" => array(
|
20 |
+
"name" => "title",
|
21 |
+
"feed_name" => "title",
|
22 |
+
"format" => "required",
|
23 |
+
"woo_suggest" => "title",
|
24 |
+
),
|
25 |
+
"Product description" => array(
|
26 |
+
"name" => "description",
|
27 |
+
"feed_name" => "description",
|
28 |
+
"format" => "required",
|
29 |
+
"woo_suggest" => "description",
|
30 |
+
),
|
31 |
+
"Product URL" => array(
|
32 |
+
"name" => "link",
|
33 |
+
"feed_name" => "link",
|
34 |
+
"format" => "required",
|
35 |
+
"woo_suggest" => "link",
|
36 |
+
),
|
37 |
+
"Main image URL" => array(
|
38 |
+
"name" => "image_link",
|
39 |
+
"feed_name" => "image_link",
|
40 |
+
"format" => "required",
|
41 |
+
"woo_suggest" => "image",
|
42 |
+
),
|
43 |
+
"Additional image URL" => array(
|
44 |
+
"name" => "additional_image_link",
|
45 |
+
"feed_name" => "additional_image_link",
|
46 |
+
"format" => "optional",
|
47 |
+
),
|
48 |
+
),
|
49 |
+
"App product metadata" => array(
|
50 |
+
"Icon media URL" => array(
|
51 |
+
"name" => "icon_media_url",
|
52 |
+
"feed_name" => "icon_media_url",
|
53 |
+
"format" => "optional",
|
54 |
+
),
|
55 |
+
"IOS app name" => array(
|
56 |
+
"name" => "ios_app_name",
|
57 |
+
"feed_name" => "ios_app_name",
|
58 |
+
"format" => "optional",
|
59 |
+
),
|
60 |
+
"IOS app store ID" => array(
|
61 |
+
"name" => "ios_app_store_id",
|
62 |
+
"feed_name" => "ios_app_store_id",
|
63 |
+
"format" => "optional",
|
64 |
+
),
|
65 |
+
"IOS URL" => array(
|
66 |
+
"name" => "ios_url",
|
67 |
+
"feed_name" => "ios_url",
|
68 |
+
"format" => "optional",
|
69 |
+
),
|
70 |
+
"Android app name" => array(
|
71 |
+
"name" => "android_app_name",
|
72 |
+
"feed_name" => "android_app_name",
|
73 |
+
"format" => "optional",
|
74 |
+
),
|
75 |
+
"Android package" => array(
|
76 |
+
"name" => "android_package",
|
77 |
+
"feed_name" => "android_package",
|
78 |
+
"format" => "optional",
|
79 |
+
),
|
80 |
+
"Android URL" => array(
|
81 |
+
"name" => "android_url",
|
82 |
+
"feed_name" => "android_url",
|
83 |
+
"format" => "optional",
|
84 |
+
),
|
85 |
+
"Mobile URL" => array(
|
86 |
+
"name" => "mobile_link",
|
87 |
+
"feed_name" => "mobile_link",
|
88 |
+
"format" => "optional",
|
89 |
+
),
|
90 |
+
),
|
91 |
+
"Price & availability" => array(
|
92 |
+
"Stock status" => array(
|
93 |
+
"name" => "availability",
|
94 |
+
"feed_name" => "availability",
|
95 |
+
"format" => "required",
|
96 |
+
"woo_suggest" => "availability",
|
97 |
+
),
|
98 |
+
"Price" => array(
|
99 |
+
"name" => "Price",
|
100 |
+
"feed_name" => "price",
|
101 |
+
"format" => "required",
|
102 |
+
"woo_suggest" => "price",
|
103 |
+
),
|
104 |
+
"Sale price" => array(
|
105 |
+
"name" => "sale_price",
|
106 |
+
"feed_name" => "sale_price",
|
107 |
+
"format" => "optional",
|
108 |
+
"woo_suggest" => "sale_price",
|
109 |
+
),
|
110 |
+
"Sale price effective date" => array(
|
111 |
+
"name" => "sale_price_effective_date",
|
112 |
+
"feed_name" => "sale_price_effective_date",
|
113 |
+
"format" => "optional",
|
114 |
+
"woo_suggest" => "sale_price_effective_date",
|
115 |
+
),
|
116 |
+
"Address" => array(
|
117 |
+
"name" => "address",
|
118 |
+
"feed_name" => "address",
|
119 |
+
"format" => "optional",
|
120 |
+
),
|
121 |
+
),
|
122 |
+
"Product category" => array(
|
123 |
+
"Google product category" => array(
|
124 |
+
"name" => "google_product_category",
|
125 |
+
"feed_name" => "google_product_category",
|
126 |
+
"format" => "required",
|
127 |
+
"woo_suggest" => "categories",
|
128 |
+
),
|
129 |
+
"Product type" => array(
|
130 |
+
"name" => "product_type",
|
131 |
+
"feed_name" => "product_type",
|
132 |
+
"format" => "optional",
|
133 |
+
"woo_suggest" => "product_type",
|
134 |
+
),
|
135 |
+
),
|
136 |
+
"Product identifiers" => array(
|
137 |
+
"Brand" => array(
|
138 |
+
"name" => "brand",
|
139 |
+
"feed_name" => "brand",
|
140 |
+
"format" => "required",
|
141 |
+
),
|
142 |
+
"Gtin" => array(
|
143 |
+
"name" => "gtin",
|
144 |
+
"feed_name" => "gtin",
|
145 |
+
"format" => "required",
|
146 |
+
),
|
147 |
+
"MPN" => array(
|
148 |
+
"name" => "mpn",
|
149 |
+
"feed_name" => "mpn",
|
150 |
+
"format" => "required",
|
151 |
+
),
|
152 |
+
),
|
153 |
+
"Detailed product description" => array(
|
154 |
+
"Condition" => array(
|
155 |
+
"name" => "condition",
|
156 |
+
"feed_name" => "condition",
|
157 |
+
"format" => "required",
|
158 |
+
"woo_suggest" => "condition",
|
159 |
+
),
|
160 |
+
"Adult" => array(
|
161 |
+
"name" => "adult",
|
162 |
+
"feed_name" => "adult",
|
163 |
+
"format" => "optional",
|
164 |
+
),
|
165 |
+
"Age group" => array(
|
166 |
+
"name" => "age_group",
|
167 |
+
"feed_name" => "age_group",
|
168 |
+
"format" => "optional",
|
169 |
+
),
|
170 |
+
"Color" => array(
|
171 |
+
"name" => "color",
|
172 |
+
"feed_name" => "color",
|
173 |
+
"format" => "optional",
|
174 |
+
),
|
175 |
+
"Gender" => array(
|
176 |
+
"name" => "gender",
|
177 |
+
"feed_name" => "gender",
|
178 |
+
"format" => "optional",
|
179 |
+
),
|
180 |
+
"Size" => array(
|
181 |
+
"name" => "size",
|
182 |
+
"feed_name" => "size",
|
183 |
+
"format" => "optional",
|
184 |
+
),
|
185 |
+
"Item group ID" => array(
|
186 |
+
"name" => "item_group_id",
|
187 |
+
"feed_name" => "item_group_id",
|
188 |
+
"format" => "required",
|
189 |
+
"woo_suggest" => "item_group_id",
|
190 |
+
),
|
191 |
+
),
|
192 |
+
"Custom labels" => array(
|
193 |
+
"Custom label 0" => array(
|
194 |
+
"name" => "custom_label_0",
|
195 |
+
"feed_name" => "custom_label_0",
|
196 |
+
"format" => "optional",
|
197 |
+
),
|
198 |
+
"Custom label 1" => array(
|
199 |
+
"name" => "custom_label_1",
|
200 |
+
"feed_name" => "custom_label_1",
|
201 |
+
"format" => "optional",
|
202 |
+
),
|
203 |
+
"Custom label 2" => array(
|
204 |
+
"name" => "custom_label_2",
|
205 |
+
"feed_name" => "custom_label_2",
|
206 |
+
"format" => "optional",
|
207 |
+
),
|
208 |
+
"Custom label 3" => array(
|
209 |
+
"name" => "custom_label_3",
|
210 |
+
"feed_name" => "custom_label_3",
|
211 |
+
"format" => "optional",
|
212 |
+
),
|
213 |
+
"Custom label 4" => array(
|
214 |
+
"name" => "custom_label_4",
|
215 |
+
"feed_name" => "custom_label_4",
|
216 |
+
"format" => "optional",
|
217 |
+
),
|
218 |
+
),
|
219 |
+
);
|
220 |
+
return $snapchat;
|
221 |
+
}
|
222 |
+
}
|
223 |
+
?>
|
classes/class-activate.php
CHANGED
@@ -86,6 +86,13 @@ class WooSEA_Activation {
|
|
86 |
"taxonomy" => "none",
|
87 |
"utm_source" => "Pinterest RSS Board",
|
88 |
"type" => "Advertising" ),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
),
|
90 |
"Custom Feed" => array (
|
91 |
"Custom Feed" => array (
|
86 |
"taxonomy" => "none",
|
87 |
"utm_source" => "Pinterest RSS Board",
|
88 |
"type" => "Advertising" ),
|
89 |
+
"Snapchat Product Catalog" => array (
|
90 |
+
"channel_hash" => md5("Snapchat Product Catalog"),
|
91 |
+
"name" => "Snapchat Product Catalog",
|
92 |
+
"fields" => "snapchat",
|
93 |
+
"taxonomy" => "none",
|
94 |
+
"utm_source" => "snapchat",
|
95 |
+
"type" => "Advertising" ),
|
96 |
),
|
97 |
"Custom Feed" => array (
|
98 |
"Custom Feed" => array (
|
js/woosea_channel.js
CHANGED
@@ -68,6 +68,12 @@ jQuery(document).ready(function($) {
|
|
68 |
$("#fileformat option[value='tsv']").remove();
|
69 |
$("#fileformat option[value='xml']").remove();
|
70 |
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
$('#file').after('<tr id="delimiter"><td><span>Delimiter:</span></td><td><select name="delimiter" class="select-field"><option value=",">, comma</option><option value="|">| pipe</option><option value=";">;</option><option value="tab">tab</option><option value="#">#</option></select></td></tr>');
|
72 |
} else {
|
73 |
$("#fileformat")
|
68 |
$("#fileformat option[value='tsv']").remove();
|
69 |
$("#fileformat option[value='xml']").remove();
|
70 |
|
71 |
+
$('#file').after('<tr id="delimiter"><td><span>Delimiter:</span></td><td><select name="delimiter" class="select-field"><option value=",">, comma</option><option value="|">| pipe</option><option value=";">;</option><option value="tab">tab</option><option value="#">#</option></select></td></tr>');
|
72 |
+
} else if(channel_hash == 'Snapchat Product Catalog'){ // Ugly hack, should be configurable per channel
|
73 |
+
$("#fileformat option[value='tsv']").remove();
|
74 |
+
$("#fileformat option[value='xml']").remove();
|
75 |
+
$("#fileformat option[value='txt']").remove();
|
76 |
+
|
77 |
$('#file').after('<tr id="delimiter"><td><span>Delimiter:</span></td><td><select name="delimiter" class="select-field"><option value=",">, comma</option><option value="|">| pipe</option><option value=";">;</option><option value="tab">tab</option><option value="#">#</option></select></td></tr>');
|
78 |
} else {
|
79 |
$("#fileformat")
|
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.5.
|
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.5.5',
|
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: 8.5.
|
9 |
|
10 |
== Description ==
|
11 |
|
@@ -154,6 +154,7 @@ Some of the above mentioned feature can only be used by users who upgraded to th
|
|
154 |
* Facebook Dynamic Ad’s / remarketing
|
155 |
* Bing Shopping
|
156 |
* Pinterest
|
|
|
157 |
* <a href="https://yandex.com/support/market-tech-requirements/index.html" target="_blank">Yandex</a>
|
158 |
* ShopMania
|
159 |
* Shopping.com
|
@@ -314,6 +315,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
314 |
|
315 |
=== Changelog ===
|
316 |
|
|
|
|
|
|
|
317 |
= 8.5.4 (2020-08-03) =
|
318 |
* Preventing WooCommerce geo service to ignore WCML currency settings
|
319 |
|
@@ -2717,6 +2721,9 @@ Questions left or unanswered? Please do not hesitate to contact us at support@ad
|
|
2717 |
|
2718 |
== Upgrade Notice ==
|
2719 |
|
|
|
|
|
|
|
2720 |
= 8.5.4 =
|
2721 |
Preventing WooCommerce geo service to ignore WCML currency settings
|
2722 |
|
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: 8.5.5
|
9 |
|
10 |
== Description ==
|
11 |
|
154 |
* Facebook Dynamic Ad’s / remarketing
|
155 |
* Bing Shopping
|
156 |
* Pinterest
|
157 |
+
* <a href="https://businesshelp.snapchat.com/en-US/a/product-catalog-specs" target="_blank">Snapchat</a>
|
158 |
* <a href="https://yandex.com/support/market-tech-requirements/index.html" target="_blank">Yandex</a>
|
159 |
* ShopMania
|
160 |
* Shopping.com
|
315 |
|
316 |
=== Changelog ===
|
317 |
|
318 |
+
= 8.5.5 (2020-08-04) =
|
319 |
+
* Added Snapchat product catalog template
|
320 |
+
|
321 |
= 8.5.4 (2020-08-03) =
|
322 |
* Preventing WooCommerce geo service to ignore WCML currency settings
|
323 |
|
2721 |
|
2722 |
== Upgrade Notice ==
|
2723 |
|
2724 |
+
= 8.5.5 =
|
2725 |
+
Added Snapchat product catalog template
|
2726 |
+
|
2727 |
= 8.5.4 =
|
2728 |
Preventing WooCommerce geo service to ignore WCML currency settings
|
2729 |
|
woocommerce-sea.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* Plugin Name: Product Feed PRO for WooCommerce
|
4 |
-
* Version: 8.5.
|
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.5.
|
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.5.5
|
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.5.5' );
|
52 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME', 'woocommerce-product-feed-pro' );
|
53 |
define( 'WOOCOMMERCESEA_PLUGIN_NAME_SHORT', 'woo-product-feed-pro' );
|
54 |
|