CTX Feed – WooCommerce Product Feed Manager Plugin - Version 2.2.6

Version Description

Download this release

Release Info

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

Code changes from version 2.2.5 to 2.2.6

README.txt CHANGED
@@ -80,6 +80,8 @@ In one word WooCommerce Product Feed is a revolution. Yah, it’s a revolution o
80
  * <a target="_blank" href="https://www.ffshoppen.nl/">ffshoppen.nl</a>
81
  * <a target="_blank" href="https://www.vergelijk.nl/">vergelijk.nl</a>
82
  * <a target="_blank" href="https://siroop.ch/">siroop.ch</a>
 
 
83
  * <a target="_blank" href="http://www.bizrate.com/">bizrate.com</a>
84
  * <a target="_blank" href="http://www.shopping.com/">Shopping.com</a>
85
  * <a target="_blank" href="http://www.shopzilla.com/">Shopzilla.com</a>
@@ -268,6 +270,10 @@ Using pro version:
268
 
269
  == Changelog ==
270
 
 
 
 
 
271
  = 2.2.5(2018-02-05) =
272
  * Fixed: Variations description issue
273
  * Fixed: Remove shortcodes Automatically
80
  * <a target="_blank" href="https://www.ffshoppen.nl/">ffshoppen.nl</a>
81
  * <a target="_blank" href="https://www.vergelijk.nl/">vergelijk.nl</a>
82
  * <a target="_blank" href="https://siroop.ch/">siroop.ch</a>
83
+ * <a target="_blank" href="https://jet.com/">Jet.com</a>
84
+ * <a target="_blank" href="https://www.wish.com/">Wish.com</a>
85
  * <a target="_blank" href="http://www.bizrate.com/">bizrate.com</a>
86
  * <a target="_blank" href="http://www.shopping.com/">Shopping.com</a>
87
  * <a target="_blank" href="http://www.shopzilla.com/">Shopzilla.com</a>
270
 
271
  == Changelog ==
272
 
273
+ = 2.2.6(2018-02-15) =
274
+ * Added: Jet.com Template added
275
+ * Added: Wish.com Template added
276
+
277
  = 2.2.5(2018-02-05) =
278
  * Fixed: Variations description issue
279
  * Fixed: Remove shortcodes Automatically
