CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.0.16

Version Description

Download this release

Release Info

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

Code changes from version 3.0.15 to 3.0.16

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.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -53,10 +53,10 @@ In one word WooCommerce Product Feed is a revolution. Yah, it’s a revolution o
53
  * It is highly customizable, having access to 100+ merchant sites & also very responsive of user commands.
54
  * 10+ pre configured template for Google Shopping,Google Adword,Facebook,Nextag.com,pricegrabber.com,Shopping.com,
55
  become.com,conexity.com,shopmania.com,shopzilla.com,bing.com
56
- * You can post your product feeds either manually from your site to shopping engines
57
  or you can also set FTP to post your feeds automatically to your desired engines.
58
  * Feeds are also accessible via HTTP or HTTPS. So that merchant can easily and automatically fetch product feed using given Feed URL.
59
- * There are 3 supported file formats for feeds. They are: XML, TXT, CSV.
60
  * Attribute Prefix and Suffix. You can easily add Marketing or Promo Text with Product Title, Description And its also possible to add Price symbol,currency code with price.
61
  * Output formatting using Strip Tags,UTF-8 encode,Remove Space,CDATA,Htmentities,Price and Number format
62
  * Output Limitation. You can Limit output length according to your merchant feed specification.
@@ -93,6 +93,8 @@ In one word WooCommerce Product Feed is a revolution. Yah, it’s a revolution o
93
  * <a target="_blank" href="http://www.pricerunner.co.uk/">Pricerunner.co.uk</a>
94
  * <a target="_blank" href="http://www.cj.com/">Comission Junction (cj.com)</a>
95
  * <a target="_blank" href="http://www.polyvore.com/">Polyvore.com</a>
 
 
96
  * <a target="_blank" href="http://opensky.com">Opensky.com</a>
97
  * <a target="_blank" href="http://11Main.com">11Main.com</a>
98
  * <a target="_blank" href="http://www.shopbot.ca/">Shopbot.ca</a>
@@ -235,7 +237,7 @@ WooCommerce Product Feed Pro supports multi-vendor product feed generation. You
235
 
236
  **SUPPORT TEAM**
237
 
238
- We’ve a dedicated team of coders and wordpress experts to make your journey to us friendlier & error free. So, if you want to use our plugin or if you are facing any problem with our plugin feel free to say us by emailing here: support@webappick.com.
239
 
240
  == Installation ==
241
 
@@ -268,7 +270,7 @@ e.g.
268
 
269
  = which shopping engines are supported? =
270
 
271
- This plugin support all the sopping engines.
272
 
273
  = Does the plugin support product variation? =
274
 
@@ -296,6 +298,10 @@ Using pro version:
296
 
297
  == Changelog ==
298
 
 
 
 
 
299
  = 3.0.15(2019-04-04) =
300
  * Fixed: Zap.co.il template header issue fixed
301
 
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.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
53
  * It is highly customizable, having access to 100+ merchant sites & also very responsive of user commands.
54
  * 10+ pre configured template for Google Shopping,Google Adword,Facebook,Nextag.com,pricegrabber.com,Shopping.com,
55
  become.com,conexity.com,shopmania.com,shopzilla.com,bing.com
56
+ * You can post your product feeds either manually from your site to shopping engines
57
  or you can also set FTP to post your feeds automatically to your desired engines.
58
  * Feeds are also accessible via HTTP or HTTPS. So that merchant can easily and automatically fetch product feed using given Feed URL.
59
+ * There are 3 supported file formats for feeds. They are: XML, TXT, CSV.
60
  * Attribute Prefix and Suffix. You can easily add Marketing or Promo Text with Product Title, Description And its also possible to add Price symbol,currency code with price.
61
  * Output formatting using Strip Tags,UTF-8 encode,Remove Space,CDATA,Htmentities,Price and Number format
62
  * Output Limitation. You can Limit output length according to your merchant feed specification.
93
  * <a target="_blank" href="http://www.pricerunner.co.uk/">Pricerunner.co.uk</a>
94
  * <a target="_blank" href="http://www.cj.com/">Comission Junction (cj.com)</a>
95
  * <a target="_blank" href="http://www.polyvore.com/">Polyvore.com</a>
96
+ * <a target="_blank" href="https://www.fruugo.com/">Fruugo.com</a>
97
+ * <a target="_blank" href="https://www.fruugoaustralia.com/">Fruugoaustralia.com</a>
98
  * <a target="_blank" href="http://opensky.com">Opensky.com</a>
99
  * <a target="_blank" href="http://11Main.com">11Main.com</a>
100
  * <a target="_blank" href="http://www.shopbot.ca/">Shopbot.ca</a>
237
 
238
  **SUPPORT TEAM**
239
 
240
+ We’ve a dedicated team of coders and wordpress experts to make your journey to us friendlier & error free. So, if you want to use our plugin or if you are facing any problem with our plugin feel free to say us by emailing here: support@webappick.com.
241
 
