CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.0.21

Version Description

Download this release

Release Info

Developer wahid0003
Plugin Icon 128x128 CTX Feed – WooCommerce Product Feed Manager Plugin
Version 3.0.21
Comparing to
See all releases

Code changes from version 3.0.20 to 3.0.21

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webappick.com
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested Up To: 5.1
7
- Stable tag: 3.0.20
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -174,6 +174,7 @@ In one word WooCommerce Product Feed is a revolution. Yah, it’s a revolution o
174
  * <a target="_blank" href="https://www.ricardo.ch/">Ricardo.ch</a>
175
  * <a target="_blank" href="https://www.kauftipp.ch/">Kauftipp.ch</a>
176
  * <a target="_blank" href="https://zap.co.il/">Zap.co.il</a>
 
177
 
178
  <blockquote>
179
  <h4>If you like Free Version, you'll love the Pro Version</h4>
@@ -299,6 +300,9 @@ Using pro version:
299
 
300
  == Changelog ==
301
 
 
 
 
302
  = 3.0.20(2019-04-16) =
303
  * Fixed: Myshopping.com.au XML Category tag issue fixed
304
  * Fixed: Myshopping.com.au recommended attributes added
4
  Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
5
  Requires at least: 3.6
6
  Tested Up To: 5.1
7
+ Stable tag: 3.0.21
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
174
  * <a target="_blank" href="https://www.ricardo.ch/">Ricardo.ch</a>
175
  * <a target="_blank" href="https://www.kauftipp.ch/">Kauftipp.ch</a>
176
  * <a target="_blank" href="https://zap.co.il/">Zap.co.il</a>
177
+ * <a target="_blank" href="https://smartly.io/">Smartly.io</a>
178
 
179
  <blockquote>
180
  <h4>If you like Free Version, you'll love the Pro Version</h4>
300
 
301
  == Changelog ==
302
 
303
+ = 3.0.21(2019-04-18) =
304
+ * Added: Smartly.io template added
305
+
306
  = 3.0.20(2019-04-16) =
307
  * Fixed: Myshopping.com.au XML Category tag issue fixed
308
  * Fixed: Myshopping.com.au recommended attributes added
admin/partials/comparer.be/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/dooyoo/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/hintaseuranta.fi/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/incurvy/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/kijiji.ca/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/marktplaats.nl/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/myshopping.com.au/add-feed.php CHANGED
@@ -273,7 +273,7 @@
273
  </td>
274
  <td>
275
  <input type="text" name="mattributes[]" autocomplete="off" required
276
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price"/>
277
  </td>
278
  <td>
279
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
273
  </td>
274
  <td>
275
  <input type="text" name="mattributes[]" autocomplete="off" required
276
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price"/>
277
  </td>
278
  <td>
279
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/rakuten.de/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/shopalike.fr/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/shopbot/add-feed.php CHANGED
@@ -270,7 +270,7 @@
270
  </td>
271
  <td>
272
  <input type="text" name="mattributes[]" autocomplete="off" required
273
- class="wf_validate_attr wf_mattributes" value="Price"/>
274
  </td>
275
  <td>
276
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
270
  </td>
271
  <td>
272
  <input type="text" name="mattributes[]" autocomplete="off" required
273
+ class="wf_validate_attr wf_mattributes" value="price"/>
274
  </td>
275
  <td>
