CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.7.0

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 Icon 128x128 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 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.6.20
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
- 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
- // 'section_name' => array( 'g:section_name', true ),
63
- // 'attribute_name' => array( 'g:attribute_name', true ),
64
- // 'attribute_value' => array( 'g:attribute_value', true ),
65
- 'color' => array( 'g:color', true ),
66
- 'gender' => array( 'g:gender', true ),
67
- 'age_group' => array( 'g:age_group', true ),
68
- 'material' => array( 'g:material', true ),
69
- 'pattern' => array( 'g:pattern', true ),
70
- 'size' => array( 'g:size', true ),
71
- 'size_type' => array( 'g:size_type', true ),
72
- 'size_system' => array( 'g:size_system', true ),
73
- 'tax' => array( 'tax', true ),
74
- 'tax_country' => array( 'g:tax_country', true ),
75
- 'tax_region' => array( 'g:tax_region', true ),
76
- 'tax_rate' => array( 'g:tax_rate', true ),
77
- 'tax_ship' => array( 'g:tax_ship', true ),
78
- 'tax_category' => array( 'g:tax_category', true ),
79
- 'weight' => array( 'g:shipping_weight', false ),
80
- 'length' => array( 'g:shipping_length', false ),
81
- 'width' => array( 'g:shipping_width', false ),
82
- 'height' => array( 'g:shipping_height', false ),
83
- 'shipping_label' => array( 'g:shipping_label', false ),
84
- 'shipping_country' => array( 'g:shipping_country', false ),
85
- 'shipping_service' => array( 'g:shipping_service', false ),
86
- 'shipping_price' => array( 'g:shipping_price', false ),
87
- 'shipping_region' => array( 'g:shipping_region', false ),
88
- 'multipack' => array( 'g:multipack', true ),
89
- 'is_bundle' => array( 'g:is_bundle', true ),
90
- 'adult' => array( 'g:adult', true ),
91
- 'adwords_redirect' => array( 'g:adwords_redirect', true ),
92
- 'custom_label_0' => array( 'g:custom_label_0', true ),
93
- 'custom_label_1' => array( 'g:custom_label_1', true ),
94
- 'custom_label_2' => array( 'g:custom_label_2', true ),
95
- 'custom_label_3' => array( 'g:custom_label_3', true ),
96
- 'custom_label_4' => array( 'g:custom_label_4', true ),
97
- 'excluded_destination' => array( 'g:excluded_destination', true ),
98
- 'included_destination' => array( 'g:included_destination', true ),
99
- 'expiration_date' => array( 'g:expiration_date', true ),
100
- 'unit_pricing_measure' => array( 'g:unit_pricing_measure', true ),
101
- 'unit_pricing_base_measure' => array( 'g:unit_pricing_base_measure', true ),
102
- 'installment_months' => array( 'g:months', true ),
103
- 'installment_amount' => array( 'g:amount', true ),
104
- 'subscription_period' => array( 'g:period', true ),
105
- 'subscription_period_length' => array( 'g:period_length', true ),
106
- 'subscription_amount' => array( 'g:amount', true ),
107
- 'energy_efficiency_class' => array( 'g: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
- 'mobile_link' => array( 'mobile_link', true ),
130
- 'product_type' => array( 'product type', true ),
131
- 'current_category' => array( 'google product category', true ),
132
- 'image' => array( 'image link', true ),
133
- 'images' => array( 'additional image link', true ),
134
- 'images_1' => array( 'additional image link 1', true ),
135
- 'images_2' => array( 'additional image link 2', true ),
136
- 'images_3' => array( 'additional image link 3', true ),
137
- 'images_4' => array( 'additional image link 4', true ),
138
- 'images_5' => array( 'additional image link 5', true ),
139
- 'images_6' => array( 'additional image link 6', true ),
140
- 'images_7' => array( 'additional image link 7', true ),
141
- 'images_8' => array( 'additional image link 8', true ),
142
- 'images_9' => array( 'additional image link 9', true ),
143
- 'images_10' => array( 'additional image link 10', true ),
144
- 'condition' => array( 'condition', false ),
145
- 'availability' => array( 'availability', false ),
146
- 'availability_date' => array( 'availability date', false ),
147
- 'inventory' => array( 'inventory', false ),
148
- 'price' => array( 'price', true ),
149
- 'sale_price' => array( 'sale price', true ),
150
- 'sale_price_effective_date' => array( 'sale price effective date', true ),
151
- 'brand' => array( 'brand', true ),
152
- 'sku' => array( 'mpn', true ),
153
- 'upc' => array( 'gtin', true ),
154
- 'identifier_exists' => array( 'identifier exists', true ),
155
- 'item_group_id' => array( 'item group id', false ),
 
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
- 'color' => array( 'color', true ),
167
- 'gender' => array( 'gender', true ),
168
- 'age_group' => array( 'age group', true ),
169
- 'material' => array( 'material', true ),
170
- 'pattern' => array( 'pattern', true ),
171
- 'size' => array( 'size', true ),
172
- 'size_type' => array( 'size type', true ),
173
- 'size_system' => array( 'size system', true ),
174
- 'tax' => array( 'tax', true ),
175
- 'tax_country' => array( 'tax country', true ),
176
- 'tax_region' => array( 'tax region', true ),
177
- 'tax_rate' => array( 'tax rate', true ),
178
- 'tax_ship' => array( 'tax ship', true ),
179
- 'tax_category' => array( 'tax category', true ),
180
- 'weight' => array( 'shipping weight', false ),
181
- 'length' => array( 'shipping length', false ),
182
- 'width' => array( 'shipping width', false ),
183
- 'height' => array( 'shipping height', false ),
184
- 'shipping_label' => array( 'shipping label', false ),
185
- 'shipping_country' => array( 'shipping country', false ),
186
- 'shipping_service' => array( 'shipping service', false ),
187
- 'shipping_price' => array( 'shipping price', false ),
188
- 'shipping_region' => array( 'shipping region', false ),
189
- 'multipack' => array( 'multipack', true ),
190
- 'is_bundle' => array( 'is bundle', true ),
191
- 'adult' => array( 'adult', true ),
192
- 'adwords_redirect' => array( 'adwords redirect', true ),
193
- 'custom_label_0' => array( 'custom label 0', true ),
194
- 'custom_label_1' => array( 'custom label 1', true ),
195
- 'custom_label_2' => array( 'custom label 2', true ),
196
- 'custom_label_3' => array( 'custom label 3', true ),
197
- 'custom_label_4' => array( 'custom label 4', true ),
198
- 'excluded_destination' => array( 'excluded destination', true ),
199
- 'included_destination' => array( 'included destination', true ),
200
- 'expiration_date' => array( 'expiration date', true ),
201
- 'unit_pricing_measure' => array( 'unit pricing measure', true ),
202
- 'unit_pricing_base_measure' => array( 'unit pricing base measure', true ),
203
- 'installment_months' => array( 'months', true ),
204
- 'installment_amount' => array( 'amount', true ),
205
- 'subscription_period' => array( 'period', true ),
206
- 'subscription_period_length' => array( 'period_length', true ),
207
- 'subscription_amount' => array( 'amount', true ),
208
- 'energy_efficiency_class' => array( 'energy efficiency class', true ),
209
- 'loyalty_points' => array( 'loyalty points', true ),
210
- 'installment' => array( 'installment', true ),
211
- 'promotion_id' => array( 'promotion id', true ),
212
- 'cost_of_goods_sold' => array( 'cost of goods sold', true ),
213
- 'sell_on_google_quantity' => array( 'sell on google quantity', false ),
214
- 'min_handling_time' => array( 'min handling time', false ),
215
- 'max_handling_time' => array( 'max handling time', false ),
216
- 'transit_time_label' => array( 'transit time label', false ),
217
- 'return_address_label' => array( 'return address label', false ),
218
- 'return_policy_label' => array( 'return policy label', false ),
219
- 'google_funded_promotion_eligibility' => array(
220
- 'google funded promotion eligibility',
221
- false,
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
- return array(
553
- '--1' => 'Basic Information',
554
- 'id' => 'Product Id[id]',
555
- 'title' => 'Product Title[title]',
556
- 'description' => 'Product Description[description]',
557
- 'link' => 'Product URL[link]',
558
- 'canonical_link' => 'Canonical Link[canonical_link]',
559
- 'mobile_link' => 'Product URL[mobile_link]',
560
- 'product_type' => 'Product Categories[product_type] ',
561
- 'current_category' => 'Google Product Category[google_product_category]',
562
- 'image' => 'Main Image[image_link]',
563
- 'images' => 'Additional Images [additional_image_link]',
564
- 'images_1' => 'Additional Image 1 [additional_image_link]',
565
- 'images_2' => 'Additional Image 2 [additional_image_link]',
566
- 'images_3' => 'Additional Image 3 [additional_image_link]',
567
- 'images_4' => 'Additional Image 4 [additional_image_link]',
568
- 'images_5' => 'Additional Image 5 [additional_image_link]',
569
- 'images_6' => 'Additional Image 6 [additional_image_link]',
570
- 'images_7' => 'Additional Image 7 [additional_image_link]',
571
- 'images_8' => 'Additional Image 8 [additional_image_link]',
572
- 'images_9' => 'Additional Image 9 [additional_image_link]',
573
- 'images_10' => 'Additional Image 10 [additional_image_link]',
574
- 'condition' => 'Condition[condition]',
575
- '---1' => '',
576
- '--2' => 'Availability & Price',
577
- 'availability' => 'Stock Status[availability]',
578
- 'availability_date' => 'Availability Date[availability_date]',
579
- 'inventory' => 'Facebook Inventory[inventory]',
580
- 'override' => 'Facebook Override[override]',
581
- 'price' => 'Regular Price[price]',
582
- 'sale_price' => 'Sale Price[sale_price]',
583
- 'cost_of_goods_sold' => 'Cost of Goods Sold[cost_of_goods_sold]',
584
- 'sale_price_effective_date' => 'Sale Price Effective Date[sale_price_effective_date]',
585
- '---2' => '',
586
- '--3' => 'Unique Product Identifiers',
587
- 'brand' => 'Manufacturer[brand]',
588
- 'upc' => 'GTIN[gtin]',
589
- 'sku' => 'MPN[mpn]',
590
- 'identifier_exists' => 'Identifier Exist[identifier_exists]',
591
- 'image_link_2' => 'Image 2',
592
- 'image_link_3' => 'Image 3',
593
- 'image_link_4' => 'Image 4',
594
- 'image_link_5' => 'Image 5',
595
- 'image_link_6' => 'Image 6',
596
- 'image_link_7' => 'Image 7',
597
- 'image_link_8' => 'Image 8',
598
- 'image_link_9' => 'Image 9',
599
- '---3' => '',
600
- '--4' => 'Detailed Product Attributes',
601
- 'item_group_id' => 'Item Group Id[item_group_id]',
602
- 'color' => 'Color[color]',
603
- 'gender' => 'Gender[gender]',
604
- 'age_group' => 'Age Group[age_group]',
605
- 'material' => 'Material[material]',
606
- 'pattern' => 'Pattern[pattern]',
607
- 'size' => 'Size of the item[size]',
608
- 'size_type' => 'Size Type[size_type]',
609
- 'size_system' => 'Size System[size_system]',
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
- '---4' => '',
624
- '--5' => 'Tax & Shipping',
625
- 'tax' => 'Tax[tax]',
626
- 'tax_country' => 'Tax Country[tax_country]',
627
- 'tax_region' => 'Tax Region[tax_region]',
628
- 'tax_rate' => 'Tax Rate[tax_rate]',
629
- 'tax_ship' => 'Tax Ship[tax_ship]',
630
- 'tax_category' => 'Tax[tax_category]',
631
- 'shipping_country' => 'Shipping Country',
632
- 'shipping_region' => 'Shipping Region',
633
- 'shipping_service' => 'Shipping Service',
634
- 'shipping_price' => 'Shipping Price',
635
- 'weight' => 'Shipping Weight[shipping_weight]',
636
- 'length' => 'Shipping Length[shipping_length]',
637
- 'width' => 'Shipping Width[shipping_width]',
638
- 'height' => 'Shipping Height[shipping_height]',
639
- 'shipping_label' => 'Shipping Label[shipping_label]',
640
- 'material_1' => 'The primary material',
641
- 'material_2' => 'The secondary material',
642
- 'material_3' => 'The tertiary material',
643
- '---5' => '',
644
- '--6' => 'Product Combinations',
645
- 'multipack' => 'Multipack[multipack]',
646
- 'is_bundle' => 'Is Bundle[is_bundle]',
647
- '---6' => '',
648
- '--7' => 'Adult Products',
649
- 'adult' => 'Adult[adult]',
650
- '---7' => '',
651
- '--8' => 'AdWord Attributes',
652
- 'adwords_redirect' => 'Adwords Redirect[adwords_redirect]',
653
- '---8' => '',
654
- '--9' => 'Custom Label Attributes',
655
- 'custom_label_0' => 'Custom label 0 [custom_label_0]',
656
- 'custom_label_1' => 'Custom label 1 [custom_label_1]',
657
- 'custom_label_2' => 'Custom label 2 [custom_label_2]',
658
- 'custom_label_3' => 'Custom label 3 [custom_label_3]',
659
- 'custom_label_4' => 'Custom label 4 [custom_label_4]',
660
- '---9' => '',
661
- '--10' => 'Additional Attributes',
662
- 'excluded_destination' => 'Excluded Destination[excluded_destination]',
663
- 'included_destination' => 'Included Destination[included_destination]',
664
- 'expiration_date' => 'Expiration Date [expiration_date]',
665
- 'transit_time_label' => 'Transit Time [transit_time_label]',
666
- '---10' => '',
667
- '--11' => 'Unit Prices (EU Countries and Switzerland Only)',
668
- 'unit_pricing_measure' => 'Unit Pricing Measure[unit_pricing_measure]',
669
- 'unit_pricing_base_measure' => 'Unit Pricing Base Measure[unit_pricing_base_measure]',
670
- 'installment_months' => 'Installment Months[months]',
671
- 'installment_amount' => 'Installment Amount[amount]',
672
- 'subscription_period' => 'Subscription Period[period]',
673
- 'subscription_period_length' => 'Subscription Period Length[period_length]',
674
- 'subscription_amount' => 'Subscription Amount[amount]',
675
- '---11' => '',
676
- '--12' => 'Energy Labels',
677
- 'energy_efficiency_class' => 'Energy Efficiency Class[energy_efficiency_class]',
678
- '---12' => '',
679
- '--13' => 'Loyalty Points (Japan Only)',
680
- 'loyalty_points' => 'loyalty_points[loyalty_points]',
681
- '---13' => '',
682
- '--14' => 'Multiple Installments (Brazil Only)',
683
- 'installment' => 'Installment[installment]',
684
- '---14' => '',
685
- '--15' => 'Merchant Promotions Attribute',
686
- 'promotion_id' => 'Promotion Id[promotion_id]',
687
- '---15' => '',
688
- '--16' => 'Shopping Action Attributes',
689
- 'sell_on_google_quantity' => 'Number of Product Sold On Google [sell_on_google_quantity]',
690
- 'min_handling_time' => 'Minimum Handling Time [min_handling_time]',
691
- 'max_handling_time' => 'Maximum Handling Time [max_handling_time]',
692
- 'return_address_label' => 'Return Address [return_address_label]',
693
- 'return_policy_label' => 'Return Policy [return_policy_label]',
694
- 'google_funded_promotion_eligibility' => 'Google Funded Promotion Eligibility [google_funded_promotion_eligibility]',
695
- '---16' => '',
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.6.20
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.6.20' );
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' ) ) {