242
  == Installation ==
243
 
270
 
271
  = which shopping engines are supported? =
272
 
273
+ This plugin support all the sopping engines.
274
 
275
  = Does the plugin support product variation? =
276
 
298
 
299
  == Changelog ==
300
 
301
+ = 3.0.16(2019-04-08) =
302
+ * Added: fruugoaustralia.com template added
303
+ * Fixed: fruugo.com template updated
304
+
305
  = 3.0.15(2019-04-04) =
306
  * Fixed: Zap.co.il template header issue fixed
307
 
admin/partials/fruugo.au/add-feed.php CHANGED
@@ -239,7 +239,7 @@
239
  <td>
240
  <select name="attributes[]" required="required"
241
  class="wf_validate_attr wf_attr wf_attributes">
242
- <?php echo $product->attributeDropdown(); ?>
243
  </select>
244
  <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
  style=" display: none;"/>
@@ -389,7 +389,7 @@
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;"/>
@@ -419,6 +419,8 @@
419
  </td>
420
  </tr>
421
 
 
 
422
  <tr>
423
  <td>
424
  <i class="wf_sortedtable dashicons dashicons-menu"></i>
@@ -525,7 +527,7 @@
525
  </td>
526
  <td>
527
  <input type="text" name="mattributes[]" autocomplete="off" required
528
- class="wf_validate_attr wf_mattributes wf_mattr" value="NormalPriceWithVat"/>
529
  </td>
530
  <td>
531
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
@@ -539,7 +541,7 @@
539
  <td>
540
  <select name="attributes[]" required="required"
541
  class="wf_validate_attr wf_attr wf_attributes">
542
- <?php echo $product->attributeDropdown('current_price'); ?>
543
  </select>
544
  <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
545
  style=" display: none;"/>
@@ -569,6 +571,56 @@
569
  </td>
570
  </tr>
571
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
572
  <tr>
573
  <td>
574
  <i class="wf_sortedtable dashicons dashicons-menu"></i>
@@ -618,6 +670,106 @@
618
  <i class="delRow dashicons dashicons-trash"></i>
619
  </td>
620
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
621
  </tbody>
622
  <tfoot>
623
  <tr>
239
  <td>
240
  <select name="attributes[]" required="required"
241
  class="wf_validate_attr wf_attr wf_attributes">
242
+ <?php echo $product->attributeDropdown('product_type'); ?>
243
  </select>
244
  <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
  style=" display: none;"/>
389
  <td>
390
  <select name="attributes[]" required="required"
391
  class="wf_validate_attr wf_attr wf_attributes">
392
+ <?php echo $product->attributeDropdown('quantity'); ?>
393
  </select>
394
  <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
395
  style=" display: none;"/>
419
  </td>
420
  </tr>
421
 
422
+
423
+
424
  <tr>
425
  <td>
426
  <i class="wf_sortedtable dashicons dashicons-menu"></i>
527
  </td>
528
  <td>
529
  <input type="text" name="mattributes[]" autocomplete="off" required
530
+ class="wf_validate_attr wf_mattributes wf_mattr" value="NormalPriceWithoutVat"/>
531
  </td>
532
  <td>
533
  <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
541
  <td>
542
  <select name="attributes[]" required="required"
543
  class="wf_validate_attr wf_attr wf_attributes">
544
+ <?php echo $product->attributeDropdown('price'); ?>
545
  </select>
546
  <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
547
  style=" display: none;"/>
571
  </td>
572
  </tr>
573
 
574
+ <tr>
575
+ <td>
576
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
577
+ </td>
578
+ <td>
579
+ <input type="text" name="mattributes[]" autocomplete="off" required
580
+ class="wf_validate_attr wf_mattributes wf_mattr" value="DiscountPriceWithoutVAT"/>
581
+ </td>
582
+ <td>
583
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
584
+ </td>
585
+ <td>
586
+ <select name="type[]" class="attr_type wfnoempty">
587
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
588
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
589
+ </select>
590
+ </td>
591
+ <td>
592
+ <select name="attributes[]" required="required"
593
+ class="wf_validate_attr wf_attr wf_attributes">
594
+ <?php echo $product->attributeDropdown('sale_price'); ?>
595
+ </select>
596
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
597
+ style=" display: none;"/>
598
+ </td>
599
+ <td>
600
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
601
+ </td>
602
+ <td>
603
+ <select name="output_type[][]" class="outputType wfnoempty">
604
+ <option value="1">Default</option>
605
+ <option value="2">Strip Tags</option>
606
+ <option value="3">UTF-8 Encode</option>
607
+ <option value="4">htmlentities</option>
608
+ <option value="5">Integer</option>
609
+ <option value="6">Price</option>
610
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
611
+ <option value="8">CDATA</option>
612
+ </select>
613
+ <i class="dashicons dashicons-editor-expand expandType"></i>
614
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
615
+ </td>
616
+ <td>
617
+ <input type="text" name="limit[]" class="wf_ps"/>
618
+ </td>
619
+ <td>
620
+ <i class="delRow dashicons dashicons-trash"></i>
621
+ </td>
622
+ </tr>
623
+
624
  <tr>
