Version Description
(2020-08-18) = * Added: Below attributes are added to google shopping template. * min_energy_efficiency_class * max_energy_efficiency_class * ads_redirect * shopping_ads_excluded_country
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.7.0 |
Comparing to | |
See all releases |
Code changes from version 3.6.20 to 3.7.0
- README.txt +9 -1
- includes/classes/class-woo-feed-default-attributes.php +336 -328
- woo-feed.php +2 -2
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags:product feed,woocommerce product feed,google shopping feed,google shopping,
|
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -308,6 +308,14 @@ Using pro version:
|
|
308 |
|
309 |
== Changelog ==
|
310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
= 3.6.20 (2020-08-17) =
|
312 |
* Added: canonical_link attribute added to google shopping template.
|
313 |
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.7.0
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
308 |
|
309 |
== Changelog ==
|
310 |
|
311 |
+
= 3.7.0 (2020-08-18) =
|
312 |
+
* Added: Below attributes are added to google shopping template.
|
313 |
+
* min_energy_efficiency_class
|
314 |
+
* max_energy_efficiency_class
|
315 |
+
* ads_redirect
|
316 |
+
* shopping_ads_excluded_country
|
317 |
+
|
318 |
+
|
319 |
= 3.6.20 (2020-08-17) =
|
320 |
* Added: canonical_link attribute added to google shopping template.
|
321 |
|
includes/classes/class-woo-feed-default-attributes.php
CHANGED
@@ -14,145 +14,146 @@
|
|
14 |
* @author Ohidul Islam <wahid@webappick.com>
|
15 |
*/
|
16 |
class Woo_Feed_Default_Attributes {
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
'canonical_link' => array( 'g:canonical_link', true ),
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
'product_highlight_1'
|
53 |
-
'product_highlight_2'
|
54 |
-
'product_highlight_3'
|
55 |
-
'product_highlight_4'
|
56 |
-
'product_highlight_5'
|
57 |
-
'product_highlight_6'
|
58 |
-
'product_highlight_7'
|
59 |
-
'product_highlight_8'
|
60 |
-
'product_highlight_9'
|
61 |
-
'product_highlight_10'
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
|
|
156 |
'product_highlight_1' => array( 'product highlight 1', true ),
|
157 |
'product_highlight_2' => array( 'product highlight 2', true ),
|
158 |
'product_highlight_3' => array( 'product highlight 3', true ),
|
@@ -163,64 +164,67 @@ class Woo_Feed_Default_Attributes {
|
|
163 |
'product_highlight_8' => array( 'product highlight 8', true ),
|
164 |
'product_highlight_9' => array( 'product highlight 9', true ),
|
165 |
'product_highlight_10' => array( 'product highlight 10', true ),
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
|
|
|
|
|
|
224 |
public $facebookXMLAttribute
|
225 |
= array(
|
226 |
'id' => array( 'g:id', false ),
|
@@ -549,64 +553,64 @@ class Woo_Feed_Default_Attributes {
|
|
549 |
* @return array
|
550 |
*/
|
551 |
public function googleAttributes() {
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
-
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
|
560 |
-
|
561 |
-
|
562 |
-
|
563 |
-
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
569 |
-
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
|
579 |
-
|
580 |
-
|
581 |
-
|
582 |
-
|
583 |
-
|
584 |
-
|
585 |
-
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
595 |
-
|
596 |
-
|
597 |
-
|
598 |
-
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
|
603 |
-
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
609 |
-
|
610 |
'product_highlight_1' => 'Product Highlight 1[product_highlight]',
|
611 |
'product_highlight_2' => 'Product Highlight 2[product_highlight]',
|
612 |
'product_highlight_3' => 'Product Highlight 3[product_highlight]',
|
@@ -620,80 +624,84 @@ class Woo_Feed_Default_Attributes {
|
|
620 |
'section_name' => 'Section Name (Product Detail)[section_name]',
|
621 |
'attribute_name' => 'Attribute Name (Product Detail)[attribute_name]',
|
622 |
'attribute_value' => 'Attribute Value (Product Detail)[attribute_value]',
|
623 |
-
|
624 |
-
|
625 |
-
|
626 |
-
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
|
631 |
-
|
632 |
-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
|
644 |
-
|
645 |
-
|
646 |
-
|
647 |
-
|
648 |
-
|
649 |
-
|
650 |
-
|
651 |
-
|
652 |
-
|
653 |
-
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
673 |
-
|
674 |
-
|
675 |
-
|
676 |
-
|
677 |
-
|
678 |
-
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
|
688 |
-
|
689 |
-
|
690 |
-
|
691 |
-
|
692 |
-
|
693 |
-
|
694 |
-
|
695 |
-
|
696 |
-
|
|
|
|
|
|
|
|
|
697 |
}
|
698 |
|
699 |
/**
|
14 |
* @author Ohidul Islam <wahid@webappick.com>
|
15 |
*/
|
16 |
class Woo_Feed_Default_Attributes {
|
17 |
+
|
18 |
+
public $googleXMLAttribute
|
19 |
+
= array(
|
20 |
+
'id' => array( 'g:id', false ),
|
21 |
+
'title' => array( 'title', true ),
|
22 |
+
'description' => array( 'description', true ),
|
23 |
+
'link' => array( 'link', true ),
|
24 |
'canonical_link' => array( 'g:canonical_link', true ),
|
25 |
+
'mobile_link' => array( 'mobile_link', true ),
|
26 |
+
'product_type' => array( 'g:product_type', true ),
|
27 |
+
'current_category' => array( 'g:google_product_category', true ),
|
28 |
+
'image' => array( 'g:image_link', true ),
|
29 |
+
'images' => array( 'g:additional_image_link', false ),
|
30 |
+
'images_1' => array( 'g:additional_image_link_1', true ),
|
31 |
+
'images_2' => array( 'g:additional_image_link_2', true ),
|
32 |
+
'images_3' => array( 'g:additional_image_link_3', true ),
|
33 |
+
'images_4' => array( 'g:additional_image_link_4', true ),
|
34 |
+
'images_5' => array( 'g:additional_image_link_5', true ),
|
35 |
+
'images_6' => array( 'g:additional_image_link_6', true ),
|
36 |
+
'images_7' => array( 'g:additional_image_link_7', true ),
|
37 |
+
'images_8' => array( 'g:additional_image_link_8', true ),
|
38 |
+
'images_9' => array( 'g:additional_image_link_9', true ),
|
39 |
+
'images_10' => array( 'g:additional_image_link_10', true ),
|
40 |
+
'condition' => array( 'g:condition', false ),
|
41 |
+
'availability' => array( 'g:availability', false ),
|
42 |
+
'availability_date' => array( 'g:availability_date', false ),
|
43 |
+
'inventory' => array( 'g:inventory', false ),
|
44 |
+
'price' => array( 'g:price', true ),
|
45 |
+
'sale_price' => array( 'g:sale_price', true ),
|
46 |
+
'sale_price_effective_date' => array( 'g:sale_price_effective_date', true ),
|
47 |
+
'brand' => array( 'g:brand', true ),
|
48 |
+
'sku' => array( 'g:mpn', true ),
|
49 |
+
'upc' => array( 'g:gtin', true ),
|
50 |
+
'identifier_exists' => array( 'g:identifier_exists', true ),
|
51 |
+
'item_group_id' => array( 'g:item_group_id', false ),
|
52 |
+
'product_highlight_1' => array( 'g:product_highlight', true ),
|
53 |
+
'product_highlight_2' => array( 'g:product_highlight', true ),
|
54 |
+
'product_highlight_3' => array( 'g:product_highlight', true ),
|
55 |
+
'product_highlight_4' => array( 'g:product_highlight', true ),
|
56 |
+
'product_highlight_5' => array( 'g:product_highlight', true ),
|
57 |
+
'product_highlight_6' => array( 'g:product_highlight', true ),
|
58 |
+
'product_highlight_7' => array( 'g:product_highlight', true ),
|
59 |
+
'product_highlight_8' => array( 'g:product_highlight', true ),
|
60 |
+
'product_highlight_9' => array( 'g:product_highlight', true ),
|
61 |
+
'product_highlight_10' => array( 'g:product_highlight', true ),
|
62 |
+
'color' => array( 'g:color', true ),
|
63 |
+
'gender' => array( 'g:gender', true ),
|
64 |
+
'age_group' => array( 'g:age_group', true ),
|
65 |
+
'material' => array( 'g:material', true ),
|
66 |
+
'pattern' => array( 'g:pattern', true ),
|
67 |
+
'size' => array( 'g:size', true ),
|
68 |
+
'size_type' => array( 'g:size_type', true ),
|
69 |
+
'size_system' => array( 'g:size_system', true ),
|
70 |
+
'tax' => array( 'tax', true ),
|
71 |
+
'tax_country' => array( 'g:tax_country', true ),
|
72 |
+
'tax_region' => array( 'g:tax_region', true ),
|
73 |
+
'tax_rate' => array( 'g:tax_rate', true ),
|
74 |
+
'tax_ship' => array( 'g:tax_ship', true ),
|
75 |
+
'tax_category' => array( 'g:tax_category', true ),
|
76 |
+
'weight' => array( 'g:shipping_weight', false ),
|
77 |
+
'length' => array( 'g:shipping_length', false ),
|
78 |
+
'width' => array( 'g:shipping_width', false ),
|
79 |
+
'height' => array( 'g:shipping_height', false ),
|
80 |
+
'shipping_label' => array( 'g:shipping_label', false ),
|
81 |
+
'shipping_country' => array( 'g:shipping_country', false ),
|
82 |
+
'shipping_service' => array( 'g:shipping_service', false ),
|
83 |
+
'shipping_price' => array( 'g:shipping_price', false ),
|
84 |
+
'shipping_region' => array( 'g:shipping_region', false ),
|
85 |
+
'multipack' => array( 'g:multipack', true ),
|
86 |
+
'is_bundle' => array( 'g:is_bundle', true ),
|
87 |
+
'adult' => array( 'g:adult', true ),
|
88 |
+
'ads_redirect' => array( 'g:ads_redirect', true ),
|
89 |
+
'custom_label_0' => array( 'g:custom_label_0', true ),
|
90 |
+
'custom_label_1' => array( 'g:custom_label_1', true ),
|
91 |
+
'custom_label_2' => array( 'g:custom_label_2', true ),
|
92 |
+
'custom_label_3' => array( 'g:custom_label_3', true ),
|
93 |
+
'custom_label_4' => array( 'g:custom_label_4', true ),
|
94 |
+
'excluded_destination' => array( 'g:excluded_destination', true ),
|
95 |
+
'shopping_ads_excluded_country' => array( 'g:shopping_ads_excluded_country', true ),
|
96 |
+
'included_destination' => array( 'g:included_destination', true ),
|
97 |
+
'expiration_date' => array( 'g:expiration_date', true ),
|
98 |
+
'unit_pricing_measure' => array( 'g:unit_pricing_measure', true ),
|
99 |
+
'unit_pricing_base_measure' => array( 'g:unit_pricing_base_measure', true ),
|
100 |
+
'installment_months' => array( 'g:months', true ),
|
101 |
+
'installment_amount' => array( 'g:amount', true ),
|
102 |
+
'subscription_period' => array( 'g:period', true ),
|
103 |
+
'subscription_period_length' => array( 'g:period_length', true ),
|
104 |
+
'subscription_amount' => array( 'g:amount', true ),
|
105 |
+
'energy_efficiency_class' => array( 'g:energy_efficiency_class', true ),
|
106 |
+
'min_energy_efficiency_class' => array( 'g:min_energy_efficiency_class', true ),
|
107 |
+
'max_energy_efficiency_class' => array( 'g:max_energy_efficiency_class', true ),
|
108 |
+
'loyalty_points' => array( 'g:loyalty_points', true ),
|
109 |
+
'installment' => array( 'g:installment', true ),
|
110 |
+
'promotion_id' => array( 'g:promotion_id', true ),
|
111 |
+
'cost_of_goods_sold' => array( 'g:cost_of_goods_sold', true ),
|
112 |
+
'sell_on_google_quantity' => array( 'g:sell_on_google_quantity', false ),
|
113 |
+
'min_handling_time' => array( 'g:min_handling_time', false ),
|
114 |
+
'max_handling_time' => array( 'g:max_handling_time', false ),
|
115 |
+
'transit_time_label' => array( 'g:transit_time_label', false ),
|
116 |
+
'return_address_label' => array( 'g:return_address_label', false ),
|
117 |
+
'return_policy_label' => array( 'g:return_policy_label', false ),
|
118 |
+
'google_funded_promotion_eligibility' => array(
|
119 |
+
'g:google_funded_promotion_eligibility',
|
120 |
+
false,
|
121 |
+
),
|
122 |
+
);
|
123 |
+
public $googleCSVTXTAttribute
|
124 |
+
= array(
|
125 |
+
'id' => array( 'id', false ),
|
126 |
+
'title' => array( 'title', true ),
|
127 |
+
'description' => array( 'description', true ),
|
128 |
+
'link' => array( 'link', true ),
|
129 |
+
'canonical_link' => array( 'canonical link', true ),
|
130 |
+
'mobile_link' => array( 'mobile_link', true ),
|
131 |
+
'product_type' => array( 'product type', true ),
|
132 |
+
'current_category' => array( 'google product category', true ),
|
133 |
+
'image' => array( 'image link', true ),
|
134 |
+
'images' => array( 'additional image link', true ),
|
135 |
+
'images_1' => array( 'additional image link 1', true ),
|
136 |
+
'images_2' => array( 'additional image link 2', true ),
|
137 |
+
'images_3' => array( 'additional image link 3', true ),
|
138 |
+
'images_4' => array( 'additional image link 4', true ),
|
139 |
+
'images_5' => array( 'additional image link 5', true ),
|
140 |
+
'images_6' => array( 'additional image link 6', true ),
|
141 |
+
'images_7' => array( 'additional image link 7', true ),
|
142 |
+
'images_8' => array( 'additional image link 8', true ),
|
143 |
+
'images_9' => array( 'additional image link 9', true ),
|
144 |
+
'images_10' => array( 'additional image link 10', true ),
|
145 |
+
'condition' => array( 'condition', false ),
|
146 |
+
'availability' => array( 'availability', false ),
|
147 |
+
'availability_date' => array( 'availability date', false ),
|
148 |
+
'inventory' => array( 'inventory', false ),
|
149 |
+
'price' => array( 'price', true ),
|
150 |
+
'sale_price' => array( 'sale price', true ),
|
151 |
+
'sale_price_effective_date' => array( 'sale price effective date', true ),
|
152 |
+
'brand' => array( 'brand', true ),
|
153 |
+
'sku' => array( 'mpn', true ),
|
154 |
+
'upc' => array( 'gtin', true ),
|
155 |
+
'identifier_exists' => array( 'identifier exists', true ),
|
156 |
+
'item_group_id' => array( 'item group id', false ),
|
157 |
'product_highlight_1' => array( 'product highlight 1', true ),
|
158 |
'product_highlight_2' => array( 'product highlight 2', true ),
|
159 |
'product_highlight_3' => array( 'product highlight 3', true ),
|
164 |
'product_highlight_8' => array( 'product highlight 8', true ),
|
165 |
'product_highlight_9' => array( 'product highlight 9', true ),
|
166 |
'product_highlight_10' => array( 'product highlight 10', true ),
|
167 |
+
'color' => array( 'color', true ),
|
168 |
+
'gender' => array( 'gender', true ),
|
169 |
+
'age_group' => array( 'age group', true ),
|
170 |
+
'material' => array( 'material', true ),
|
171 |
+
'pattern' => array( 'pattern', true ),
|
172 |
+
'size' => array( 'size', true ),
|
173 |
+
'size_type' => array( 'size type', true ),
|
174 |
+
'size_system' => array( 'size system', true ),
|
175 |
+
'tax' => array( 'tax', true ),
|
176 |
+
'tax_country' => array( 'tax country', true ),
|
177 |
+
'tax_region' => array( 'tax region', true ),
|
178 |
+
'tax_rate' => array( 'tax rate', true ),
|
179 |
+
'tax_ship' => array( 'tax ship', true ),
|
180 |
+
'tax_category' => array( 'tax category', true ),
|
181 |
+
'weight' => array( 'shipping weight', false ),
|
182 |
+
'length' => array( 'shipping length', false ),
|
183 |
+
'width' => array( 'shipping width', false ),
|
184 |
+
'height' => array( 'shipping height', false ),
|
185 |
+
'shipping_label' => array( 'shipping label', false ),
|
186 |
+
'shipping_country' => array( 'shipping country', false ),
|
187 |
+
'shipping_service' => array( 'shipping service', false ),
|
188 |
+
'shipping_price' => array( 'shipping price', false ),
|
189 |
+
'shipping_region' => array( 'shipping region', false ),
|
190 |
+
'multipack' => array( 'multipack', true ),
|
191 |
+
'is_bundle' => array( 'is bundle', true ),
|
192 |
+
'adult' => array( 'adult', true ),
|
193 |
+
'ads_redirect' => array( 'ads redirect', true ),
|
194 |
+
'custom_label_0' => array( 'custom label 0', true ),
|
195 |
+
'custom_label_1' => array( 'custom label 1', true ),
|
196 |
+
'custom_label_2' => array( 'custom label 2', true ),
|
197 |
+
'custom_label_3' => array( 'custom label 3', true ),
|
198 |
+
'custom_label_4' => array( 'custom label 4', true ),
|
199 |
+
'excluded_destination' => array( 'excluded destination', true ),
|
200 |
+
'shopping_ads_excluded_country' => array( 'shopping ads excluded country', true ),
|
201 |
+
'included_destination' => array( 'included destination', true ),
|
202 |
+
'expiration_date' => array( 'expiration date', true ),
|
203 |
+
'unit_pricing_measure' => array( 'unit pricing measure', true ),
|
204 |
+
'unit_pricing_base_measure' => array( 'unit pricing base measure', true ),
|
205 |
+
'installment_months' => array( 'months', true ),
|
206 |
+
'installment_amount' => array( 'amount', true ),
|
207 |
+
'subscription_period' => array( 'period', true ),
|
208 |
+
'subscription_period_length' => array( 'period_length', true ),
|
209 |
+
'subscription_amount' => array( 'amount', true ),
|
210 |
+
'energy_efficiency_class' => array( 'energy efficiency class', true ),
|
211 |
+
'min_energy_efficiency_class' => array( 'min energy efficiency class', true ),
|
212 |
+
'max_energy_efficiency_class' => array( 'max energy efficiency class', true ),
|
213 |
+
'loyalty_points' => array( 'loyalty points', true ),
|
214 |
+
'installment' => array( 'installment', true ),
|
215 |
+
'promotion_id' => array( 'promotion id', true ),
|
216 |
+
'cost_of_goods_sold' => array( 'cost of goods sold', true ),
|
217 |
+
'sell_on_google_quantity' => array( 'sell on google quantity', false ),
|
218 |
+
'min_handling_time' => array( 'min handling time', false ),
|
219 |
+
'max_handling_time' => array( 'max handling time', false ),
|
220 |
+
'transit_time_label' => array( 'transit time label', false ),
|
221 |
+
'return_address_label' => array( 'return address label', false ),
|
222 |
+
'return_policy_label' => array( 'return policy label', false ),
|
223 |
+
'google_funded_promotion_eligibility' => array(
|
224 |
+
'google funded promotion eligibility',
|
225 |
+
false,
|
226 |
+
),
|
227 |
+
);
|
228 |
public $facebookXMLAttribute
|
229 |
= array(
|
230 |
'id' => array( 'g:id', false ),
|
553 |
* @return array
|
554 |
*/
|
555 |
public function googleAttributes() {
|
556 |
+
return array(
|
557 |
+
'--1' => 'Basic Information',
|
558 |
+
'id' => 'Product Id[id]',
|
559 |
+
'title' => 'Product Title[title]',
|
560 |
+
'description' => 'Product Description[description]',
|
561 |
+
'link' => 'Product URL[link]',
|
562 |
+
'canonical_link' => 'Canonical Link[canonical_link]',
|
563 |
+
'mobile_link' => 'Product URL[mobile_link]',
|
564 |
+
'product_type' => 'Product Categories[product_type] ',
|
565 |
+
'current_category' => 'Google Product Category[google_product_category]',
|
566 |
+
'image' => 'Main Image[image_link]',
|
567 |
+
'images' => 'Additional Images [additional_image_link]',
|
568 |
+
'images_1' => 'Additional Image 1 [additional_image_link]',
|
569 |
+
'images_2' => 'Additional Image 2 [additional_image_link]',
|
570 |
+
'images_3' => 'Additional Image 3 [additional_image_link]',
|
571 |
+
'images_4' => 'Additional Image 4 [additional_image_link]',
|
572 |
+
'images_5' => 'Additional Image 5 [additional_image_link]',
|
573 |
+
'images_6' => 'Additional Image 6 [additional_image_link]',
|
574 |
+
'images_7' => 'Additional Image 7 [additional_image_link]',
|
575 |
+
'images_8' => 'Additional Image 8 [additional_image_link]',
|
576 |
+
'images_9' => 'Additional Image 9 [additional_image_link]',
|
577 |
+
'images_10' => 'Additional Image 10 [additional_image_link]',
|
578 |
+
'condition' => 'Condition[condition]',
|
579 |
+
'---1' => '',
|
580 |
+
'--2' => 'Availability & Price',
|
581 |
+
'availability' => 'Stock Status[availability]',
|
582 |
+
'availability_date' => 'Availability Date[availability_date]',
|
583 |
+
'inventory' => 'Facebook Inventory[inventory]',
|
584 |
+
'override' => 'Facebook Override[override]',
|
585 |
+
'price' => 'Regular Price[price]',
|
586 |
+
'sale_price' => 'Sale Price[sale_price]',
|
587 |
+
'cost_of_goods_sold' => 'Cost of Goods Sold[cost_of_goods_sold]',
|
588 |
+
'sale_price_effective_date' => 'Sale Price Effective Date[sale_price_effective_date]',
|
589 |
+
'---2' => '',
|
590 |
+
'--3' => 'Unique Product Identifiers',
|
591 |
+
'brand' => 'Manufacturer[brand]',
|
592 |
+
'upc' => 'GTIN[gtin]',
|
593 |
+
'sku' => 'MPN[mpn]',
|
594 |
+
'identifier_exists' => 'Identifier Exist[identifier_exists]',
|
595 |
+
'image_link_2' => 'Image 2',
|
596 |
+
'image_link_3' => 'Image 3',
|
597 |
+
'image_link_4' => 'Image 4',
|
598 |
+
'image_link_5' => 'Image 5',
|
599 |
+
'image_link_6' => 'Image 6',
|
600 |
+
'image_link_7' => 'Image 7',
|
601 |
+
'image_link_8' => 'Image 8',
|
602 |
+
'image_link_9' => 'Image 9',
|
603 |
+
'---3' => '',
|
604 |
+
'--4' => 'Detailed Product Attributes',
|
605 |
+
'item_group_id' => 'Item Group Id[item_group_id]',
|
606 |
+
'color' => 'Color[color]',
|
607 |
+
'gender' => 'Gender[gender]',
|
608 |
+
'age_group' => 'Age Group[age_group]',
|
609 |
+
'material' => 'Material[material]',
|
610 |
+
'pattern' => 'Pattern[pattern]',
|
611 |
+
'size' => 'Size of the item[size]',
|
612 |
+
'size_type' => 'Size Type[size_type]',
|
613 |
+
'size_system' => 'Size System[size_system]',
|
614 |
'product_highlight_1' => 'Product Highlight 1[product_highlight]',
|
615 |
'product_highlight_2' => 'Product Highlight 2[product_highlight]',
|
616 |
'product_highlight_3' => 'Product Highlight 3[product_highlight]',
|
624 |
'section_name' => 'Section Name (Product Detail)[section_name]',
|
625 |
'attribute_name' => 'Attribute Name (Product Detail)[attribute_name]',
|
626 |
'attribute_value' => 'Attribute Value (Product Detail)[attribute_value]',
|
627 |
+
'---4' => '',
|
628 |
+
'--5' => 'Tax & Shipping',
|
629 |
+
'tax' => 'Tax[tax]',
|
630 |
+
'tax_country' => 'Tax Country[tax_country]',
|
631 |
+
'tax_region' => 'Tax Region[tax_region]',
|
632 |
+
'tax_rate' => 'Tax Rate[tax_rate]',
|
633 |
+
'tax_ship' => 'Tax Ship[tax_ship]',
|
634 |
+
'tax_category' => 'Tax[tax_category]',
|
635 |
+
'shipping_country' => 'Shipping Country',
|
636 |
+
'shipping_region' => 'Shipping Region',
|
637 |
+
'shipping_service' => 'Shipping Service',
|
638 |
+
'shipping_price' => 'Shipping Price',
|
639 |
+
'weight' => 'Shipping Weight[shipping_weight]',
|
640 |
+
'length' => 'Shipping Length[shipping_length]',
|
641 |
+
'width' => 'Shipping Width[shipping_width]',
|
642 |
+
'height' => 'Shipping Height[shipping_height]',
|
643 |
+
'shipping_label' => 'Shipping Label[shipping_label]',
|
644 |
+
'material_1' => 'The primary material',
|
645 |
+
'material_2' => 'The secondary material',
|
646 |
+
'material_3' => 'The tertiary material',
|
647 |
+
'---5' => '',
|
648 |
+
'--6' => 'Product Combinations',
|
649 |
+
'multipack' => 'Multipack[multipack]',
|
650 |
+
'is_bundle' => 'Is Bundle[is_bundle]',
|
651 |
+
'---6' => '',
|
652 |
+
'--7' => 'Adult Products',
|
653 |
+
'adult' => 'Adult[adult]',
|
654 |
+
'---7' => '',
|
655 |
+
'--8' => 'Ads Attributes',
|
656 |
+
'ads_redirect' => 'Ads Redirect[ads_redirect]',
|
657 |
+
'---8' => '',
|
658 |
+
'--9' => 'Custom Label Attributes',
|
659 |
+
'custom_label_0' => 'Custom label 0 [custom_label_0]',
|
660 |
+
'custom_label_1' => 'Custom label 1 [custom_label_1]',
|
661 |
+
'custom_label_2' => 'Custom label 2 [custom_label_2]',
|
662 |
+
'custom_label_3' => 'Custom label 3 [custom_label_3]',
|
663 |
+
'custom_label_4' => 'Custom label 4 [custom_label_4]',
|
664 |
+
'---9' => '',
|
665 |
+
'--10' => 'Additional Attributes',
|
666 |
+
'excluded_destination' => 'Excluded Destination[excluded_destination]',
|
667 |
+
'shopping_ads_excluded_country' => 'Shopping Ads Excluded Country[shopping_ads_excluded_country]',
|
668 |
+
'included_destination' => 'Included Destination[included_destination]',
|
669 |
+
'expiration_date' => 'Expiration Date [expiration_date]',
|
670 |
+
'transit_time_label' => 'Transit Time [transit_time_label]',
|
671 |
+
'---10' => '',
|
672 |
+
'--11' => 'Unit Prices (EU Countries and Switzerland Only)',
|
673 |
+
'unit_pricing_measure' => 'Unit Pricing Measure[unit_pricing_measure]',
|
674 |
+
'unit_pricing_base_measure' => 'Unit Pricing Base Measure[unit_pricing_base_measure]',
|
675 |
+
'installment_months' => 'Installment Months[months]',
|
676 |
+
'installment_amount' => 'Installment Amount[amount]',
|
677 |
+
'subscription_period' => 'Subscription Period[period]',
|
678 |
+
'subscription_period_length' => 'Subscription Period Length[period_length]',
|
679 |
+
'subscription_amount' => 'Subscription Amount[amount]',
|
680 |
+
'loyalty_points' => 'Loyalty Points[loyalty_points]',
|
681 |
+
'---11' => '',
|
682 |
+
'--12' => 'Energy Labels',
|
683 |
+
'energy_efficiency_class' => 'Energy Efficiency Class[energy_efficiency_class]',
|
684 |
+
'min_energy_efficiency_class' => 'Min Energy Efficiency Class[energy_efficiency_class]',
|
685 |
+
'max_energy_efficiency_class' => 'Max Energy Efficiency Class[energy_efficiency_class]',
|
686 |
+
'---12' => '',
|
687 |
+
'--13' => 'Loyalty Points (Japan Only)',
|
688 |
+
'loyalty_points' => 'loyalty_points[loyalty_points]',
|
689 |
+
'---13' => '',
|
690 |
+
'--14' => 'Multiple Installments (Brazil Only)',
|
691 |
+
'installment' => 'Installment[installment]',
|
692 |
+
'---14' => '',
|
693 |
+
'--15' => 'Merchant Promotions Attribute',
|
694 |
+
'promotion_id' => 'Promotion Id[promotion_id]',
|
695 |
+
'---15' => '',
|
696 |
+
'--16' => 'Shopping Action Attributes',
|
697 |
+
'sell_on_google_quantity' => 'Number of Product Sold On Google [sell_on_google_quantity]',
|
698 |
+
'min_handling_time' => 'Minimum Handling Time [min_handling_time]',
|
699 |
+
'max_handling_time' => 'Maximum Handling Time [max_handling_time]',
|
700 |
+
'return_address_label' => 'Return Address [return_address_label]',
|
701 |
+
'return_policy_label' => 'Return Policy [return_policy_label]',
|
702 |
+
'google_funded_promotion_eligibility' => 'Google Funded Promotion Eligibility [google_funded_promotion_eligibility]',
|
703 |
+
'---16' => '',
|
704 |
+
);
|
705 |
}
|
706 |
|
707 |
/**
|
woo-feed.php
CHANGED
@@ -11,7 +11,7 @@
|
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
*
|
14 |
-
* Version: 3.
|
15 |
* Author: WebAppick
|
16 |
* Author URI: https://webappick.com/
|
17 |
* License: GPL v2
|
@@ -39,7 +39,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
|
|
39 |
* @var string
|
40 |
* @since 3.1.6
|
41 |
*/
|
42 |
-
define( 'WOO_FEED_FREE_VERSION', '3.
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
*
|
14 |
+
* Version: 3.7.0
|
15 |
* Author: WebAppick
|
16 |
* Author URI: https://webappick.com/
|
17 |
* License: GPL v2
|
39 |
* @var string
|
40 |
* @since 3.1.6
|
41 |
*/
|
42 |
+
define( 'WOO_FEED_FREE_VERSION', '3.7.0' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|