admin/partials/jet/add-feed.php ADDED
@@ -0,0 +1,545 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="Merchant SKU 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[]" id="" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown("sku"); ?>
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[][]" id="" 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
+ <tr>
72
+ <td>
73
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
+ </td>
75
+ <td>
76
+ <input type="text" name="mattributes[]" autocomplete="off" required
77
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Unique ID"/>
78
+ </td>
79
+ <td>
80
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
81
+ </td>
82
+ <td>
83
+ <select name="type[]" class="attr_type wfnoempty">
84
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
85
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" id="" required="required"
90
+ class="wf_validate_attr wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('id'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
101
+ <option value="1">Default</option>
102
+ <option value="2">Strip Tags</option>
103
+ <option value="3">UTF-8 Encode</option>
104
+ <option value="4">htmlentities</option>
105
+ <option value="5">Integer</option>
106
+ <option value="6">Price</option>
107
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
+ <option value="8">CDATA</option>
109
+ </select>
110
+ <i class="dashicons dashicons-editor-expand expandType"></i>
111
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
+ </td>
113
+ <td>
114
+ <input type="text" name="limit[]" class="wf_ps"/>
115
+ </td>
116
+ <td>
117
+ <i class="delRow dashicons dashicons-trash"></i>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
+ </td>
124
+ <td>
125
+ <input type="text" name="mattributes[]" autocomplete="off" required
126
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Multi-pack Quantity"/>
127
+ </td>
128
+ <td>
129
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
+ </td>
131
+ <td>
132
+ <select name="type[]" class="attr_type wfnoempty">
133
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
134
+ <option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" id="" required="required" style=" display: none;"
139
+ class="wf_validate_attr wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown(); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ />
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" class="wf_ps"/>
164
+ </td>
165
+ <td>
166
+ <i class="delRow dashicons dashicons-trash"></i>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td>
171
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
+ </td>
173
+ <td>
174
+ <input type="text" name="mattributes[]" autocomplete="off" required
175
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Product Title"/>
176
+ </td>
177
+ <td>
178
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
+ </td>
180
+ <td>
181
+ <select name="type[]" class="attr_type wfnoempty">
182
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
183
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" id="" required="required"
188
+ class="wf_validate_attr wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('title'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
199
+ <option value="1">Default</option>
200
+ <option value="2">Strip Tags</option>
201
+ <option value="3">UTF-8 Encode</option>
202
+ <option value="4">htmlentities</option>
203
+ <option value="5">Integer</option>
204
+ <option value="6">Price</option>
205
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
+ <option value="8">CDATA</option>
207
+ </select>
208
+ <i class="dashicons dashicons-editor-expand expandType"></i>
209
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="limit[]" class="wf_ps"/>
213
+ </td>
214
+ <td>
215
+ <i class="delRow dashicons dashicons-trash"></i>
216
+ </td>
217
+ </tr>
218
+ <tr>
219
+ <td>
220
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
+ </td>
222
+ <td>
223
+ <input type="text" name="mattributes[]" autocomplete="off" required
224
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Description"/>
225
+ </td>
226
+ <td>
227
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
228
+ </td>
229
+ <td>
230
+ <select name="type[]" class="attr_type wfnoempty">
231
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
232
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" id="" required="required"
237
+ class="wf_validate_attr wf_attr wf_attributes">
238
+ <?php echo $product->attributeDropdown('description'); ?>
239
+ </select>
240
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
+ style=" display: none;"/>
242
+ </td>
243
+ <td>
244
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
+ </td>
246
+ <td>
247
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
248
+ <option value="1">Default</option>
249
+ <option value="2">Strip Tags</option>
250
+ <option value="3">UTF-8 Encode</option>
251
+ <option value="4">htmlentities</option>
252
+ <option value="5">Integer</option>
253
+ <option value="6">Price</option>
254
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
+ <option value="8">CDATA</option>
256
+ </select>
257
+ <i class="dashicons dashicons-editor-expand expandType"></i>
258
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
+ </td>
260
+ <td>
261
+ <input type="text" name="limit[]" class="wf_ps"/>
262
+ </td>
263
+ <td>
264
+ <i class="delRow dashicons dashicons-trash"></i>
265
+ </td>
266
+ </tr>
267
+ <tr>
268
+ <td>
269
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
+ </td>
271
+ <td>
272
+ <input type="text" name="mattributes[]" autocomplete="off" required
273
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Image"/>
274
+ </td>
275
+ <td>
276
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
277
+ </td>
278
+ <td>
279
+ <select name="type[]" class="attr_type wfnoempty">
280
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
281
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" id="" required="required"
286
+ class="wf_validate_attr wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown('image'); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
+ style=" display: none;"/>
291
+ </td>
292
+ <td>
293
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
+ </td>
295
+ <td>
296
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td>
318
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
+ </td>
320
+ <td>
321
+ <input type="text" name="mattributes[]" autocomplete="off" required
322
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Product Price"/>
323
+ </td>
324
+ <td>
325
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
326
+ </td>
327
+ <td>
328
+ <select name="type[]" class="attr_type wfnoempty">
329
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
330
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
331
+ </select>
332
+ </td>
333
+ <td>
334
+ <select name="attributes[]" id="" required="required"
335
+ class="wf_validate_attr wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown('price'); ?>
337
+ </select>
338
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
339
+ style=" display: none;"/>
340
+ </td>
341
+ <td>
342
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
+ </td>
344
+ <td>
345
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
346
+ <option value="1">Default</option>
347
+ <option value="2">Strip Tags</option>
348
+ <option value="3">UTF-8 Encode</option>
349
+ <option value="4">htmlentities</option>
350
+ <option value="5">Integer</option>
351
+ <option value="6">Price</option>
352
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
+ <option value="8">CDATA</option>
354
+ </select>
355
+ <i class="dashicons dashicons-editor-expand expandType"></i>
356
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
+ </td>
358
+ <td>
359
+ <input type="text" name="limit[]" class="wf_ps"/>
360
+ </td>
361
+ <td>
362
+ <i class="delRow dashicons dashicons-trash"></i>
363
+ </td>
364
+ </tr>
365
+ <tr>
366
+ <td>
367
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
368
+ </td>
369
+ <td>
370
+ <input type="text" name="mattributes[]" autocomplete="off" required
371
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Jet Category"/>
372
+ </td>
373
+ <td>
374
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
375
+ </td>
376
+ <td>
377
+ <select name="type[]" class="attr_type wfnoempty">
378
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
379
+ <option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
380
+ </select>
381
+ </td>
382
+ <td>
383
+ <select name="attributes[]" id="" required="required" style=" display: none;"
384
+ class="wf_validate_attr wf_attr wf_attributes">
385
+ <?php echo $product->attributeDropdown(); ?>
386
+ </select>
387
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
+ />
389
+ </td>
390
+ <td>
391
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
+ </td>
393
+ <td>
394
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
395
+ <option value="1">Default</option>
396
+ <option value="2">Strip Tags</option>
397
+ <option value="3">UTF-8 Encode</option>
398
+ <option value="4">htmlentities</option>
399
+ <option value="5">Integer</option>
400
+ <option value="6">Price</option>
401
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
+ <option value="8">CDATA</option>
403
+ </select>
404
+ <i class="dashicons dashicons-editor-expand expandType"></i>
405
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
+ </td>
407
+ <td>
408
+ <input type="text" name="limit[]" class="wf_ps"/>
409
+ </td>
410
+ <td>
411
+ <i class="delRow dashicons dashicons-trash"></i>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td>
416
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
+ </td>
418
+ <td>
419
+ <input type="text" name="mattributes[]" autocomplete="off" required
420
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Brand"/>
421
+ </td>
422
+ <td>
423
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
424
+ </td>
425
+ <td>
426
+ <select name="type[]" class="attr_type wfnoempty">
427
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
428
+ <option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
429
+ </select>
430
+ </td>
431
+ <td>
432
+ <select name="attributes[]" id="" required="required" style=" display: none;"
433
+ class="wf_validate_attr wf_attr wf_attributes">
434
+ <?php echo $product->attributeDropdown(); ?>
435
+ </select>
436
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
+ />
438
+ </td>
439
+ <td>
440
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
+ </td>
442
+ <td>
443
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
444
+ <option value="1">Default</option>
445
+ <option value="2">Strip Tags</option>
446
+ <option value="3">UTF-8 Encode</option>
447
+ <option value="4">htmlentities</option>
448
+ <option value="5">Integer</option>
449
+ <option value="6">Price</option>
450
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
+ <option value="8">CDATA</option>
452
+ </select>
453
+ <i class="dashicons dashicons-editor-expand expandType"></i>
454
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
+ </td>
456
+ <td>
457
+ <input type="text" name="limit[]" class="wf_ps"/>
458
+ </td>
459
+ <td>
460
+ <i class="delRow dashicons dashicons-trash"></i>
461
+ </td>
462
+ </tr>
463
+ </tbody>
464
+ <tfoot>
465
+ <tr>
466
+ <td>
467
+ <button type="button" class="button-small button-primary" id="wf_newRow">
468
+ <?php echo _e('Add New Row', 'woo-feed'); ?>
469
+ </button>
470
+ </td>
471
+ <td colspan="8">
472
+
473
+ </td>
474
+ </tr>
475
+ </tfoot>
476
+ </table>
477
+ <table class=" widefat fixed">
478
+ <tr>
479
+ <td align="left" class="">
480
+ <div class="makeFeedResponse"></div>
481
+ <div class="makeFeedComplete"></div>
482
+ </td>
483
+ <td align="right">
484
+ <button type="submit" id="wf_submit" class="wfbtn">
485
+ <?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
486
+ </button>
487
+ </td>
488
+ </tr>
489
+ </table>
490
+ </div>
491
+ </li>
492
+ <li>
493
+ <input type="radio" name="wf_tabs" id="tab3"/>
494
+ <label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
495
+
496
+ <div id="wf-tab-content3" class="wf-tab-content">
497
+ <table class="table widefat fixed mtable" width="100%">
498
+ <tbody>
499
+ <tr>
500
+ <td><?php echo _e('Enabled', 'woo-feed'); ?></td>
501
+ <td>
502
+ <select name="ftpenabled" id="">
503
+ <option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
504
+ <option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
505
+ </select>
506
+ </td>
507
+ </tr>
508
+ <tr>
509
+ <td><?php echo _e('Host Name', 'woo-feed'); ?></td>
510
+ <td><input type="text" name="ftphost"/></td>
511
+ </tr>
512
+ <tr>
513
+ <td><?php echo _e('User Name', 'woo-feed'); ?></td>
514
+ <td><input type="text" name="ftpuser"/></td>
515
+ </tr>
516
+ <tr>
517
+ <td><?php echo _e('Password', 'woo-feed'); ?></td>
518
+ <td><input type="password" name="ftppassword"/></td>
519
+ </tr>
520
+ <tr>
521
+ <td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
522
+ <td><input type="text" name="ftpport" value="21"/></td>
523
+ </tr>
524
+ <tr>
525
+ <td><?php echo _e('Path', 'woo-feed'); ?></td>
526
+ <td><input type="text" name="ftppath"/></td>
527
+ </tr>
528
+ </tbody>
529
+ </table>
530
+ <table class=" widefat fixed">
531
+ <tr>
532
+ <td align="left" class="makeFeedResponse">
533
+
534
+ </td>
535
+ <td align="right">
536
+ <button type="submit" id="wf_submit" class="wfbtn">
537
+ <?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
538
+ </button>
539
+ </td>
540
+ </tr>
541
+ </table>
542
+ </div>
543
+ </li>
544
+
545
+ </ul>
admin/partials/wish/add-feed.php ADDED
@@ -0,0 +1,545 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="Main Image URL"/>
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[]" id="" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('image'); ?>
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[][]" id="" 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
+ <tr>
72
+ <td>
73
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
+ </td>
75
+ <td>
76
+ <input type="text" name="mattributes[]" autocomplete="off" required
77
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Price"/>
78
+ </td>
79
+ <td>
80
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
81
+ </td>
82
+ <td>
83
+ <select name="type[]" class="attr_type wfnoempty">
84
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
85
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" id="" required="required"
90
+ class="wf_validate_attr wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('price'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
101
+ <option value="1">Default</option>
102
+ <option value="2">Strip Tags</option>
103
+ <option value="3">UTF-8 Encode</option>
104
+ <option value="4">htmlentities</option>
105
+ <option value="5">Integer</option>
106
+ <option value="6">Price</option>
107
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
+ <option value="8">CDATA</option>
109
+ </select>
110
+ <i class="dashicons dashicons-editor-expand expandType"></i>
111
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
+ </td>
113
+ <td>
114
+ <input type="text" name="limit[]" class="wf_ps"/>
115
+ </td>
116
+ <td>
117
+ <i class="delRow dashicons dashicons-trash"></i>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
+ </td>
124
+ <td>
125
+ <input type="text" name="mattributes[]" autocomplete="off" required
126
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Product Name"/>
127
+ </td>
128
+ <td>
129
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
+ </td>
131
+ <td>
132
+ <select name="type[]" class="attr_type wfnoempty">
133
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
134
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" id="" required="required"
139
+ class="wf_validate_attr wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown('title'); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" class="wf_ps"/>
164
+ </td>
165
+ <td>
166
+ <i class="delRow dashicons dashicons-trash"></i>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td>
171
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
+ </td>
173
+ <td>
174
+ <input type="text" name="mattributes[]" autocomplete="off" required
175
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Quantity"/>
176
+ </td>
177
+ <td>
178
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
+ </td>
180
+ <td>
181
+ <select name="type[]" class="attr_type wfnoempty">
182
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
183
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" id="" required="required"
188
+ class="wf_validate_attr wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('quantity'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
199
+ <option value="1">Default</option>
200
+ <option value="2">Strip Tags</option>
201
+ <option value="3">UTF-8 Encode</option>
202
+ <option value="4">htmlentities</option>
203
+ <option value="5">Integer</option>
204
+ <option value="6">Price</option>
205
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
+ <option value="8">CDATA</option>
207
+ </select>
208
+ <i class="dashicons dashicons-editor-expand expandType"></i>
209
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="limit[]" class="wf_ps"/>
213
+ </td>
214
+ <td>
215
+ <i class="delRow dashicons dashicons-trash"></i>
216
+ </td>
217
+ </tr>
218
+ <tr>
219
+ <td>
220
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
+ </td>
222
+ <td>
223
+ <input type="text" name="mattributes[]" autocomplete="off" required
224
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Shipping"/>
225
+ </td>
226
+ <td>
227
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
228
+ </td>
229
+ <td>
230
+ <select name="type[]" class="attr_type wfnoempty">
231
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
232
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" id="" required="required"
237
+ class="wf_validate_attr wf_attr wf_attributes">
238
+ <?php echo $product->attributeDropdown(); ?>
239
+ </select>
240
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
+ style=" display: none;"/>
242
+ </td>
243
+ <td>
244
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
+ </td>
246
+ <td>
247
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
248
+ <option value="1">Default</option>
249
+ <option value="2">Strip Tags</option>
250
+ <option value="3">UTF-8 Encode</option>
251
+ <option value="4">htmlentities</option>
252
+ <option value="5">Integer</option>
253
+ <option value="6">Price</option>
254
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
+ <option value="8">CDATA</option>
256
+ </select>
257
+ <i class="dashicons dashicons-editor-expand expandType"></i>
258
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
+ </td>
260
+ <td>
261
+ <input type="text" name="limit[]" class="wf_ps"/>
262
+ </td>
263
+ <td>
264
+ <i class="delRow dashicons dashicons-trash"></i>
265
+ </td>
266
+ </tr>
267
+ <tr>
268
+ <td>
269
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
+ </td>
271
+ <td>
272
+ <input type="text" name="mattributes[]" autocomplete="off" required
273
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Tags"/>
274
+ </td>
275
+ <td>
276
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
277
+ </td>
278
+ <td>
279
+ <select name="type[]" class="attr_type wfnoempty">
280
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
281
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" id="" required="required"
286
+ class="wf_validate_attr wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown('tags'); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
+ style=" display: none;"/>
291
+ </td>
292
+ <td>
293
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
+ </td>
295
+ <td>
296
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td>
318
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
+ </td>
320
+ <td>
321
+ <input type="text" name="mattributes[]" autocomplete="off" required
322
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Parent Unique Id"/>
323
+ </td>
324
+ <td>
325
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
326
+ </td>
327
+ <td>
328
+ <select name="type[]" class="attr_type wfnoempty">
329
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
330
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
331
+ </select>
332
+ </td>
333
+ <td>
334
+ <select name="attributes[]" id="" required="required"
335
+ class="wf_validate_attr wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown('item_group_id'); ?>
337
+ </select>
338
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
339
+ style=" display: none;"/>
340
+ </td>
341
+ <td>
342
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
+ </td>
344
+ <td>
345
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
346
+ <option value="1">Default</option>
347
+ <option value="2">Strip Tags</option>
348
+ <option value="3">UTF-8 Encode</option>
349
+ <option value="4">htmlentities</option>
350
+ <option value="5">Integer</option>
351
+ <option value="6">Price</option>
352
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
+ <option value="8">CDATA</option>
354
+ </select>
355
+ <i class="dashicons dashicons-editor-expand expandType"></i>
356
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
+ </td>
358
+ <td>
359
+ <input type="text" name="limit[]" class="wf_ps"/>
360
+ </td>
361
+ <td>
362
+ <i class="delRow dashicons dashicons-trash"></i>
363
+ </td>
364
+ </tr>
365
+ <tr>
366
+ <td>
367
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
368
+ </td>
369
+ <td>
370
+ <input type="text" name="mattributes[]" autocomplete="off" required
371
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Unique ID/SKU"/>
372
+ </td>
373
+ <td>
374
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
375
+ </td>
376
+ <td>
377
+ <select name="type[]" class="attr_type wfnoempty">
378
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
379
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
380
+ </select>
381
+ </td>
382
+ <td>
383
+ <select name="attributes[]" id="" required="required"
384
+ class="wf_validate_attr wf_attr wf_attributes">
385
+ <?php echo $product->attributeDropdown('id'); ?>
386
+ </select>
387
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
+ style=" display: none;"/>
389
+ </td>
390
+ <td>
391
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
+ </td>
393
+ <td>
394
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
395
+ <option value="1">Default</option>
396
+ <option value="2">Strip Tags</option>
397
+ <option value="3">UTF-8 Encode</option>
398
+ <option value="4">htmlentities</option>
399
+ <option value="5">Integer</option>
400
+ <option value="6">Price</option>
401
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
+ <option value="8">CDATA</option>
403
+ </select>
404
+ <i class="dashicons dashicons-editor-expand expandType"></i>
405
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
+ </td>
407
+ <td>
408
+ <input type="text" name="limit[]" class="wf_ps"/>
409
+ </td>
410
+ <td>
411
+ <i class="delRow dashicons dashicons-trash"></i>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td>
416
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
+ </td>
418
+ <td>
419
+ <input type="text" name="mattributes[]" autocomplete="off" required
420
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Description"/>
421
+ </td>
422
+ <td>
423
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
424
+ </td>
425
+ <td>
426
+ <select name="type[]" class="attr_type wfnoempty">
427
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
428
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
429
+ </select>
430
+ </td>
431
+ <td>
432
+ <select name="attributes[]" id="" required="required"
433
+ class="wf_validate_attr wf_attr wf_attributes">
434
+ <?php echo $product->attributeDropdown('description'); ?>
435
+ </select>
436
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
+ style=" display: none;"/>
438
+ </td>
439
+ <td>
440
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
+ </td>
442
+ <td>
443
+ <select name="output_type[][]" id="" class="outputType wfnoempty">
444
+ <option value="1">Default</option>
445
+ <option value="2">Strip Tags</option>
446
+ <option value="3">UTF-8 Encode</option>
447
+ <option value="4">htmlentities</option>
448
+ <option value="5">Integer</option>
449
+ <option value="6">Price</option>
450
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
+ <option value="8">CDATA</option>
452
+ </select>
453
+ <i class="dashicons dashicons-editor-expand expandType"></i>
454
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
+ </td>
456
+ <td>
457
+ <input type="text" name="limit[]" class="wf_ps"/>
458
+ </td>
459
+ <td>
460
+ <i class="delRow dashicons dashicons-trash"></i>
461
+ </td>
462
+ </tr>
463
+ </tbody>
464
+ <tfoot>
465
+ <tr>
466
+ <td>
467
+ <button type="button" class="button-small button-primary" id="wf_newRow">
468
+ <?php echo _e('Add New Row', 'woo-feed'); ?>
469
+ </button>
470
+ </td>
471
+ <td colspan="8">
472
+
473
+ </td>
474
+ </tr>
475
+ </tfoot>
476
+ </table>
477
+ <table class=" widefat fixed">
478
+ <tr>
479
+ <td align="left" class="">
480
+ <div class="makeFeedResponse"></div>
481
+ <div class="makeFeedComplete"></div>
482
+ </td>
483
+ <td align="right">
484
+ <button type="submit" id="wf_submit" class="wfbtn">
485
+ <?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
486
+ </button>
487
+ </td>
488
+ </tr>
489
+ </table>
490
+ </div>
491
+ </li>
492
+ <li>
493
+ <input type="radio" name="wf_tabs" id="tab3"/>
494
+ <label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
495
+
496
+ <div id="wf-tab-content3" class="wf-tab-content">
497
+ <table class="table widefat fixed mtable" width="100%">
498
+ <tbody>
499
+ <tr>
500
+ <td><?php echo _e('Enabled', 'woo-feed'); ?></td>
501
+ <td>
502
+ <select name="ftpenabled" id="">
503
+ <option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
504
+ <option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
505
+ </select>
506
+ </td>
507
+ </tr>
508
+ <tr>
509
+ <td><?php echo _e('Host Name', 'woo-feed'); ?></td>
510
+ <td><input type="text" name="ftphost"/></td>
511
+ </tr>
512
+ <tr>
513
+ <td><?php echo _e('User Name', 'woo-feed'); ?></td>
514
+ <td><input type="text" name="ftpuser"/></td>
515
+ </tr>
516
+ <tr>
517
+ <td><?php echo _e('Password', 'woo-feed'); ?></td>
518
+ <td><input type="password" name="ftppassword"/></td>
519
+ </tr>
520
+ <tr>
521
+ <td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
522
+ <td><input type="text" name="ftpport" value="21"/></td>
523
+ </tr>
524
+ <tr>
525
+ <td><?php echo _e('Path', 'woo-feed'); ?></td>
526
+ <td><input type="text" name="ftppath"/></td>
527
+ </tr>
528
+ </tbody>
529
+ </table>
530
+ <table class=" widefat fixed">
531
+ <tr>
532
+ <td align="left" class="makeFeedResponse">
533
+
534
+ </td>
535
+ <td align="right">
536
+ <button type="submit" id="wf_submit" class="wfbtn">
537
+ <?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
538
+ </button>
539
+ </td>
540
+ </tr>
541
+ </table>
542
+ </div>
543
+ </li>
544
+
545
+ </ul>
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 = '2.2.5';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
70
  public function __construct()