625
  <td>
626
  <i class="wf_sortedtable dashicons dashicons-menu"></i>
670
  <i class="delRow dashicons dashicons-trash"></i>
671
  </td>
672
  </tr>
673
+
674
+ <tr>
675
+ <td>
676
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
677
+ </td>
678
+ <td>
679
+ <input type="text" name="mattributes[]" autocomplete="off" required
680
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Currency"/>
681
+ </td>
682
+ <td>
683
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
684
+ </td>
685
+ <td>
686
+ <select name="type[]" class="attr_type wfnoempty">
687
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
688
+ <option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
689
+ </select>
690
+ </td>
691
+ <td>
692
+ <select name="attributes[]" required="required"
693
+ class="wf_validate_attr wf_attr wf_attributes" style="display: none;">
694
+ <?php echo $product->attributeDropdown(); ?>
695
+ </select>
696
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
697
+ value="<?php echo get_woocommerce_currency(); ?>"/>
698
+ </td>
699
+ <td>
700
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
701
+ </td>
702
+ <td>
703
+ <select name="output_type[][]" class="outputType wfnoempty">
704
+ <option value="1">Default</option>
705
+ <option value="2">Strip Tags</option>
706
+ <option value="3">UTF-8 Encode</option>
707
+ <option value="4">htmlentities</option>
708
+ <option value="5">Integer</option>
709
+ <option value="6">Price</option>
710
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
711
+ <option value="8">CDATA</option>
712
+ </select>
713
+ <i class="dashicons dashicons-editor-expand expandType"></i>
714
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
715
+ </td>
716
+ <td>
717
+ <input type="text" name="limit[]" class="wf_ps"/>
718
+ </td>
719
+ <td>
720
+ <i class="delRow dashicons dashicons-trash"></i>
721
+ </td>
722
+ </tr>
723
+
724
+ <tr>
725
+ <td>
726
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
727
+ </td>
728
+ <td>
729
+ <input type="text" name="mattributes[]" autocomplete="off" required
730
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Country"/>
731
+ </td>
732
+ <td>
733
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
734
+ </td>
735
+ <td>
736
+ <select name="type[]" class="attr_type wfnoempty">
737
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
738
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
739
+ </select>
740
+ </td>
741
+ <td>
742
+ <select name="attributes[]" required="required"
743
+ class="wf_validate_attr wf_attr wf_attributes">
744
+ <?php echo $product->attributeDropdown(); ?>
745
+ </select>
746
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
747
+ style=" display: none;"/>
748
+ </td>
749
+ <td>
750
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
751
+ </td>
752
+ <td>
753
+ <select name="output_type[][]" class="outputType wfnoempty">
754
+ <option value="1">Default</option>
755
+ <option value="2">Strip Tags</option>
756
+ <option value="3">UTF-8 Encode</option>
757
+ <option value="4">htmlentities</option>
758
+ <option value="5">Integer</option>
759
+ <option value="6">Price</option>
760
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
761
+ <option value="8">CDATA</option>
762
+ </select>
763
+ <i class="dashicons dashicons-editor-expand expandType"></i>
764
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
765
+ </td>
766
+ <td>
767
+ <input type="text" name="limit[]" class="wf_ps"/>
768
+ </td>
769
+ <td>
770
+ <i class="delRow dashicons dashicons-trash"></i>
771
+ </td>
772
+ </tr>
773
  </tbody>
774
  <tfoot>
775
  <tr>