276
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/skinflint.co.uk/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/smartly.io/add-feed.php DELETED
@@ -1,452 +0,0 @@
1
- <ul class="wf_tabs">
2
- <li>
3
- <input type="radio" name="wf_tabs" id="tab1" checked/>
4
- <label class="wf-tab-name" for="tab1"><?php echo _e('Feed Config', 'woo-feed'); ?></label>
5
-
6
- <div id="wf-tab-content1" class="wf-tab-content">
7
- <table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-1">
8
- <thead>
9
- <tr>
10
- <th></th>
11
- <th><?php echo ucfirst($provider); ?> <?php echo _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php echo _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php echo _e('Type', 'woo-feed'); ?></th>
14
- <th><?php echo _e('Value', 'woo-feed'); ?></th>
15
- <th><?php echo _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php echo _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php echo _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="id"/>
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('id'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
-
72
- <tr>
73
- <td>
74
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
- </td>
76
- <td>
77
- <input type="text" name="mattributes[]" autocomplete="off" required
78
- class="wf_validate_attr wf_mattributes wf_mattr" value="title"/>
79
- </td>
80
- <td>
81
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
82
- </td>
83
- <td>
84
- <select name="type[]" class="attr_type wfnoempty">
85
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
86
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
87
- </select>
88
- </td>
89
- <td>
90
- <select name="attributes[]" required="required"
91
- class="wf_validate_attr wf_attr wf_attributes">
92
- <?php echo $product->attributeDropdown('title'); ?>
93
- </select>
94
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
95
- style=" display: none;"/>
96
- </td>
97
- <td>
98
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
99
- </td>
100
- <td>
101
- <select name="output_type[][]" class="outputType wfnoempty">
102
- <option value="1">Default</option>
103
- <option value="2">Strip Tags</option>
104
- <option value="3">UTF-8 Encode</option>
105
- <option value="4">htmlentities</option>
106
- <option value="5">Integer</option>
107
- <option value="6">Price</option>
108
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
109
- <option value="8">CDATA</option>
110
- </select>
111
- <i class="dashicons dashicons-editor-expand expandType"></i>
112
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
113
- </td>
114
- <td>
115
- <input type="text" name="limit[]" class="wf_ps"/>
116
- </td>
117
- <td>
118
- <i class="delRow dashicons dashicons-trash"></i>
119
- </td>
120
- </tr>
121
-
122
- <tr>
123
- <td>
124
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
125
- </td>
126
- <td>
127
- <input type="text" name="mattributes[]" autocomplete="off" required
128
- class="wf_validate_attr wf_mattributes wf_mattr" value="description"/>
129
- </td>
130
- <td>
131
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
132
- </td>
133
- <td>
134
- <select name="type[]" class="attr_type wfnoempty">
135
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
136
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
137
- </select>
138
- </td>
139
- <td>
140
- <select name="attributes[]" required="required"
141
- class="wf_validate_attr wf_attr wf_attributes">
142
- <?php echo $product->attributeDropdown('description'); ?>
143
- </select>
144
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
145
- style=" display: none;"/>
146
- </td>
147
- <td>
148
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
149
- </td>
150
- <td>
151
- <select name="output_type[][]" class="outputType wfnoempty">
152
- <option value="1">Default</option>
153
- <option value="2">Strip Tags</option>
154
- <option value="3">UTF-8 Encode</option>
155
- <option value="4">htmlentities</option>
156
- <option value="5">Integer</option>
157
- <option value="6">Price</option>
158
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
159
- <option value="8">CDATA</option>
160
- </select>
161
- <i class="dashicons dashicons-editor-expand expandType"></i>
162
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
163
- </td>
164
- <td>
165
- <input type="text" name="limit[]" class="wf_ps"/>
166
- </td>
167
- <td>
168
- <i class="delRow dashicons dashicons-trash"></i>
169
- </td>
170
- </tr>
171
-
172
- <tr>
173
- <td>
174
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
175
- </td>
176
- <td>
177
- <input type="text" name="mattributes[]" autocomplete="off" required
178
- class="wf_validate_attr wf_mattributes wf_mattr" value="link"/>
179
- </td>
180
- <td>
181
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
182
- </td>
183
- <td>
184
- <select name="type[]" class="attr_type wfnoempty">
185
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
186
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
187
- </select>
188
- </td>
189
- <td>
190
- <select name="attributes[]" required="required"
191
- class="wf_validate_attr wf_attr wf_attributes">
192
- <?php echo $product->attributeDropdown('link'); ?>
193
- </select>
194
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
195
- style=" display: none;"/>
196
- </td>
197
- <td>
198
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
199
- </td>
200
- <td>
201
- <select name="output_type[][]" class="outputType wfnoempty">
202
- <option value="1">Default</option>
203
- <option value="2">Strip Tags</option>
204
- <option value="3">UTF-8 Encode</option>
205
- <option value="4">htmlentities</option>
206
- <option value="5">Integer</option>
207
- <option value="6">Price</option>
208
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
209
- <option value="8">CDATA</option>
210
- </select>
211
- <i class="dashicons dashicons-editor-expand expandType"></i>
212
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
213
- </td>
214
- <td>
215
- <input type="text" name="limit[]" class="wf_ps"/>
216
- </td>
217
- <td>
218
- <i class="delRow dashicons dashicons-trash"></i>
219
- </td>
220
- </tr>
221
-
222
- <tr>
223
- <td>
224
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
225
- </td>
226
- <td>
227
- <input type="text" name="mattributes[]" autocomplete="off" required
228
- class="wf_validate_attr wf_mattributes wf_mattr" value="image_link"/>
229
- </td>
230
- <td>
231
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
232
- </td>
233
- <td>
234
- <select name="type[]" class="attr_type wfnoempty">
235
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
236
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
237
- </select>
238
- </td>
239
- <td>
240
- <select name="attributes[]" required="required"
241
- class="wf_validate_attr wf_attr wf_attributes">
242
- <?php echo $product->attributeDropdown('image'); ?>
243
- </select>
244
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
- style=" display: none;"/>
246
- </td>
247
- <td>
248
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
249
- </td>
250
- <td>
251
- <select name="output_type[][]" class="outputType wfnoempty">
252
- <option value="1">Default</option>
253
- <option value="2">Strip Tags</option>
254
- <option value="3">UTF-8 Encode</option>
255
- <option value="4">htmlentities</option>
256
- <option value="5">Integer</option>
257
- <option value="6">Price</option>
258
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
259
- <option value="8">CDATA</option>
260
- </select>
261
- <i class="dashicons dashicons-editor-expand expandType"></i>
262
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
263
- </td>
264
- <td>
265
- <input type="text" name="limit[]" class="wf_ps"/>
266
- </td>
267
- <td>
268
- <i class="delRow dashicons dashicons-trash"></i>
269
- </td>
270
- </tr>
271
-
272
- <tr>
273
- <td>
274
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
275
- </td>
276
- <td>
277
- <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price"/>
279
- </td>
280
- <td>
281
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
282
- </td>
283
- <td>
284
- <select name="type[]" class="attr_type wfnoempty">
285
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
286
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
287
- </select>
288
- </td>
289
- <td>
290
- <select name="attributes[]" required="required"
291
- class="wf_validate_attr wf_attr wf_attributes">
292
- <?php echo $product->attributeDropdown('price'); ?>
293
- </select>
294
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
295
- style=" display: none;"/>
296
- </td>
297
- <td>
298
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
299
- </td>
300
- <td>
301
- <select name="output_type[][]" class="outputType wfnoempty">
302
- <option value="1">Default</option>
303
- <option value="2">Strip Tags</option>
304
- <option value="3">UTF-8 Encode</option>
305
- <option value="4">htmlentities</option>
306
- <option value="5">Integer</option>
307
- <option value="6">Price</option>
308
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
309
- <option value="8">CDATA</option>
310
- </select>
311
- <i class="dashicons dashicons-editor-expand expandType"></i>
312
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
313
- </td>
314
- <td>
315
- <input type="text" name="limit[]" class="wf_ps"/>
316
- </td>
317
- <td>
318
- <i class="delRow dashicons dashicons-trash"></i>
319
- </td>
320
- </tr>
321
-
322
- <tr>
323
- <td>
324
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
325
- </td>
326
- <td>
327
- <input type="text" name="mattributes[]" autocomplete="off" required
328
- class="wf_validate_attr wf_mattributes wf_mattr" value="categories"/>
329
- </td>
330
- <td>
331
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
332
- </td>
333
- <td>
334
- <select name="type[]" class="attr_type wfnoempty">
335
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
336
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
337
- </select>
338
- </td>
339
- <td>
340
- <select name="attributes[]" required="required"
341
- class="wf_validate_attr wf_attr wf_attributes">
342
- <?php echo $product->attributeDropdown('product_type'); ?>
343
- </select>
344
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
345
- style=" display: none;"/>
346
- </td>
347
- <td>
348
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
349
- </td>
350
- <td>
351
- <select name="output_type[][]" class="outputType wfnoempty">
352
- <option value="1">Default</option>
353
- <option value="2">Strip Tags</option>
354
- <option value="3">UTF-8 Encode</option>
355
- <option value="4">htmlentities</option>
356
- <option value="5">Integer</option>
357
- <option value="6">Price</option>
358
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
359
- <option value="8">CDATA</option>
360
- </select>
361
- <i class="dashicons dashicons-editor-expand expandType"></i>
362
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
363
- </td>
364
- <td>
365
- <input type="text" name="limit[]" class="wf_ps"/>
366
- </td>
367
- <td>
368
- <i class="delRow dashicons dashicons-trash"></i>
369
- </td>
370
- </tr>
371
-
372
- <tr>
373
- <td>
374
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
375
- </td>
376
- <td>
377
- <input type="text" name="mattributes[]" autocomplete="off" required
378
- class="wf_validate_attr wf_mattributes wf_mattr" value="brand"/>
379
- </td>
380
- <td>
381
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
382
- </td>
383
- <td>
384
- <select name="type[]" class="attr_type wfnoempty">
385
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
386
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
387
- </select>
388
- </td>
389
- <td>
390
- <select name="attributes[]" required="required"
391
- class="wf_validate_attr wf_attr wf_attributes">
392
- <?php echo $product->attributeDropdown(); ?>
393
- </select>
394
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
395
- style=" display: none;"/>
396
- </td>
397
- <td>
398
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
399
- </td>
400
- <td>
401
- <select name="output_type[][]" class="outputType wfnoempty">
402
- <option value="1">Default</option>
403
- <option value="2">Strip Tags</option>
404
- <option value="3">UTF-8 Encode</option>
405
- <option value="4">htmlentities</option>
406
- <option value="5">Integer</option>
407
- <option value="6">Price</option>
408
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
409
- <option value="8">CDATA</option>
410
- </select>
411
- <i class="dashicons dashicons-editor-expand expandType"></i>
412
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
413
- </td>
414
- <td>
415
- <input type="text" name="limit[]" class="wf_ps"/>
416
- </td>
417
- <td>
418
- <i class="delRow dashicons dashicons-trash"></i>
419
- </td>
420
- </tr>
421
- </tbody>
422
- <tfoot>
423
- <tr>
424
- <td>
425
- <button type="button" class="button-small button-primary" id="wf_newRow">
426
- <?php echo _e('Add New Row', 'woo-feed'); ?>
427
- </button>
428
- </td>
429
- <td colspan="8">
430
-
431
- </td>
432
- </tr>
433
- </tfoot>
434
- </table>
435
- <table class=" widefat fixed">
436
- <tr>
437
- <td align="left" class="">
438
- <div class="makeFeedResponse"></div>
439
- <div class="makeFeedComplete"></div>
440
- </td>
441
- <td align="right">
442
- <button type="submit" class="wfbtn">
443
- <?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
444
- </button>
445
- </td>
446
- </tr>
447
- </table>
448
- </div>
449
- </li>
450
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
451
-
452
- </ul>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
admin/partials/spartoo.fi/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
admin/partials/webmarchand/add-feed.php CHANGED
@@ -275,7 +275,7 @@
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
275
  </td>
276
  <td>
277
  <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
279
  </td>
280
  <td>
281
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
includes/class-woo-feed.php CHANGED
@@ -70,7 +70,7 @@ class Woo_Feed
70
  public function __construct()
71
  {
72
  $this->woo_feed = 'woo-feed';
73
- $this->version = '3.0.20';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
70
  public function __construct()
71
  {
72
  $this->woo_feed = 'woo-feed';
73
+ $this->version = '3.0.21';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -67,7 +67,7 @@ class Woo_Feed_Default_Attributes
67
  "wish" =>"Wish.com",
68
  "zap.co.il" => "Zap.co.il",
69
  "myshopping.com.au" => "Myshopping.com.au",
70
- // "smartly.io" => "Smartly.io",
71
  // "stylight.com" => "Stylight.com",
72
  // "nextad" => "TheNextAd",
73
  // "skinflint.co.uk" => "SkinFlint.co.uk",
67
  "wish" =>"Wish.com",
68
  "zap.co.il" => "Zap.co.il",
69
  "myshopping.com.au" => "Myshopping.com.au",
70
+ "smartly.io" => "Smartly.io",
71
  // "stylight.com" => "Stylight.com",
72
  // "nextad" => "TheNextAd",
73
  // "skinflint.co.uk" => "SkinFlint.co.uk",
includes/feeds/class-woo-feed-custom.php CHANGED
@@ -152,16 +152,8 @@ class Woo_Feed_Custom
152
  public function get_header($engine)
153
  {
154
  $datetime_now = date("Y-m-d H:i:s");
155
- if($this->rules["provider"] == 'fruugo.au')
156
- {
157
- $fruugo_au = "<products version=\"1.0\" standalone=\"yes\">
158
- <datetime>$datetime_now</datetime>
159
- <title>". get_bloginfo('name') ."</title>
160
- <link>". get_bloginfo('url') ."</link>
161
- <description>". get_bloginfo('description') ."</description>";
162
- return $fruugo_au;
163
- }
164
- else if($this->rules['provider'] == 'zap.co.il')
165
  {
166
  $zap = "<STORE>
167
  <datetime>$datetime_now</datetime>
@@ -176,103 +168,9 @@ class Woo_Feed_Custom
176
  {
177
  return "<productset>";
178
  }
179
- else if($this->rules['provider'] == 'stylight.com')
180
- {
181
- return "<products version=\"1.0\" standalone=\"yes\">
182
- <datetime>$datetime_now</datetime>
183
- <title>". get_bloginfo('name') ."</title>
184
- <link>". get_bloginfo('url') ."</link>
185
- <description>". get_bloginfo('description') ."</description>";
186
- }
187
- else if($this->rules['provider'] == 'nextad')
188
- {
189
- return "<products version=\"1.0\" standalone=\"yes\">
190
- <datetime>$datetime_now</datetime>
191
- <title>". get_bloginfo('name') ."</title>
192
- <link>". get_bloginfo('url') ."</link>
193
- <description>". get_bloginfo('description') ."</description>";
194
- }
195
- else if($this->rules['provider'] == 'skinflint.co.uk')
196
- {
197
- return "<products version=\"1.0\" standalone=\"yes\">
198
- <datetime>$datetime_now</datetime>
199
- <title>". get_bloginfo('name') ."</title>
200
- <link>". get_bloginfo('url') ."</link>
201
- <description>". get_bloginfo('description') ."</description>";
202
- }
203
- else if($this->rules['provider'] == 'comparer.be')
204
- {
205
- return "<products version=\"1.0\" standalone=\"yes\">
206
- <datetime>$datetime_now</datetime>
207
- <title>". get_bloginfo('name') ."</title>
208
- <link>". get_bloginfo('url') ."</link>
209
- <description>". get_bloginfo('description') ."</description>";
210
- }
211
- else if($this->rules['provider'] == 'dooyoo')
212
- {
213
- return "<products version=\"1.0\" standalone=\"yes\">
214
- <datetime>$datetime_now</datetime>
215
- <title>". get_bloginfo('name') ."</title>
216
- <link>". get_bloginfo('url') ."</link>
217
- <description>". get_bloginfo('description') ."</description>";
218
- }
219
- else if($this->rules['provider'] == 'hintaseuranta.fi')
220
- {
221
- return "<products version=\"1.0\" standalone=\"yes\">
222
- <datetime>$datetime_now</datetime>
223
- <title>". get_bloginfo('name') ."</title>
224
- <link>". get_bloginfo('url') ."</link>
225
- <description>". get_bloginfo('description') ."</description>";
226
- }
227
- else if($this->rules['provider'] == 'incurvy')
228
- {
229
- return "<products version=\"1.0\" standalone=\"yes\">
230
- <datetime>$datetime_now</datetime>
231
- <title>". get_bloginfo('name') ."</title>
232
- <link>". get_bloginfo('url') ."</link>
233
- <description>". get_bloginfo('description') ."</description>";
234
- }
235
- else if($this->rules['provider'] == 'kijiji.ca')
236
- {
237
- return "<products version=\"1.0\" standalone=\"yes\">
238
- <datetime>$datetime_now</datetime>
239
- <title>". get_bloginfo('name') ."</title>
240
- <link>". get_bloginfo('url') ."</link>
241
- <description>". get_bloginfo('description') ."</description>";
242
- }
243
- else if($this->rules['provider'] == 'marktplaats.nl')
244
- {
245
- return "<products version=\"1.0\" standalone=\"yes\">
246
- <datetime>$datetime_now</datetime>
247
- <title>". get_bloginfo('name') ."</title>
248
- <link>". get_bloginfo('url') ."</link>
249
- <description>". get_bloginfo('description') ."</description>";
250
- }
251
- else if($this->rules['provider'] == 'rakuten.de')
252
- {
253
- return "<products version=\"1.0\" standalone=\"yes\">
254
- <datetime>$datetime_now</datetime>
255
- <title>". get_bloginfo('name') ."</title>
256
- <link>". get_bloginfo('url') ."</link>
257
- <description>". get_bloginfo('description') ."</description>";
258
- }
259
- else if($this->rules['provider'] == 'shopalike.fr')
260
- {
261
- return "<products version=\"1.0\" standalone=\"yes\">
262
- <datetime>$datetime_now</datetime>
263
- <title>". get_bloginfo('name') ."</title>
264
- <link>". get_bloginfo('url') ."</link>
265
- <description>". get_bloginfo('description') ."</description>";
266
- }
267
- else if($this->rules['provider'] == 'spartoo.fi')
268
- {
269
- return "<products version=\"1.0\" standalone=\"yes\">
270
- <datetime>$datetime_now</datetime>
271
- <title>". get_bloginfo('name') ."</title>
272
- <link>". get_bloginfo('url') ."</link>
273
- <description>". get_bloginfo('description') ."</description>";
274
- }
275
- else if($this->rules['provider'] == 'webmarchand')
276
  {
277
  return "<products version=\"1.0\" standalone=\"yes\">
278
  <datetime>$datetime_now</datetime>
152
  public function get_header($engine)
153
  {
154
  $datetime_now = date("Y-m-d H:i:s");
155
+
156
+ if($this->rules['provider'] == 'zap.co.il')
 
 
 
 
 
 
 
 
157
  {
158
  $zap = "<STORE>
159
  <datetime>$datetime_now</datetime>
168
  {
169
  return "<productset>";
170
  }
171
+ else if( in_array($this->rules['provider'], ['fruugo.au', 'stylight.com', 'nextad', 'skinflint.co.uk',
172
+ 'comparer.be', 'dooyoo', 'hintaseuranta.fi', 'incurvy', 'kijiji.ca', 'marktplaats.nl', 'rakuten.de',
173
+ 'shopalike.fr', 'spartoo.fi', 'webmarchand']) )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  {
175
  return "<products version=\"1.0\" standalone=\"yes\">
176
  <datetime>$datetime_now</datetime>
woo-feed.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
- * Version: 3.0.20
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
@@ -115,10 +115,11 @@ function feed_merchant_view()
115
  if(strpos($merchant,'amazon')!==false){
116
  include plugin_dir_path(__FILE__) . "admin/partials/amazon/add-feed.php";
117
  }
118
- else if($merchant == 'pinterest')
119
  {
120
  include plugin_dir_path(__FILE__) . "admin/partials/google/add-feed.php";
121
- }else{
 
122
  include plugin_dir_path(__FILE__) . "admin/partials/$merchant/add-feed.php";
123
  }
124
  die();
@@ -133,7 +134,8 @@ function woo_feed_add_update($info = "", $name = "")
133
  set_time_limit(0);
134
  if (count($info) && isset($info['provider'])) {
135
  # GEt Post data
136
- if ($info['provider'] == 'google' || $info['provider'] == 'adroll' || $info['provider'] == 'pinterest') {
 
137
  $merchant = "Woo_Feed_Google";
138
  } elseif ($info['provider'] == 'facebook') {
139
  $merchant = "Woo_Feed_Facebook";
@@ -342,7 +344,8 @@ function woo_feed_generate_feed_data($info){
342
  try{
343
  if (count($info) && isset($info['provider'])) {
344
  # GEt Post data
345
- if ($info['provider'] == 'google' || $info['provider'] == 'adroll' || $info['provider'] == 'pinterest') {
 
346
  $merchant = "Woo_Feed_Google";
347
  } elseif ($info['provider'] == 'facebook') {
348
  $merchant = "Woo_Feed_Facebook";
16
  * Plugin Name: WooCommerce Product Feed
17
  * Plugin URI: https://webappick.com/
18
  * Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
19
+ * Version: 3.0.21
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
115
  if(strpos($merchant,'amazon')!==false){
116
  include plugin_dir_path(__FILE__) . "admin/partials/amazon/add-feed.php";
117
  }
118
+ else if($merchant == 'pinterest' || $merchant == 'smartly.io')
119
  {
120
  include plugin_dir_path(__FILE__) . "admin/partials/google/add-feed.php";
121
+ }
122
+ else{
123
  include plugin_dir_path(__FILE__) . "admin/partials/$merchant/add-feed.php";
124
  }
125
  die();
134
  set_time_limit(0);
135
  if (count($info) && isset($info['provider'])) {
136
  # GEt Post data
137
+ if ($info['provider'] == 'google' || $info['provider'] == 'adroll' || $info['provider'] == 'pinterest'
138
+ || $info['provider'] == 'smartly.io') {
139
  $merchant = "Woo_Feed_Google";
140
  } elseif ($info['provider'] == 'facebook') {
141
  $merchant = "Woo_Feed_Facebook";
344
  try{
345
  if (count($info) && isset($info['provider'])) {
346
  # GEt Post data
347
+ if ($info['provider'] == 'google' || $info['provider'] == 'adroll' || $info['provider'] == 'pinterest'
348
+ || $info['provider'] == 'smartly.io') {
349
  $merchant = "Woo_Feed_Google";
350
  } elseif ($info['provider'] == 'facebook') {
351
  $merchant = "Woo_Feed_Facebook";