71
  {
72
  $this->woo_feed = 'woo-feed';
73
+ $this->version = '2.2.6';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -54,11 +54,13 @@ class Woo_Feed_Default_Attributes
54
  "prisjakt" =>"Prisjakt",
55
  "twenga" =>"Twenga",
56
  "fruugo" =>"Fruugo",
57
- "bonanza" =>"Bonanza",
58
  "bol" =>"Bol.com",
59
- "leguide" =>"LeGuide",
60
- "real" =>"Real",
61
- "crowdfox" =>"Crowdfox",
 
 
62
  "---2" =>"",
63
  "--3" =>"Amazon Template",
64
  "amazon_clothing" =>"Clothing",
54
  "prisjakt" =>"Prisjakt",
55
  "twenga" =>"Twenga",
56
  "fruugo" =>"Fruugo",
57
+ "bonanza" =>"Bonanza",
58
  "bol" =>"Bol.com",
59
+ "leguide" =>"LeGuide",
60
+ "real" =>"Real",
61
+ "crowdfox" =>"Crowdfox",
62
+ "jet" =>"Jet.com",
63
+ "wish" =>"Wish.com",
64
  "---2" =>"",
65
  "--3" =>"Amazon Template",
66
  "amazon_clothing" =>"Clothing",
includes/classes/class-woo-feed-products.php CHANGED
@@ -1423,7 +1423,7 @@ class Woo_Feed_Products
1423
  *
1424
  * @param int $Id
1425
  *
1426
- * @return array
1427
  */
1428
 
1429
  public function additionalImages($Id)
@@ -1520,15 +1520,16 @@ class Woo_Feed_Products
1520
  /**
1521
  * Get Product Attribute Value
1522
  *
 
1523
  * @param $id
1524
  * @param $name
1525
  *
1526
  * @return mixed
1527
  */
1528
- public function getAttributeValue($id, $name)
1529
- {
1530
 
1531
- return $this->getProductMeta($id,$name);
1532
  // if (strpos($name, 'attribute_pa') !== false) {
1533
  // $taxonomy = str_replace("attribute_","",$name);
1534
  // $meta = get_post_meta($id,$name, true);
@@ -1538,7 +1539,7 @@ class Woo_Feed_Products
1538
  // return get_post_meta($id, $name, true);
1539
  // }
1540
 
1541
- }
1542
 
1543
  /**
1544
  * Get Sale price effective date for google
1423
  *
1424
  * @param int $Id
1425
  *
1426
+ * @return bool|array
1427
  */
1428
 
1429
  public function additionalImages($Id)
1520
  /**
1521
  * Get Product Attribute Value
1522
  *
1523
+ * @deprecated 2.2.5
1524
  * @param $id
1525
  * @param $name
1526
  *
1527
  * @return mixed
1528
  */
1529
+ public function getAttributeValue($id, $name)
1530
+ {
1531
 
1532
+ return $this->getProductMeta($id,$name);
1533
  // if (strpos($name, 'attribute_pa') !== false) {
1534
  // $taxonomy = str_replace("attribute_","",$name);
1535
  // $meta = get_post_meta($id,$name, true);
1539
  // return get_post_meta($id, $name, true);
1540
  // }
1541
 
1542
+ }
1543
 
1544
  /**
1545
  * Get Sale price effective date for google
woo-feed.php CHANGED
@@ -16,13 +16,15 @@
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: 2.2.5
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
23
  * License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
24
  * Text Domain: woo-feed
25
  * Domain Path: /languages
 
 
26
  */
27
 
28
  // If this file is called directly, abort.
@@ -270,7 +272,7 @@ add_action('wp_ajax_get_product_information', 'woo_feed_get_product_information'
270
  function woo_feed_get_product_information(){
271
  check_ajax_referer('wpf_feed_nonce');
272
 
273
- if(woo_feed_wc_version_check(3.1)){
274
  $query=new WC_Product_Query(array(
275
  'limit' => -1,
276
  'status' => 'publish',
@@ -676,7 +678,7 @@ function woo_feed_manage_feed()
676
  }
677
 
678
  $merchants=array(
679
- "custom","fruugo","twenga","pricespy","prisjakt","amazon","adwords","polyvore","bol","pricerunner","adform","bonanza","leeguide","real","crowdfox"
680
  );
681
 
682
  if (isset($fname)) {
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: 2.2.6
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
23
  * License URI: http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
24
  * Text Domain: woo-feed
25
  * Domain Path: /languages
26
+ * WC requires at least: 2.6
27
+ * WC tested up to: 3.3
28
  */
29
 
30
  // If this file is called directly, abort.
272
  function woo_feed_get_product_information(){
273
  check_ajax_referer('wpf_feed_nonce');
274
 
275
+ if(woo_feed_wc_version_check(3.2)){
276
  $query=new WC_Product_Query(array(
277
  'limit' => -1,
278
  'status' => 'publish',
678
  }
679
 
680
  $merchants=array(
681
+ "custom","fruugo","twenga","pricespy","prisjakt","amazon","adwords","polyvore","bol","pricerunner","adform","bonanza","leeguide","real","crowdfox","jet","wish"
682
  );
683
 
684
  if (isset($fname)) {