admin/partials/fruugo/add-feed.php CHANGED
@@ -1,693 +1,804 @@
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" value="ProductId"/>
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[]"
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
- <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" value="SkuId"/>
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[]"
90
- class="wf_validate_attr wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown('sku'); ?>
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[][]" 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" value="EAN"/>
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[]"
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
- 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[][]" 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" value="Brand"/>
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[]"
188
- class="wf_validate_attr wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown(''); ?>
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[][]" 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" value="Category"/>
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[]"
237
- class="wf_validate_attr wf_attr wf_attributes">
238
- <?php echo $product->attributeDropdown('product_type'); ?>
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[][]" 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" value="Imageurl1"/>
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[]"
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[][]" 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" value="StockStatus"/>
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" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
331
- </select>
332
- </td>
333
- <td>
334
- <select name="attributes[]" style=" display: none;"
335
- class="wf_validate_attr wf_attr wf_attributes">
336
- <?php echo $product->attributeDropdown(""); ?>
337
- </select>
338
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" value="INSTOCK"
339
- />
340
- </td>
341
- <td>
342
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
- </td>
344
- <td>
345
- <select name="output_type[][]" 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" value="StockQuantity"/>
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[]"
384
- class="wf_validate_attr wf_attr wf_attributes">
385
- <?php echo $product->attributeDropdown("quantity"); ?>
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[][]" 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" value="Title"/>
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[]"
433
- class="wf_validate_attr wf_attr wf_attributes">
434
- <?php echo $product->attributeDropdown("title"); ?>
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[][]" 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
- <tr>
464
- <td>
465
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
- </td>
467
- <td>
468
- <input type="text" name="mattributes[]" autocomplete="off" required
469
- class="wf_validate_attr wf_mattributes" value="Description"/>
470
- </td>
471
- <td>
472
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
473
- </td>
474
- <td>
475
- <select name="type[]" class="attr_type wfnoempty">
476
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
477
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
478
- </select>
479
- </td>
480
- <td>
481
- <select name="attributes[]"
482
- class="wf_validate_attr wf_attr wf_attributes">
483
- <?php echo $product->attributeDropdown('description'); ?>
484
- </select>
485
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
- style=" display: none;"/>
487
- </td>
488
- <td>
489
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
- </td>
491
- <td>
492
- <select name="output_type[][]" class="outputType wfnoempty">
493
- <option value="1">Default</option>
494
- <option value="2">Strip Tags</option>
495
- <option value="3">UTF-8 Encode</option>
496
- <option value="4">htmlentities</option>
497
- <option value="5">Integer</option>
498
- <option value="6">Price</option>
499
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
- <option value="8">CDATA</option>
501
- </select>
502
- <i class="dashicons dashicons-editor-expand expandType"></i>
503
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
- </td>
505
- <td>
506
- <input type="text" name="limit[]" class="wf_ps"/>
507
- </td>
508
- <td>
509
- <i class="delRow dashicons dashicons-trash"></i>
510
- </td>
511
- </tr>
512
- <tr>
513
- <td>
514
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
- </td>
516
- <td>
517
- <input type="text" name="mattributes[]" autocomplete="off" required
518
- class="wf_validate_attr wf_mattributes" value="NormalPriceWithoutVAT"/>
519
- </td>
520
- <td>
521
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
522
- </td>
523
- <td>
524
- <select name="type[]" class="attr_type wfnoempty">
525
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
526
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
527
- </select>
528
- </td>
529
- <td>
530
- <select name="attributes[]"
531
- class="wf_validate_attr wf_attr wf_attributes">
532
- <?php echo $product->attributeDropdown('price'); ?>
533
- </select>
534
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
- style=" display: none;"/>
536
- </td>
537
- <td>
538
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
539
- </td>
540
- <td>
541
- <select name="output_type[][]" class="outputType wfnoempty">
542
- <option value="1">Default</option>
543
- <option value="2">Strip Tags</option>
544
- <option value="3">UTF-8 Encode</option>
545
- <option value="4">htmlentities</option>
546
- <option value="5">Integer</option>
547
- <option value="6">Price</option>
548
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
- <option value="8">CDATA</option>
550
- </select>
551
- <i class="dashicons dashicons-editor-expand expandType"></i>
552
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
- </td>
554
- <td>
555
- <input type="text" name="limit[]" class="wf_ps"/>
556
- </td>
557
- <td>
558
- <i class="delRow dashicons dashicons-trash"></i>
559
- </td>
560
- </tr>
561
- <tr>
562
- <td>
563
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
564
- </td>
565
- <td>
566
- <input type="text" name="mattributes[]" autocomplete="off" required
567
- class="wf_validate_attr wf_mattributes" value="NormalPriceWithVAT"/>
568
- </td>
569
- <td>
570
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
571
- </td>
572
- <td>
573
- <select name="type[]" class="attr_type wfnoempty">
574
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
575
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
576
- </select>
577
- </td>
578
- <td>
579
- <select name="attributes[]"
580
- class="wf_validate_attr wf_attr wf_attributes">
581
- <?php echo $product->attributeDropdown('price'); ?>
582
- </select>
583
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
584
- style=" display: none;"/>
585
- </td>
586
- <td>
587
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
588
- </td>
589
- <td>
590
- <select name="output_type[][]" class="outputType wfnoempty">
591
- <option value="1">Default</option>
592
- <option value="2">Strip Tags</option>
593
- <option value="3">UTF-8 Encode</option>
594
- <option value="4">htmlentities</option>
595
- <option value="5">Integer</option>
596
- <option value="6">Price</option>
597
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
598
- <option value="8">CDATA</option>
599
- </select>
600
- <i class="dashicons dashicons-editor-expand expandType"></i>
601
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
602
- </td>
603
- <td>
604
- <input type="text" name="limit[]" class="wf_ps"/>
605
- </td>
606
- <td>
607
- <i class="delRow dashicons dashicons-trash"></i>
608
- </td>
609
- </tr>
610
- <tr>
611
- <td>
612
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
613
- </td>
614
- <td>
615
- <input type="text" name="mattributes[]" autocomplete="off" required
616
- class="wf_validate_attr wf_mattributes" value="VATRate"/>
617
- </td>
618
- <td>
619
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
620
- </td>
621
- <td>
622
- <select name="type[]" class="attr_type wfnoempty">
623
- <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
624
- <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
625
- </select>
626
- </td>
627
- <td>
628
- <select name="attributes[]"
629
- class="wf_validate_attr wf_attr wf_attributes">
630
- <?php echo $product->attributeDropdown(''); ?>
631
- </select>
632
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
633
- style=" display: none;"/>
634
- </td>
635
- <td>
636
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
637
- </td>
638
- <td>
639
- <select name="output_type[][]" class="outputType wfnoempty">
640
- <option value="1">Default</option>
641
- <option value="2">Strip Tags</option>
642
- <option value="3">UTF-8 Encode</option>
643
- <option value="4">htmlentities</option>
644
- <option value="5">Integer</option>
645
- <option value="6">Price</option>
646
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
647
- <option value="8">CDATA</option>
648
- </select>
649
- <i class="dashicons dashicons-editor-expand expandType"></i>
650
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
651
- </td>
652
- <td>
653
- <input type="text" name="limit[]" class="wf_ps"/>
654
- </td>
655
- <td>
656
- <i class="delRow dashicons dashicons-trash"></i>
657
- </td>
658
- </tr>
659
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
660
 
661
- </tbody>
662
- <tfoot>
663
- <tr>
664
- <td>
665
- <button type="button" class="button-small button-primary" id="wf_newRow">
666
- <?php echo _e('Add New Row', 'woo-feed'); ?>
667
- </button>
668
- </td>
669
- <td colspan="8">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
670
 
671
- </td>
672
- </tr>
673
- </tfoot>
674
- </table>
675
- <table class=" widefat fixed">
676
- <tr>
677
- <td align="left" class="">
678
- <div class="makeFeedResponse"></div>
679
- <div class="makeFeedComplete"></div>
680
- </td>
681
- <td align="right">
682
- <button type="submit" class="wfbtn">
683
- <?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
684
- </button>
685
- </td>
686
- </tr>
687
- </table>
688
- </div>
689
- </li>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
690
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
  <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
692
 
693
  </ul>
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="ProductId"/>
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="SkuId"/>
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("sku"); ?>
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="EAN"/>
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(); ?>
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="Brand"/>
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(); ?>
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="Category"/>
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('product_type'); ?>
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="Imageurl1"/>
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('image'); ?>
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="StockStatus"/>
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("availability"); ?>
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="StockQuantity"/>
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('quantity'); ?>
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
+
422
+
423
+
424
+ <tr>
425
+ <td>
426
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
427
+ </td>
428
+ <td>
429
+ <input type="text" name="mattributes[]" autocomplete="off" required
430
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Title"/>
431
+ </td>
432
+ <td>
433
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
434
+ </td>
435
+ <td>
436
+ <select name="type[]" class="attr_type wfnoempty">
437
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
438
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
439
+ </select>
440
+ </td>
441
+ <td>
442
+ <select name="attributes[]" required="required"
443
+ class="wf_validate_attr wf_attr wf_attributes">
444
+ <?php echo $product->attributeDropdown('title'); ?>
445
+ </select>
446
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
447
+ style=" display: none;"/>
448
+ </td>
449
+ <td>
450
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
451
+ </td>
452
+ <td>
453
+ <select name="output_type[][]" class="outputType wfnoempty">
454
+ <option value="1">Default</option>
455
+ <option value="2">Strip Tags</option>
456
+ <option value="3">UTF-8 Encode</option>
457
+ <option value="4">htmlentities</option>
458
+ <option value="5">Integer</option>
459
+ <option value="6">Price</option>
460
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
461
+ <option value="8">CDATA</option>
462
+ </select>
463
+ <i class="dashicons dashicons-editor-expand expandType"></i>
464
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
465
+ </td>
466
+ <td>
467
+ <input type="text" name="limit[]" class="wf_ps"/>
468
+ </td>
469
+ <td>
470
+ <i class="delRow dashicons dashicons-trash"></i>
471
+ </td>
472
+ </tr>
473
+
474
+ <tr>
475
+ <td>
476
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
477
+ </td>
478
+ <td>
479
+ <input type="text" name="mattributes[]" autocomplete="off" required
480
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Description"/>
481
+ </td>
482
+ <td>
483
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
484
+ </td>
485
+ <td>
486
+ <select name="type[]" class="attr_type wfnoempty">
487
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
488
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
489
+ </select>
490
+ </td>
491
+ <td>
492
+ <select name="attributes[]" required="required"
493
+ class="wf_validate_attr wf_attr wf_attributes">
494
+ <?php echo $product->attributeDropdown('description'); ?>
495
+ </select>
496
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
497
+ style=" display: none;"/>
498
+ </td>
499
+ <td>
500
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
501
+ </td>
502
+ <td>
503
+ <select name="output_type[][]" class="outputType wfnoempty">
504
+ <option value="1">Default</option>
505
+ <option value="2">Strip Tags</option>
506
+ <option value="3">UTF-8 Encode</option>
507
+ <option value="4">htmlentities</option>
508
+ <option value="5">Integer</option>
509
+ <option value="6">Price</option>
510
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
511
+ <option value="8">CDATA</option>
512
+ </select>
513
+ <i class="dashicons dashicons-editor-expand expandType"></i>
514
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
515
+ </td>
516
+ <td>
517
+ <input type="text" name="limit[]" class="wf_ps"/>
518
+ </td>
519
+ <td>
520
+ <i class="delRow dashicons dashicons-trash"></i>
521
+ </td>
522
+ </tr>
523
+
524
+ <tr>
525
+ <td>
526
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
527
+ </td>
528
+ <td>
529
+ <input type="text" name="mattributes[]" autocomplete="off" required
530
+ class="wf_validate_attr wf_mattributes wf_mattr" value="NormalPriceWithoutVat"/>
531
+ </td>
532
+ <td>
533
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
534
+ </td>
535
+ <td>
536
+ <select name="type[]" class="attr_type wfnoempty">
537
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
538
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
539
+ </select>
540
+ </td>
541
+ <td>
542
+ <select name="attributes[]" required="required"
543
+ class="wf_validate_attr wf_attr wf_attributes">
544
+ <?php echo $product->attributeDropdown('price'); ?>
545
+ </select>
546
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
547
+ style=" display: none;"/>
548
+ </td>
549
+ <td>
550
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
551
+ </td>
552
+ <td>
553
+ <select name="output_type[][]" class="outputType wfnoempty">
554
+ <option value="1">Default</option>
555
+ <option value="2">Strip Tags</option>
556
+ <option value="3">UTF-8 Encode</option>
557
+ <option value="4">htmlentities</option>
558
+ <option value="5">Integer</option>
559
+ <option value="6">Price</option>
560
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
561
+ <option value="8">CDATA</option>
562
+ </select>
563
+ <i class="dashicons dashicons-editor-expand expandType"></i>
564
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
565
+ </td>
566
+ <td>
567
+ <input type="text" name="limit[]" class="wf_ps"/>
568
+ </td>
569
+ <td>
570
+ <i class="delRow dashicons dashicons-trash"></i>
571
+ </td>
572
+ </tr>
573
+
574
+ <tr>
575
+ <td>
576
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
577
+ </td>
578
+ <td>
579
+ <input type="text" name="mattributes[]" autocomplete="off" required
580
+ class="wf_validate_attr wf_mattributes wf_mattr" value="DiscountPriceWithoutVAT"/>
581
+ </td>
582
+ <td>
583
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
584
+ </td>
585
+ <td>
586
+ <select name="type[]" class="attr_type wfnoempty">
587
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
588
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
589
+ </select>
590
+ </td>
591
+ <td>
592
+ <select name="attributes[]" required="required"
593
+ class="wf_validate_attr wf_attr wf_attributes">
594
+ <?php echo $product->attributeDropdown('sale_price'); ?>
595
+ </select>
596
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
597
+ style=" display: none;"/>
598
+ </td>
599
+ <td>
600
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
601
+ </td>
602
+ <td>
603
+ <select name="output_type[][]" class="outputType wfnoempty">
604
+ <option value="1">Default</option>
605
+ <option value="2">Strip Tags</option>
606
+ <option value="3">UTF-8 Encode</option>
607
+ <option value="4">htmlentities</option>
608
+ <option value="5">Integer</option>
609
+ <option value="6">Price</option>
610
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
611
+ <option value="8">CDATA</option>
612
+ </select>
613
+ <i class="dashicons dashicons-editor-expand expandType"></i>
614
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
615
+ </td>
616
+ <td>
617
+ <input type="text" name="limit[]" class="wf_ps"/>
618
+ </td>
619
+ <td>
620
+ <i class="delRow dashicons dashicons-trash"></i>
621
+ </td>
622
+ </tr>
623
+
624
+ <tr>
625
+ <td>
626
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
627
+ </td>
628
+ <td>
629
+ <input type="text" name="mattributes[]" autocomplete="off" required
630
+ class="wf_validate_attr wf_mattributes wf_mattr" value="VatRate"/>
631
+ </td>
632
+ <td>
633
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
634
+ </td>
635
+ <td>
636
+ <select name="type[]" class="attr_type wfnoempty">
637
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
638
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
639
+ </select>
640
+ </td>
641
+ <td>
642
+ <select name="attributes[]" required="required"
643
+ class="wf_validate_attr wf_attr wf_attributes">
644
+ <?php echo $product->attributeDropdown(); ?>
645
+ </select>
646
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
647
+ style=" display: none;"/>
648
+ </td>
649
+ <td>
650
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
651
+ </td>
652
+ <td>
653
+ <select name="output_type[][]" class="outputType wfnoempty">
654
+ <option value="1">Default</option>
655
+ <option value="2">Strip Tags</option>
656
+ <option value="3">UTF-8 Encode</option>
657
+ <option value="4">htmlentities</option>
658
+ <option value="5">Integer</option>
659
+ <option value="6">Price</option>
660
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
661
+ <option value="8">CDATA</option>
662
+ </select>
663
+ <i class="dashicons dashicons-editor-expand expandType"></i>
664
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
665
+ </td>
666
+ <td>
667
+ <input type="text" name="limit[]" class="wf_ps"/>
668
+ </td>
669
+ <td>
670
+ <i class="delRow dashicons dashicons-trash"></i>
671
+ </td>
672
+ </tr>
673
+
674
+ <tr>
675
+ <td>
676
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
677
+ </td>
678
+ <td>
679
+ <input type="text" name="mattributes[]" autocomplete="off" required
680
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Currency"/>
681
+ </td>
682
+ <td>
683
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
684
+ </td>
685
+ <td>
686
+ <select name="type[]" class="attr_type wfnoempty">
687
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
688
+ <option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
689
+ </select>
690
+ </td>
691
+ <td>
692
+ <select name="attributes[]" required="required"
693
+ class="wf_validate_attr wf_attr wf_attributes" style="display: none;">
694
+ <?php echo $product->attributeDropdown(); ?>
695
+ </select>
696
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
697
+ value="<?php echo get_woocommerce_currency(); ?>"/>
698
+ </td>
699
+ <td>
700
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
701
+ </td>
702
+ <td>
703
+ <select name="output_type[][]" class="outputType wfnoempty">
704
+ <option value="1">Default</option>
705
+ <option value="2">Strip Tags</option>
706
+ <option value="3">UTF-8 Encode</option>
707
+ <option value="4">htmlentities</option>
708
+ <option value="5">Integer</option>
709
+ <option value="6">Price</option>
710
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
711
+ <option value="8">CDATA</option>
712
+ </select>
713
+ <i class="dashicons dashicons-editor-expand expandType"></i>
714
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
715
+ </td>
716
+ <td>
717
+ <input type="text" name="limit[]" class="wf_ps"/>
718
+ </td>
719
+ <td>
720
+ <i class="delRow dashicons dashicons-trash"></i>
721
+ </td>
722
+ </tr>
723
+
724
+ <tr>
725
+ <td>
726
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
727
+ </td>
728
+ <td>
729
+ <input type="text" name="mattributes[]" autocomplete="off" required
730
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Country"/>
731
+ </td>
732
+ <td>
733
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
734
+ </td>
735
+ <td>
736
+ <select name="type[]" class="attr_type wfnoempty">
737
+ <option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
738
+ <option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
739
+ </select>
740
+ </td>
741
+ <td>
742
+ <select name="attributes[]" required="required"
743
+ class="wf_validate_attr wf_attr wf_attributes">
744
+ <?php echo $product->attributeDropdown(); ?>
745
+ </select>
746
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
747
+ style=" display: none;"/>
748
+ </td>
749
+ <td>
750
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
751
+ </td>
752
+ <td>
753
+ <select name="output_type[][]" class="outputType wfnoempty">
754
+ <option value="1">Default</option>
755
+ <option value="2">Strip Tags</option>
756
+ <option value="3">UTF-8 Encode</option>
757
+ <option value="4">htmlentities</option>
758
+ <option value="5">Integer</option>
759
+ <option value="6">Price</option>
760
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
761
+ <option value="8">CDATA</option>
762
+ </select>
763
+ <i class="dashicons dashicons-editor-expand expandType"></i>
764
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
765
+ </td>
766
+ <td>
767
+ <input type="text" name="limit[]" class="wf_ps"/>
768
+ </td>
769
+ <td>
770
+ <i class="delRow dashicons dashicons-trash"></i>
771
+ </td>
772
+ </tr>
773
+ </tbody>
774
+ <tfoot>
775
+ <tr>
776
+ <td>
777
+ <button type="button" class="button-small button-primary" id="wf_newRow">
778
+ <?php echo _e('Add New Row', 'woo-feed'); ?>
779
+ </button>
780
+ </td>
781
+ <td colspan="8">
782
+
783
+ </td>
784
+ </tr>
785
+ </tfoot>
786
+ </table>
787
+ <table class=" widefat fixed">
788
+ <tr>
789
+ <td align="left" class="">
790
+ <div class="makeFeedResponse"></div>
791
+ <div class="makeFeedComplete"></div>
792
+ </td>
793
+ <td align="right">
794
+ <button type="submit" class="wfbtn">
795
+ <?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
796
+ </button>
797
+ </td>
798
+ </tr>
799
+ </table>
800
+ </div>
801
+ </li>
802
  <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
803
 
804
  </ul>
admin/partials/nextad/add-feed.php ADDED
@@ -0,0 +1,452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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("current_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/skinflint.co.uk/add-feed.php ADDED
@@ -0,0 +1,452 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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>
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.15';
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.16';
74
 
75
  $this->load_dependencies();
76
  $this->set_locale();
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -56,6 +56,7 @@ class Woo_Feed_Default_Attributes
56
  "prisjakt" =>"Prisjakt",
57
  "twenga" =>"Twenga",
58
  "fruugo" =>"Fruugo",
 
59
  "bonanza" =>"Bonanza",
60
  "bol" =>"Bol.com",
61
  "leguide" =>"LeGuide",
@@ -64,10 +65,11 @@ class Woo_Feed_Default_Attributes
64
  "jet" =>"Jet.com",
65
  "wish" =>"Wish.com",
66
  "zap.co.il" => "Zap.co.il",
67
- // "fruugo.au" => "Fruugoaustralia.com",
68
  // "myshopping.com.au" => "Myshopping.com.au",
69
  // "smartly.io" => "Smartly.io",
70
  // "stylight.com" => "Stylight.com",
 
 
71
  "---2" =>"",
72
  "--3" =>"Amazon Template",
73
  "amazon_clothing" =>"Clothing",
56
  "prisjakt" =>"Prisjakt",
57
  "twenga" =>"Twenga",
58
  "fruugo" =>"Fruugo",
59
+ "fruugo.au" =>"Fruugoaustralia.com",
60
  "bonanza" =>"Bonanza",
61
  "bol" =>"Bol.com",
62
  "leguide" =>"LeGuide",
65
  "jet" =>"Jet.com",
66
  "wish" =>"Wish.com",
67
  "zap.co.il" => "Zap.co.il",
 
68
  // "myshopping.com.au" => "Myshopping.com.au",
69
  // "smartly.io" => "Smartly.io",
70
  // "stylight.com" => "Stylight.com",
71
+ // "nextad" => "TheNextAd",
72
+ // "skinflint.co.uk" => "SkinFlint.co.uk",
73
  "---2" =>"",
74
  "--3" =>"Amazon Template",
75
  "amazon_clothing" =>"Clothing",
includes/feeds/class-woo-feed-custom.php CHANGED
@@ -184,6 +184,22 @@ class Woo_Feed_Custom
184
  <link>". get_bloginfo('url') ."</link>
185
  <description>". get_bloginfo('description') ."</description>";
186
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
187
  else
188
  {
189
  return $engine->get_xml_feed_header();
@@ -192,7 +208,7 @@ class Woo_Feed_Custom
192
 
193
  public function get_footer($engine)
194
  {
195
- if(in_array($this->rules['provider'], ['fruugo.au','myshopping.com.au', 'stylight.com'])) {
196
  return "</products>";
197
  }
198
  else if($this->rules['provider'] == 'zap.co.il')
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
204
  {
205
  return $engine->get_xml_feed_header();
208
 
209
  public function get_footer($engine)
210
  {
211
+ if(in_array($this->rules['provider'], ['fruugo.au','myshopping.com.au', 'stylight.com', 'nextad', 'skinflint.co.uk'])) {
212
  return "</products>";
213
  }
214
  else if($this->rules['provider'] == 'zap.co.il')
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.15
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
@@ -36,6 +36,7 @@ if (!defined('ABSPATH')) {
36
  exit;
37
  }
38
 
 
39
  /**
40
  * The core plugin class that is used to define internationalization,
41
  * admin-specific hooks, and public-facing site hooks.
@@ -758,7 +759,7 @@ function woo_feed_manage_feed()
758
  }
759
 
760
  $merchants=array(
761
- "custom","fruugo","twenga","pricespy","prisjakt","amazon","adwords","polyvore","bol","pricerunner","adform","bonanza","leeguide","real","crowdfox","jet","wish","google_local_inventory", "google_local", "zap.co.il", "fruugo.au", "myshopping.com.au", "smartly.io", "stylight.com"
762
  );
763
 
764
  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: 3.0.16
20
  * Author: WebAppick
21
  * Author URI: https://webappick.com/
22
  * License: GPL v2
36
  exit;
37
  }
38
 
39
+
40
  /**
41
  * The core plugin class that is used to define internationalization,
42
  * admin-specific hooks, and public-facing site hooks.
759
  }
760
 
761
  $merchants=array(
762
+ "custom","fruugo","twenga","pricespy","prisjakt","amazon","adwords","polyvore","bol","pricerunner","adform","bonanza","leeguide","real","crowdfox","jet","wish","google_local_inventory", "google_local", "zap.co.il", "fruugo.au", "myshopping.com.au", "smartly.io", "stylight.com", "nextad", "skinflint.co.uk"
763
  );
764
 
765
  if (isset($fname)) {