Version Description
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 2.1.28 |
Comparing to | |
See all releases |
Code changes from version 2.1.24 to 2.1.28
- README.txt +64 -1
- admin/partials/adform/add-feed.php +398 -0
- admin/partials/bol/add-feed.php +447 -0
- admin/partials/custom/edit-feed.php +1 -1
- admin/partials/fruugo/add-feed.php +744 -0
- admin/partials/polyvore/add-feed.php +498 -0
- admin/partials/pricerunner/add-feed.php +791 -0
- admin/partials/woo-feed-edit-template.php +1 -1
- includes/class-woo-feed.php +1 -1
- includes/classes/class-woo-feed-admin-message.php +1 -1
- includes/classes/class-woo-feed-default-attributes.php +10 -3
- woo-feed.php +7 -2
README.txt
CHANGED
@@ -12,7 +12,7 @@ Get Real Buyer and Boost Your Sell by Uploading your Products to 100+ Shopping E
|
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
**WooCommerce Product Feed** generate product feed to Sync your products with your merchant center like Google Shopping,Facebook Product Ads,Idealo.de, shopbot.ca etc. The main target of this plugin is to generate product feed, automatically update product information into feed file according to given schedule and sync your product to different shopping engines via HTTP or FTP so that real buyer can get your product into shopping engines like Google Shopping, pricegrabber, pricerunner, nextag,ebay and many more.<br/><br/> Compatible with WooCommerce 3.0+
|
16 |
<blockquote>
|
17 |
<h4>Free version support unlimited feed with up to 2000 products including variations.</h4>
|
18 |
<br/>
|
@@ -117,6 +117,56 @@ In one word WooCommerce Product Feed is a revolution. Yah, it’s a revolution o
|
|
117 |
* <a target="_blank" href="https://yaoota.com/en-eg/">Yaoota.com</a>
|
118 |
* <a target="_blank" href="https://compare.buyhatke.com/">Buyhatke.com</a>
|
119 |
* <a target="_blank" href="https://www.comparekaro.pk/">Comparekaro.pk</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
|
121 |
<blockquote>
|
122 |
<h4>If you like Free Version, you'll love the Pro Version</h4>
|
@@ -216,6 +266,19 @@ Using pro version:
|
|
216 |
|
217 |
== Changelog ==
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
= 2.1.24(2017-11-03) =
|
220 |
* Added: FTP port option
|
221 |
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
**WooCommerce Product Feed** generate product feed or data feed to Sync your products with your merchant center like Google Shopping,Facebook Product Ads,Idealo.de, shopbot.ca etc. The main target of this plugin is to generate product feed, automatically update product information into feed file according to given schedule and sync your product to different shopping engines via HTTP or FTP so that real buyer can get your product into shopping engines like Google Shopping, pricegrabber, pricerunner, nextag,ebay and many more.<br/><br/> Compatible with WooCommerce 3.0+
|
16 |
<blockquote>
|
17 |
<h4>Free version support unlimited feed with up to 2000 products including variations.</h4>
|
18 |
<br/>
|
117 |
* <a target="_blank" href="https://yaoota.com/en-eg/">Yaoota.com</a>
|
118 |
* <a target="_blank" href="https://compare.buyhatke.com/">Buyhatke.com</a>
|
119 |
* <a target="_blank" href="https://www.comparekaro.pk/">Comparekaro.pk</a>
|
120 |
+
* <a target="_blank" href="http://site.adform.com">Adform.com</a>
|
121 |
+
* <a target="_blank" href="https://www.polyvore.com/">Polyvore.com</a>
|
122 |
+
* <a target="_blank" href="https://www.stylight.com/">Stylight.com</a>
|
123 |
+
* <a target="_blank" href="https://www.spartoo.co.uk/">Spartoo.co.uk</a>
|
124 |
+
* <a target="_blank" href="http://www.choozen.co.uk/">Choozen</a>
|
125 |
+
* <a target="_blank" href="https://www.ciao.co.uk/">Ciao</a>
|
126 |
+
* <a target="_blank" href="http://www.priceminister.com/">Priceminister.com</a>
|
127 |
+
* <a target="_blank" href="https://skinflint.co.uk/">Skinflint</a>
|
128 |
+
* <a target="_blank" href="https://www.rakuten.com/">Rakuten</a>
|
129 |
+
* <a target="_blank" href="https://www.bol.com/nl/index.html">Bol.com</a>
|
130 |
+
* <a target="_blank" href="https://www.crowdfox.com/">Crowdfox.com</a>
|
131 |
+
* <a target="_blank" href="https://www.real.de/">Real.de</a>
|
132 |
+
* <a target="_blank" href="http://incurvy.co.uk/">Incurvy.co.uk</a>
|
133 |
+
* <a target="_blank" href="https://de.allyouneed.com/de/">Allyouneed.com</a>
|
134 |
+
* <a target="_blank" href="https://www.apomio.de/">Apomio.de</a>
|
135 |
+
* <a target="_blank" href="https://www.billiger.de/">Billiger.de</a>
|
136 |
+
* <a target="_blank" href="https://www.domodi.de/">Domodi.de</a>
|
137 |
+
* <a target="_blank" href="https://www.fashiola.de/">Fashiola.de</a>
|
138 |
+
* <a target="_blank" href="https://geizhals.de/">Geizhals.de</a>
|
139 |
+
* <a target="_blank" href="http://www.guenstiger.de/">Guenstiger.de</a>
|
140 |
+
* <a target="_blank" href="https://www.hood.de/">Hood.de</a>
|
141 |
+
* <a target="_blank" href="https://www.ladenzeile.de/">Ladenzeile.de</a>
|
142 |
+
* <a target="_blank" href="https://www.livingo.de/">Livingo.de</a>
|
143 |
+
* <a target="_blank" href="https://www.medizinfuchs.de/">Medizinfuchs.de</a>
|
144 |
+
* <a target="_blank" href="https://www.moebel.de/">Moebel.de</a>
|
145 |
+
* <a target="_blank" href="https://www.mybestbrands.de/">Mybestbrands.de</a>
|
146 |
+
* <a target="_blank" href="http://www.preis.de/">Preis.de</a>
|
147 |
+
* <a target="_blank" href="https://www.restposten.de/">Restposten.de</a>
|
148 |
+
* <a target="_blank" href="https://www.sparmedo.de/">Sparmedo.de</a>
|
149 |
+
* <a target="_blank" href="https://www.stylelounge.de/">Stylelounge.de</a>
|
150 |
+
* <a target="_blank" href="http://www.stylefruits.de/">Stylefruits.de</a>
|
151 |
+
* <a target="_blank" href="https://www.marktplaats.nl/">Marktplaats.nl</a>
|
152 |
+
* <a target="_blank" href="http://spartoo.nl/">Spartoo.nl</a>
|
153 |
+
* <a target="_blank" href="https://www.ooshopping.nl/">Ooshopping.nl</a>
|
154 |
+
* <a target="_blank" href="https://www.vergelijk.nl/">Vergelijk.nl</a>
|
155 |
+
* <a target="_blank" href="https://www.kieskeurig.nl/">Kieskeurig.nl</a>
|
156 |
+
* <a target="_blank" href="https://tweakers.net/">Tweakers.net</a>
|
157 |
+
* <a target="_blank" href="https://www.kleding.nl/">Kleding.nl</a>
|
158 |
+
* <a target="_blank" href="https://www.shopalike.it/">Shopalike.it</a>
|
159 |
+
* <a target="_blank" href="https://www.trovaprezzi.it/">Trovaprezzi.it</a>
|
160 |
+
* <a target="_blank" href="https://www.skroutz.gr/">Skroutz.gr</a>
|
161 |
+
* <a target="_blank" href="https://www.manomano.fr/">Manomano.fr</a>
|
162 |
+
* <a target="_blank" href="https://www.cdiscount.com/">Cdiscount.com</a>
|
163 |
+
* <a target="_blank" href="https://www.fnac.com/">Fnac.com</a>
|
164 |
+
* <a target="_blank" href="https://www.comparer.be/">Comparer.be</a>
|
165 |
+
* <a target="_blank" href="https://www.cherchons.com/">Cherchons.com</a>
|
166 |
+
* <a target="_blank" href="http://www.miinto.com/">Miinto.com</a>
|
167 |
+
* <a target="_blank" href="https://www.ricardo.ch/">Ricardo.ch</a>
|
168 |
+
* <a target="_blank" href="https://www.ricardo.ch/">Ricardo.ch</a>
|
169 |
+
* <a target="_blank" href="https://www.kauftipp.ch/">Kauftipp.ch</a>
|
170 |
|
171 |
<blockquote>
|
172 |
<h4>If you like Free Version, you'll love the Pro Version</h4>
|
266 |
|
267 |
== Changelog ==
|
268 |
|
269 |
+
= 2.1.28(2017-12-27) =
|
270 |
+
* Added: Pricerunner template added
|
271 |
+
* Added: AdForm template added
|
272 |
+
|
273 |
+
= 2.1.27(2017-12-25) =
|
274 |
+
* Added: Bol.com template added
|
275 |
+
|
276 |
+
= 2.1.26(2017-12-12) =
|
277 |
+
* Added: Polyvore template added
|
278 |
+
|
279 |
+
= 2.1.25(2017-12-03) =
|
280 |
+
* Added: Fruugo template added
|
281 |
+
|
282 |
= 2.1.24(2017-11-03) =
|
283 |
* Added: FTP port option
|
284 |
|
admin/partials/adform/add-feed.php
ADDED
@@ -0,0 +1,398 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="product_id"/>
|
29 |
+
</td>
|
30 |
+
<td>
|
31 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
32 |
+
</td>
|
33 |
+
<td>
|
34 |
+
<select name="type[]" class="attr_type wfnoempty">
|
35 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
36 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
37 |
+
</select>
|
38 |
+
</td>
|
39 |
+
<td>
|
40 |
+
<select name="attributes[]" id="" required="required"
|
41 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
+
<?php echo $product->attributeDropdown('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[][]" id="" class="outputType wfnoempty">
|
52 |
+
<option value="1">Default</option>
|
53 |
+
<option value="2">Strip Tags</option>
|
54 |
+
<option value="3">UTF-8 Encode</option>
|
55 |
+
<option value="4">htmlentities</option>
|
56 |
+
<option value="5">Integer</option>
|
57 |
+
<option value="6">Price</option>
|
58 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
59 |
+
<option value="8">CDATA</option>
|
60 |
+
</select>
|
61 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
62 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
63 |
+
</td>
|
64 |
+
<td>
|
65 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
66 |
+
</td>
|
67 |
+
<td>
|
68 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
<tr>
|
72 |
+
<td>
|
73 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
74 |
+
</td>
|
75 |
+
<td>
|
76 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
77 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="product_name"/>
|
78 |
+
</td>
|
79 |
+
<td>
|
80 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
81 |
+
</td>
|
82 |
+
<td>
|
83 |
+
<select name="type[]" class="attr_type wfnoempty">
|
84 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
85 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
86 |
+
</select>
|
87 |
+
</td>
|
88 |
+
<td>
|
89 |
+
<select name="attributes[]" id="" required="required"
|
90 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
+
<?php echo $product->attributeDropdown('title'); ?>
|
92 |
+
</select>
|
93 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
94 |
+
style=" display: none;"/>
|
95 |
+
</td>
|
96 |
+
<td>
|
97 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
98 |
+
</td>
|
99 |
+
<td>
|
100 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
101 |
+
<option value="1">Default</option>
|
102 |
+
<option value="2">Strip Tags</option>
|
103 |
+
<option value="3">UTF-8 Encode</option>
|
104 |
+
<option value="4">htmlentities</option>
|
105 |
+
<option value="5">Integer</option>
|
106 |
+
<option value="6">Price</option>
|
107 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
108 |
+
<option value="8">CDATA</option>
|
109 |
+
</select>
|
110 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
111 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
112 |
+
</td>
|
113 |
+
<td>
|
114 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
115 |
+
</td>
|
116 |
+
<td>
|
117 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr>
|
121 |
+
<td>
|
122 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
123 |
+
</td>
|
124 |
+
<td>
|
125 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
126 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="product_category_id"/>
|
127 |
+
</td>
|
128 |
+
<td>
|
129 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
130 |
+
</td>
|
131 |
+
<td>
|
132 |
+
<select name="type[]" class="attr_type wfnoempty">
|
133 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
134 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
135 |
+
</select>
|
136 |
+
</td>
|
137 |
+
<td>
|
138 |
+
<select name="attributes[]" id="" required="required"
|
139 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
+
<?php echo $product->attributeDropdown('product_type'); ?>
|
141 |
+
</select>
|
142 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
143 |
+
style=" display: none;"/>
|
144 |
+
</td>
|
145 |
+
<td>
|
146 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
147 |
+
</td>
|
148 |
+
<td>
|
149 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
150 |
+
<option value="1">Default</option>
|
151 |
+
<option value="2">Strip Tags</option>
|
152 |
+
<option value="3">UTF-8 Encode</option>
|
153 |
+
<option value="4">htmlentities</option>
|
154 |
+
<option value="5">Integer</option>
|
155 |
+
<option value="6">Price</option>
|
156 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
157 |
+
<option value="8">CDATA</option>
|
158 |
+
</select>
|
159 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
160 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
161 |
+
</td>
|
162 |
+
<td>
|
163 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
164 |
+
</td>
|
165 |
+
<td>
|
166 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
167 |
+
</td>
|
168 |
+
</tr>
|
169 |
+
<tr>
|
170 |
+
<td>
|
171 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
172 |
+
</td>
|
173 |
+
<td>
|
174 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
175 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="product_deeplink"/>
|
176 |
+
</td>
|
177 |
+
<td>
|
178 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
179 |
+
</td>
|
180 |
+
<td>
|
181 |
+
<select name="type[]" class="attr_type wfnoempty">
|
182 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
183 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
184 |
+
</select>
|
185 |
+
</td>
|
186 |
+
<td>
|
187 |
+
<select name="attributes[]" id="" required="required"
|
188 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
+
<?php echo $product->attributeDropdown('link'); ?>
|
190 |
+
</select>
|
191 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
192 |
+
style=" display: none;"/>
|
193 |
+
</td>
|
194 |
+
<td>
|
195 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
196 |
+
</td>
|
197 |
+
<td>
|
198 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
199 |
+
<option value="1">Default</option>
|
200 |
+
<option value="2">Strip Tags</option>
|
201 |
+
<option value="3">UTF-8 Encode</option>
|
202 |
+
<option value="4">htmlentities</option>
|
203 |
+
<option value="5">Integer</option>
|
204 |
+
<option value="6">Price</option>
|
205 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
206 |
+
<option value="8">CDATA</option>
|
207 |
+
</select>
|
208 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
209 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
210 |
+
</td>
|
211 |
+
<td>
|
212 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
213 |
+
</td>
|
214 |
+
<td>
|
215 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
216 |
+
</td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<td>
|
220 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
221 |
+
</td>
|
222 |
+
<td>
|
223 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
224 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="product_image"/>
|
225 |
+
</td>
|
226 |
+
<td>
|
227 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
228 |
+
</td>
|
229 |
+
<td>
|
230 |
+
<select name="type[]" class="attr_type wfnoempty">
|
231 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
232 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
233 |
+
</select>
|
234 |
+
</td>
|
235 |
+
<td>
|
236 |
+
<select name="attributes[]" id="" required="required"
|
237 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
+
<?php echo $product->attributeDropdown('image'); ?>
|
239 |
+
</select>
|
240 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
241 |
+
style=" display: none;"/>
|
242 |
+
</td>
|
243 |
+
<td>
|
244 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
245 |
+
</td>
|
246 |
+
<td>
|
247 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
248 |
+
<option value="1">Default</option>
|
249 |
+
<option value="2">Strip Tags</option>
|
250 |
+
<option value="3">UTF-8 Encode</option>
|
251 |
+
<option value="4">htmlentities</option>
|
252 |
+
<option value="5">Integer</option>
|
253 |
+
<option value="6">Price</option>
|
254 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
255 |
+
<option value="8">CDATA</option>
|
256 |
+
</select>
|
257 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
258 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
259 |
+
</td>
|
260 |
+
<td>
|
261 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
262 |
+
</td>
|
263 |
+
<td>
|
264 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
265 |
+
</td>
|
266 |
+
</tr>
|
267 |
+
<tr>
|
268 |
+
<td>
|
269 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
270 |
+
</td>
|
271 |
+
<td>
|
272 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
273 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="product_price"/>
|
274 |
+
</td>
|
275 |
+
<td>
|
276 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
277 |
+
</td>
|
278 |
+
<td>
|
279 |
+
<select name="type[]" class="attr_type wfnoempty">
|
280 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
281 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
282 |
+
</select>
|
283 |
+
</td>
|
284 |
+
<td>
|
285 |
+
<select name="attributes[]" id="" required="required"
|
286 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
287 |
+
<?php echo $product->attributeDropdown('price'); ?>
|
288 |
+
</select>
|
289 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
290 |
+
style=" display: none;"/>
|
291 |
+
</td>
|
292 |
+
<td>
|
293 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
294 |
+
</td>
|
295 |
+
<td>
|
296 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
297 |
+
<option value="1">Default</option>
|
298 |
+
<option value="2">Strip Tags</option>
|
299 |
+
<option value="3">UTF-8 Encode</option>
|
300 |
+
<option value="4">htmlentities</option>
|
301 |
+
<option value="5">Integer</option>
|
302 |
+
<option value="6">Price</option>
|
303 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
304 |
+
<option value="8">CDATA</option>
|
305 |
+
</select>
|
306 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
307 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
308 |
+
</td>
|
309 |
+
<td>
|
310 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
311 |
+
</td>
|
312 |
+
<td>
|
313 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
314 |
+
</td>
|
315 |
+
</tr>
|
316 |
+
</tbody>
|
317 |
+
<tfoot>
|
318 |
+
<tr>
|
319 |
+
<td>
|
320 |
+
<button type="button" class="button-small button-primary" id="wf_newRow">
|
321 |
+
<?php echo _e('Add New Row', 'woo-feed'); ?>
|
322 |
+
</button>
|
323 |
+
</td>
|
324 |
+
<td colspan="8">
|
325 |
+
|
326 |
+
</td>
|
327 |
+
</tr>
|
328 |
+
</tfoot>
|
329 |
+
</table>
|
330 |
+
<table class=" widefat fixed">
|
331 |
+
<tr>
|
332 |
+
<td align="left" class="">
|
333 |
+
<div class="makeFeedResponse"></div>
|
334 |
+
<div class="makeFeedComplete"></div>
|
335 |
+
</td>
|
336 |
+
<td align="right">
|
337 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
338 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
339 |
+
</button>
|
340 |
+
</td>
|
341 |
+
</tr>
|
342 |
+
</table>
|
343 |
+
</div>
|
344 |
+
</li>
|
345 |
+
<li>
|
346 |
+
<input type="radio" name="wf_tabs" id="tab3"/>
|
347 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
348 |
+
|
349 |
+
<div id="wf-tab-content3" class="wf-tab-content">
|
350 |
+
<table class="table widefat fixed mtable" width="100%">
|
351 |
+
<tbody>
|
352 |
+
<tr>
|
353 |
+
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
354 |
+
<td>
|
355 |
+
<select name="ftpenabled" id="">
|
356 |
+
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
357 |
+
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
358 |
+
</select>
|
359 |
+
</td>
|
360 |
+
</tr>
|
361 |
+
<tr>
|
362 |
+
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
363 |
+
<td><input type="text" name="ftphost"/></td>
|
364 |
+
</tr>
|
365 |
+
<tr>
|
366 |
+
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
367 |
+
<td><input type="text" name="ftpuser"/></td>
|
368 |
+
</tr>
|
369 |
+
<tr>
|
370 |
+
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
371 |
+
<td><input type="password" name="ftppassword"/></td>
|
372 |
+
</tr>
|
373 |
+
<tr>
|
374 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
375 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
376 |
+
</tr>
|
377 |
+
<tr>
|
378 |
+
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
379 |
+
<td><input type="text" name="ftppath"/></td>
|
380 |
+
</tr>
|
381 |
+
</tbody>
|
382 |
+
</table>
|
383 |
+
<table class=" widefat fixed">
|
384 |
+
<tr>
|
385 |
+
<td align="left" class="makeFeedResponse">
|
386 |
+
|
387 |
+
</td>
|
388 |
+
<td align="right">
|
389 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
390 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
391 |
+
</button>
|
392 |
+
</td>
|
393 |
+
</tr>
|
394 |
+
</table>
|
395 |
+
</div>
|
396 |
+
</li>
|
397 |
+
|
398 |
+
</ul>
|
admin/partials/bol/add-feed.php
ADDED
@@ -0,0 +1,447 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="EAN" />
|
29 |
+
</td>
|
30 |
+
<td>
|
31 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
32 |
+
</td>
|
33 |
+
<td>
|
34 |
+
<select name="type[]" class="attr_type wfnoempty">
|
35 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
36 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
37 |
+
</select>
|
38 |
+
</td>
|
39 |
+
<td>
|
40 |
+
<select name="attributes[]" id="" required="required"
|
41 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
+
<?php echo $product->attributeDropdown('sku'); ?>
|
43 |
+
</select>
|
44 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
45 |
+
style=" display: none;"/>
|
46 |
+
</td>
|
47 |
+
<td>
|
48 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
49 |
+
</td>
|
50 |
+
<td>
|
51 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
52 |
+
<option value="1">Default</option>
|
53 |
+
<option value="2">Strip Tags</option>
|
54 |
+
<option value="3">UTF-8 Encode</option>
|
55 |
+
<option value="4">htmlentities</option>
|
56 |
+
<option value="5">Integer</option>
|
57 |
+
<option value="6">Price</option>
|
58 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
59 |
+
<option value="8">CDATA</option>
|
60 |
+
</select>
|
61 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
62 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
63 |
+
</td>
|
64 |
+
<td>
|
65 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
66 |
+
</td>
|
67 |
+
<td>
|
68 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
<tr>
|
72 |
+
<td>
|
73 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
74 |
+
</td>
|
75 |
+
<td>
|
76 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
77 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Internal Reference"/>
|
78 |
+
</td>
|
79 |
+
<td>
|
80 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
81 |
+
</td>
|
82 |
+
<td>
|
83 |
+
<select name="type[]" class="attr_type wfnoempty">
|
84 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
85 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
86 |
+
</select>
|
87 |
+
</td>
|
88 |
+
<td>
|
89 |
+
<select name="attributes[]" id="" required="required"
|
90 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
+
<?php echo $product->attributeDropdown('id'); ?>
|
92 |
+
</select>
|
93 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
94 |
+
style=" display: none;"/>
|
95 |
+
</td>
|
96 |
+
<td>
|
97 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
98 |
+
</td>
|
99 |
+
<td>
|
100 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
101 |
+
<option value="1">Default</option>
|
102 |
+
<option value="2">Strip Tags</option>
|
103 |
+
<option value="3">UTF-8 Encode</option>
|
104 |
+
<option value="4">htmlentities</option>
|
105 |
+
<option value="5">Integer</option>
|
106 |
+
<option value="6">Price</option>
|
107 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
108 |
+
<option value="8">CDATA</option>
|
109 |
+
</select>
|
110 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
111 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
112 |
+
</td>
|
113 |
+
<td>
|
114 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
115 |
+
</td>
|
116 |
+
<td>
|
117 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr>
|
121 |
+
<td>
|
122 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
123 |
+
</td>
|
124 |
+
<td>
|
125 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
126 |
+
class="wf_validate_attr wf_mattributes wf_mattr"value="Name"/>
|
127 |
+
</td>
|
128 |
+
<td>
|
129 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
130 |
+
</td>
|
131 |
+
<td>
|
132 |
+
<select name="type[]" class="attr_type wfnoempty">
|
133 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
134 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
135 |
+
</select>
|
136 |
+
</td>
|
137 |
+
<td>
|
138 |
+
<select name="attributes[]" id="" required="required"
|
139 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
+
<?php echo $product->attributeDropdown('title'); ?>
|
141 |
+
</select>
|
142 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
143 |
+
style=" display: none;"/>
|
144 |
+
</td>
|
145 |
+
<td>
|
146 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
147 |
+
</td>
|
148 |
+
<td>
|
149 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
150 |
+
<option value="1">Default</option>
|
151 |
+
<option value="2">Strip Tags</option>
|
152 |
+
<option value="3">UTF-8 Encode</option>
|
153 |
+
<option value="4">htmlentities</option>
|
154 |
+
<option value="5">Integer</option>
|
155 |
+
<option value="6">Price</option>
|
156 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
157 |
+
<option value="8">CDATA</option>
|
158 |
+
</select>
|
159 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
160 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
161 |
+
</td>
|
162 |
+
<td>
|
163 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
164 |
+
</td>
|
165 |
+
<td>
|
166 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
167 |
+
</td>
|
168 |
+
</tr>
|
169 |
+
<tr>
|
170 |
+
<td>
|
171 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
172 |
+
</td>
|
173 |
+
<td>
|
174 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
175 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Product Classification"/>
|
176 |
+
</td>
|
177 |
+
<td>
|
178 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
179 |
+
</td>
|
180 |
+
<td>
|
181 |
+
<select name="type[]" class="attr_type wfnoempty">
|
182 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
183 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
184 |
+
</select>
|
185 |
+
</td>
|
186 |
+
<td>
|
187 |
+
<select name="attributes[]" id="" required="required"
|
188 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
+
<?php echo $product->attributeDropdown('product_type'); ?>
|
190 |
+
</select>
|
191 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
192 |
+
style=" display: none;"/>
|
193 |
+
</td>
|
194 |
+
<td>
|
195 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
196 |
+
</td>
|
197 |
+
<td>
|
198 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
199 |
+
<option value="1">Default</option>
|
200 |
+
<option value="2">Strip Tags</option>
|
201 |
+
<option value="3">UTF-8 Encode</option>
|
202 |
+
<option value="4">htmlentities</option>
|
203 |
+
<option value="5">Integer</option>
|
204 |
+
<option value="6">Price</option>
|
205 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
206 |
+
<option value="8">CDATA</option>
|
207 |
+
</select>
|
208 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
209 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
210 |
+
</td>
|
211 |
+
<td>
|
212 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
213 |
+
</td>
|
214 |
+
<td>
|
215 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
216 |
+
</td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<td>
|
220 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
221 |
+
</td>
|
222 |
+
<td>
|
223 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
224 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Description"/>
|
225 |
+
</td>
|
226 |
+
<td>
|
227 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
228 |
+
</td>
|
229 |
+
<td>
|
230 |
+
<select name="type[]" class="attr_type wfnoempty">
|
231 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
232 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
233 |
+
</select>
|
234 |
+
</td>
|
235 |
+
<td>
|
236 |
+
<select name="attributes[]" id="" required="required"
|
237 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
+
<?php echo $product->attributeDropdown('description'); ?>
|
239 |
+
</select>
|
240 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
241 |
+
style=" display: none;"/>
|
242 |
+
</td>
|
243 |
+
<td>
|
244 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
245 |
+
</td>
|
246 |
+
<td>
|
247 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
248 |
+
<option value="1">Default</option>
|
249 |
+
<option value="2">Strip Tags</option>
|
250 |
+
<option value="3">UTF-8 Encode</option>
|
251 |
+
<option value="4">htmlentities</option>
|
252 |
+
<option value="5">Integer</option>
|
253 |
+
<option value="6">Price</option>
|
254 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
255 |
+
<option value="8">CDATA</option>
|
256 |
+
</select>
|
257 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
258 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
259 |
+
</td>
|
260 |
+
<td>
|
261 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
262 |
+
</td>
|
263 |
+
<td>
|
264 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
265 |
+
</td>
|
266 |
+
</tr>
|
267 |
+
<tr>
|
268 |
+
<td>
|
269 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
270 |
+
</td>
|
271 |
+
<td>
|
272 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
273 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Cover Image URL"/>
|
274 |
+
</td>
|
275 |
+
<td>
|
276 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
277 |
+
</td>
|
278 |
+
<td>
|
279 |
+
<select name="type[]" class="attr_type wfnoempty">
|
280 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
281 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
282 |
+
</select>
|
283 |
+
</td>
|
284 |
+
<td>
|
285 |
+
<select name="attributes[]" id="" required="required"
|
286 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
287 |
+
<?php echo $product->attributeDropdown('image'); ?>
|
288 |
+
</select>
|
289 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
290 |
+
style=" display: none;"/>
|
291 |
+
</td>
|
292 |
+
<td>
|
293 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
294 |
+
</td>
|
295 |
+
<td>
|
296 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
297 |
+
<option value="1">Default</option>
|
298 |
+
<option value="2">Strip Tags</option>
|
299 |
+
<option value="3">UTF-8 Encode</option>
|
300 |
+
<option value="4">htmlentities</option>
|
301 |
+
<option value="5">Integer</option>
|
302 |
+
<option value="6">Price</option>
|
303 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
304 |
+
<option value="8">CDATA</option>
|
305 |
+
</select>
|
306 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
307 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
308 |
+
</td>
|
309 |
+
<td>
|
310 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
311 |
+
</td>
|
312 |
+
<td>
|
313 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
314 |
+
</td>
|
315 |
+
</tr>
|
316 |
+
<tr>
|
317 |
+
<td>
|
318 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
319 |
+
</td>
|
320 |
+
<td>
|
321 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
322 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Brand"/>
|
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[]" id="" required="required" 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"
|
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[][]" id="" class="outputType wfnoempty">
|
346 |
+
<option value="1">Default</option>
|
347 |
+
<option value="2">Strip Tags</option>
|
348 |
+
<option value="3">UTF-8 Encode</option>
|
349 |
+
<option value="4">htmlentities</option>
|
350 |
+
<option value="5">Integer</option>
|
351 |
+
<option value="6">Price</option>
|
352 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
353 |
+
<option value="8">CDATA</option>
|
354 |
+
</select>
|
355 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
356 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
357 |
+
</td>
|
358 |
+
<td>
|
359 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
360 |
+
</td>
|
361 |
+
<td>
|
362 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
363 |
+
</td>
|
364 |
+
</tr>
|
365 |
+
</tbody>
|
366 |
+
<tfoot>
|
367 |
+
<tr>
|
368 |
+
<td>
|
369 |
+
<button type="button" class="button-small button-primary" id="wf_newRow">
|
370 |
+
<?php echo _e('Add New Row', 'woo-feed'); ?>
|
371 |
+
</button>
|
372 |
+
</td>
|
373 |
+
<td colspan="8">
|
374 |
+
|
375 |
+
</td>
|
376 |
+
</tr>
|
377 |
+
</tfoot>
|
378 |
+
</table>
|
379 |
+
<table class=" widefat fixed">
|
380 |
+
<tr>
|
381 |
+
<td align="left" class="">
|
382 |
+
<div class="makeFeedResponse"></div>
|
383 |
+
<div class="makeFeedComplete"></div>
|
384 |
+
</td>
|
385 |
+
<td align="right">
|
386 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
387 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
388 |
+
</button>
|
389 |
+
</td>
|
390 |
+
</tr>
|
391 |
+
</table>
|
392 |
+
</div>
|
393 |
+
</li>
|
394 |
+
<li>
|
395 |
+
<input type="radio" name="wf_tabs" id="tab3"/>
|
396 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
397 |
+
|
398 |
+
<div id="wf-tab-content3" class="wf-tab-content">
|
399 |
+
<table class="table widefat fixed mtable" width="100%">
|
400 |
+
<tbody>
|
401 |
+
<tr>
|
402 |
+
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
403 |
+
<td>
|
404 |
+
<select name="ftpenabled" id="">
|
405 |
+
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
406 |
+
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
407 |
+
</select>
|
408 |
+
</td>
|
409 |
+
</tr>
|
410 |
+
<tr>
|
411 |
+
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
412 |
+
<td><input type="text" name="ftphost"/></td>
|
413 |
+
</tr>
|
414 |
+
<tr>
|
415 |
+
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
416 |
+
<td><input type="text" name="ftpuser"/></td>
|
417 |
+
</tr>
|
418 |
+
<tr>
|
419 |
+
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
420 |
+
<td><input type="password" name="ftppassword"/></td>
|
421 |
+
</tr>
|
422 |
+
<tr>
|
423 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
424 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
425 |
+
</tr>
|
426 |
+
<tr>
|
427 |
+
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
428 |
+
<td><input type="text" name="ftppath"/></td>
|
429 |
+
</tr>
|
430 |
+
</tbody>
|
431 |
+
</table>
|
432 |
+
<table class=" widefat fixed">
|
433 |
+
<tr>
|
434 |
+
<td align="left" class="makeFeedResponse">
|
435 |
+
|
436 |
+
</td>
|
437 |
+
<td align="right">
|
438 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
439 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
440 |
+
</button>
|
441 |
+
</td>
|
442 |
+
</tr>
|
443 |
+
</table>
|
444 |
+
</div>
|
445 |
+
</li>
|
446 |
+
|
447 |
+
</ul>
|
admin/partials/custom/edit-feed.php
CHANGED
@@ -330,7 +330,7 @@ $product->load_attributes();
|
|
330 |
</tr>
|
331 |
<tr>
|
332 |
<td><?php echo _e('Port', 'woo-feed'); ?></td>
|
333 |
-
<td><input type="text" value="<?php echo
|
334 |
name="ftpport" autocomplete="off"/></td>
|
335 |
</tr>
|
336 |
<tr>
|
330 |
</tr>
|
331 |
<tr>
|
332 |
<td><?php echo _e('Port', 'woo-feed'); ?></td>
|
333 |
+
<td><input type="text" value="<?php echo isset($feedRules['ftpport'])?esc_attr($feedRules['ftpport']):21; ?>"
|
334 |
name="ftpport" autocomplete="off"/></td>
|
335 |
</tr>
|
336 |
<tr>
|
admin/partials/fruugo/add-feed.php
ADDED
@@ -0,0 +1,744 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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[]" id=""
|
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[][]" id="" class="outputType wfnoempty">
|
52 |
+
<option value="1">Default</option>
|
53 |
+
<option value="2">Strip Tags</option>
|
54 |
+
<option value="3">UTF-8 Encode</option>
|
55 |
+
<option value="4">htmlentities</option>
|
56 |
+
<option value="5">Integer</option>
|
57 |
+
<option value="6">Price</option>
|
58 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
59 |
+
<option value="8">CDATA</option>
|
60 |
+
</select>
|
61 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
62 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
63 |
+
</td>
|
64 |
+
<td>
|
65 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
66 |
+
</td>
|
67 |
+
<td>
|
68 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
<tr>
|
72 |
+
<td>
|
73 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
74 |
+
</td>
|
75 |
+
<td>
|
76 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
77 |
+
class="wf_validate_attr wf_mattributes" 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[]" id=""
|
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[][]" id="" class="outputType wfnoempty">
|
101 |
+
<option value="1">Default</option>
|
102 |
+
<option value="2">Strip Tags</option>
|
103 |
+
<option value="3">UTF-8 Encode</option>
|
104 |
+
<option value="4">htmlentities</option>
|
105 |
+
<option value="5">Integer</option>
|
106 |
+
<option value="6">Price</option>
|
107 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
108 |
+
<option value="8">CDATA</option>
|
109 |
+
</select>
|
110 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
111 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
112 |
+
</td>
|
113 |
+
<td>
|
114 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
115 |
+
</td>
|
116 |
+
<td>
|
117 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr>
|
121 |
+
<td>
|
122 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
123 |
+
</td>
|
124 |
+
<td>
|
125 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
126 |
+
class="wf_validate_attr wf_mattributes" 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[]" id=""
|
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[][]" id="" class="outputType wfnoempty">
|
150 |
+
<option value="1">Default</option>
|
151 |
+
<option value="2">Strip Tags</option>
|
152 |
+
<option value="3">UTF-8 Encode</option>
|
153 |
+
<option value="4">htmlentities</option>
|
154 |
+
<option value="5">Integer</option>
|
155 |
+
<option value="6">Price</option>
|
156 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
157 |
+
<option value="8">CDATA</option>
|
158 |
+
</select>
|
159 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
160 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
161 |
+
</td>
|
162 |
+
<td>
|
163 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
164 |
+
</td>
|
165 |
+
<td>
|
166 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
167 |
+
</td>
|
168 |
+
</tr>
|
169 |
+
<tr>
|
170 |
+
<td>
|
171 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
172 |
+
</td>
|
173 |
+
<td>
|
174 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
175 |
+
class="wf_validate_attr wf_mattributes" 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[]" id=""
|
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[][]" id="" class="outputType wfnoempty">
|
199 |
+
<option value="1">Default</option>
|
200 |
+
<option value="2">Strip Tags</option>
|
201 |
+
<option value="3">UTF-8 Encode</option>
|
202 |
+
<option value="4">htmlentities</option>
|
203 |
+
<option value="5">Integer</option>
|
204 |
+
<option value="6">Price</option>
|
205 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
206 |
+
<option value="8">CDATA</option>
|
207 |
+
</select>
|
208 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
209 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
210 |
+
</td>
|
211 |
+
<td>
|
212 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
213 |
+
</td>
|
214 |
+
<td>
|
215 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
216 |
+
</td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<td>
|
220 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
221 |
+
</td>
|
222 |
+
<td>
|
223 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
224 |
+
class="wf_validate_attr wf_mattributes" 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[]" id=""
|
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[][]" id="" class="outputType wfnoempty">
|
248 |
+
<option value="1">Default</option>
|
249 |
+
<option value="2">Strip Tags</option>
|
250 |
+
<option value="3">UTF-8 Encode</option>
|
251 |
+
<option value="4">htmlentities</option>
|
252 |
+
<option value="5">Integer</option>
|
253 |
+
<option value="6">Price</option>
|
254 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
255 |
+
<option value="8">CDATA</option>
|
256 |
+
</select>
|
257 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
258 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
259 |
+
</td>
|
260 |
+
<td>
|
261 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
262 |
+
</td>
|
263 |
+
<td>
|
264 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
265 |
+
</td>
|
266 |
+
</tr>
|
267 |
+
<tr>
|
268 |
+
<td>
|
269 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
270 |
+
</td>
|
271 |
+
<td>
|
272 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
273 |
+
class="wf_validate_attr wf_mattributes" 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[]" id=""
|
286 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
287 |
+
<?php echo $product->attributeDropdown('image'); ?>
|
288 |
+
</select>
|
289 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
290 |
+
style=" display: none;"/>
|
291 |
+
</td>
|
292 |
+
<td>
|
293 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
294 |
+
</td>
|
295 |
+
<td>
|
296 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
297 |
+
<option value="1">Default</option>
|
298 |
+
<option value="2">Strip Tags</option>
|
299 |
+
<option value="3">UTF-8 Encode</option>
|
300 |
+
<option value="4">htmlentities</option>
|
301 |
+
<option value="5">Integer</option>
|
302 |
+
<option value="6">Price</option>
|
303 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
304 |
+
<option value="8">CDATA</option>
|
305 |
+
</select>
|
306 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
307 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
308 |
+
</td>
|
309 |
+
<td>
|
310 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
311 |
+
</td>
|
312 |
+
<td>
|
313 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
314 |
+
</td>
|
315 |
+
</tr>
|
316 |
+
<tr>
|
317 |
+
<td>
|
318 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
319 |
+
</td>
|
320 |
+
<td>
|
321 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
322 |
+
class="wf_validate_attr wf_mattributes" 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[]" id="" 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[][]" id="" class="outputType wfnoempty">
|
346 |
+
<option value="1">Default</option>
|
347 |
+
<option value="2">Strip Tags</option>
|
348 |
+
<option value="3">UTF-8 Encode</option>
|
349 |
+
<option value="4">htmlentities</option>
|
350 |
+
<option value="5">Integer</option>
|
351 |
+
<option value="6">Price</option>
|
352 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
353 |
+
<option value="8">CDATA</option>
|
354 |
+
</select>
|
355 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
356 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
357 |
+
</td>
|
358 |
+
<td>
|
359 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
360 |
+
</td>
|
361 |
+
<td>
|
362 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
363 |
+
</td>
|
364 |
+
</tr>
|
365 |
+
<tr>
|
366 |
+
<td>
|
367 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
368 |
+
</td>
|
369 |
+
<td>
|
370 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
371 |
+
class="wf_validate_attr wf_mattributes" 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[]" id=""
|
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[][]" id="" class="outputType wfnoempty">
|
395 |
+
<option value="1">Default</option>
|
396 |
+
<option value="2">Strip Tags</option>
|
397 |
+
<option value="3">UTF-8 Encode</option>
|
398 |
+
<option value="4">htmlentities</option>
|
399 |
+
<option value="5">Integer</option>
|
400 |
+
<option value="6">Price</option>
|
401 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
402 |
+
<option value="8">CDATA</option>
|
403 |
+
</select>
|
404 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
405 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
406 |
+
</td>
|
407 |
+
<td>
|
408 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
409 |
+
</td>
|
410 |
+
<td>
|
411 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
412 |
+
</td>
|
413 |
+
</tr>
|
414 |
+
<tr>
|
415 |
+
<td>
|
416 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
417 |
+
</td>
|
418 |
+
<td>
|
419 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
420 |
+
class="wf_validate_attr wf_mattributes" 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[]" id=""
|
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[][]" id="" class="outputType wfnoempty">
|
444 |
+
<option value="1">Default</option>
|
445 |
+
<option value="2">Strip Tags</option>
|
446 |
+
<option value="3">UTF-8 Encode</option>
|
447 |
+
<option value="4">htmlentities</option>
|
448 |
+
<option value="5">Integer</option>
|
449 |
+
<option value="6">Price</option>
|
450 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
451 |
+
<option value="8">CDATA</option>
|
452 |
+
</select>
|
453 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
454 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
455 |
+
</td>
|
456 |
+
<td>
|
457 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
458 |
+
</td>
|
459 |
+
<td>
|
460 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
461 |
+
</td>
|
462 |
+
</tr>
|
463 |
+
<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[]" id=""
|
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[][]" id="" 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[]" id=""
|
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[][]" id="" 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[]" id=""
|
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[][]" id="" 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[]" id=""
|
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[][]" id="" 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" id="wf_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 |
+
<li>
|
692 |
+
<input type="radio" name="wf_tabs" id="tab3"/>
|
693 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
694 |
+
|
695 |
+
<div id="wf-tab-content3" class="wf-tab-content">
|
696 |
+
<table class="table widefat fixed mtable" width="100%">
|
697 |
+
<tbody>
|
698 |
+
<tr>
|
699 |
+
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
700 |
+
<td>
|
701 |
+
<select name="ftpenabled" id="">
|
702 |
+
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
703 |
+
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
704 |
+
</select>
|
705 |
+
</td>
|
706 |
+
</tr>
|
707 |
+
<tr>
|
708 |
+
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
709 |
+
<td><input type="text" name="ftphost"/></td>
|
710 |
+
</tr>
|
711 |
+
<tr>
|
712 |
+
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
713 |
+
<td><input type="text" name="ftpuser"/></td>
|
714 |
+
</tr>
|
715 |
+
<tr>
|
716 |
+
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
717 |
+
<td><input type="password" name="ftppassword"/></td>
|
718 |
+
</tr>
|
719 |
+
<tr>
|
720 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
721 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
722 |
+
</tr>
|
723 |
+
<tr>
|
724 |
+
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
725 |
+
<td><input type="text" name="ftppath"/></td>
|
726 |
+
</tr>
|
727 |
+
</tbody>
|
728 |
+
</table>
|
729 |
+
<table class=" widefat fixed">
|
730 |
+
<tr>
|
731 |
+
<td align="left" class="makeFeedResponse">
|
732 |
+
|
733 |
+
</td>
|
734 |
+
<td align="right">
|
735 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
736 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
737 |
+
</button>
|
738 |
+
</td>
|
739 |
+
</tr>
|
740 |
+
</table>
|
741 |
+
</div>
|
742 |
+
</li>
|
743 |
+
|
744 |
+
</ul>
|
admin/partials/polyvore/add-feed.php
ADDED
@@ -0,0 +1,498 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="title"/>
|
29 |
+
</td>
|
30 |
+
<td>
|
31 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
32 |
+
</td>
|
33 |
+
<td>
|
34 |
+
<select name="type[]" class="attr_type wfnoempty">
|
35 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
36 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
37 |
+
</select>
|
38 |
+
</td>
|
39 |
+
<td>
|
40 |
+
<select name="attributes[]" id=""
|
41 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
+
<?php echo $product->attributeDropdown('title'); ?>
|
43 |
+
</select>
|
44 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
45 |
+
style=" display: none;"/>
|
46 |
+
</td>
|
47 |
+
<td>
|
48 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
49 |
+
</td>
|
50 |
+
<td>
|
51 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
52 |
+
<option value="1">Default</option>
|
53 |
+
<option value="2">Strip Tags</option>
|
54 |
+
<option value="3">UTF-8 Encode</option>
|
55 |
+
<option value="4">htmlentities</option>
|
56 |
+
<option value="5">Integer</option>
|
57 |
+
<option value="6">Price</option>
|
58 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
59 |
+
<option value="8">CDATA</option>
|
60 |
+
</select>
|
61 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
62 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
63 |
+
</td>
|
64 |
+
<td>
|
65 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
66 |
+
</td>
|
67 |
+
<td>
|
68 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
<tr>
|
72 |
+
<td>
|
73 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
74 |
+
</td>
|
75 |
+
<td>
|
76 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
77 |
+
class="wf_validate_attr wf_mattributes" value="brand"/>
|
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" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
86 |
+
</select>
|
87 |
+
</td>
|
88 |
+
<td>
|
89 |
+
<select name="attributes[]" id="" style=" display: none;"
|
90 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
+
<?php echo $product->attributeDropdown(''); ?>
|
92 |
+
</select>
|
93 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
94 |
+
/>
|
95 |
+
</td>
|
96 |
+
<td>
|
97 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
98 |
+
</td>
|
99 |
+
<td>
|
100 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
101 |
+
<option value="1">Default</option>
|
102 |
+
<option value="2">Strip Tags</option>
|
103 |
+
<option value="3">UTF-8 Encode</option>
|
104 |
+
<option value="4">htmlentities</option>
|
105 |
+
<option value="5">Integer</option>
|
106 |
+
<option value="6">Price</option>
|
107 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
108 |
+
<option value="8">CDATA</option>
|
109 |
+
</select>
|
110 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
111 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
112 |
+
</td>
|
113 |
+
<td>
|
114 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
115 |
+
</td>
|
116 |
+
<td>
|
117 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr>
|
121 |
+
<td>
|
122 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
123 |
+
</td>
|
124 |
+
<td>
|
125 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
126 |
+
class="wf_validate_attr wf_mattributes" value="url"/>
|
127 |
+
</td>
|
128 |
+
<td>
|
129 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
130 |
+
</td>
|
131 |
+
<td>
|
132 |
+
<select name="type[]" class="attr_type wfnoempty">
|
133 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
134 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
135 |
+
</select>
|
136 |
+
</td>
|
137 |
+
<td>
|
138 |
+
<select name="attributes[]" id=""
|
139 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
+
<?php echo $product->attributeDropdown('link'); ?>
|
141 |
+
</select>
|
142 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
143 |
+
style=" display: none;"/>
|
144 |
+
</td>
|
145 |
+
<td>
|
146 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
147 |
+
</td>
|
148 |
+
<td>
|
149 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
150 |
+
<option value="1">Default</option>
|
151 |
+
<option value="2">Strip Tags</option>
|
152 |
+
<option value="3">UTF-8 Encode</option>
|
153 |
+
<option value="4">htmlentities</option>
|
154 |
+
<option value="5">Integer</option>
|
155 |
+
<option value="6">Price</option>
|
156 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
157 |
+
<option value="8">CDATA</option>
|
158 |
+
</select>
|
159 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
160 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
161 |
+
</td>
|
162 |
+
<td>
|
163 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
164 |
+
</td>
|
165 |
+
<td>
|
166 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
167 |
+
</td>
|
168 |
+
</tr>
|
169 |
+
<tr>
|
170 |
+
<td>
|
171 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
172 |
+
</td>
|
173 |
+
<td>
|
174 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
175 |
+
class="wf_validate_attr wf_mattributes" value="imgurl"/>
|
176 |
+
</td>
|
177 |
+
<td>
|
178 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
179 |
+
</td>
|
180 |
+
<td>
|
181 |
+
<select name="type[]" class="attr_type wfnoempty">
|
182 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
183 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
184 |
+
</select>
|
185 |
+
</td>
|
186 |
+
<td>
|
187 |
+
<select name="attributes[]" id=""
|
188 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
+
<?php echo $product->attributeDropdown('image'); ?>
|
190 |
+
</select>
|
191 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
192 |
+
style=" display: none;"/>
|
193 |
+
</td>
|
194 |
+
<td>
|
195 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
196 |
+
</td>
|
197 |
+
<td>
|
198 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
199 |
+
<option value="1">Default</option>
|
200 |
+
<option value="2">Strip Tags</option>
|
201 |
+
<option value="3">UTF-8 Encode</option>
|
202 |
+
<option value="4">htmlentities</option>
|
203 |
+
<option value="5">Integer</option>
|
204 |
+
<option value="6">Price</option>
|
205 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
206 |
+
<option value="8">CDATA</option>
|
207 |
+
</select>
|
208 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
209 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
210 |
+
</td>
|
211 |
+
<td>
|
212 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
213 |
+
</td>
|
214 |
+
<td>
|
215 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
216 |
+
</td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<td>
|
220 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
221 |
+
</td>
|
222 |
+
<td>
|
223 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
224 |
+
class="wf_validate_attr wf_mattributes" value="price"/>
|
225 |
+
</td>
|
226 |
+
<td>
|
227 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps" />
|
228 |
+
</td>
|
229 |
+
<td>
|
230 |
+
<select name="type[]" class="attr_type wfnoempty">
|
231 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
232 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
233 |
+
</select>
|
234 |
+
</td>
|
235 |
+
<td>
|
236 |
+
<select name="attributes[]" id=""
|
237 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
+
<?php echo $product->attributeDropdown('price'); ?>
|
239 |
+
</select>
|
240 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
241 |
+
style=" display: none;"/>
|
242 |
+
</td>
|
243 |
+
<td>
|
244 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
245 |
+
</td>
|
246 |
+
<td>
|
247 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
248 |
+
<option value="1">Default</option>
|
249 |
+
<option value="2">Strip Tags</option>
|
250 |
+
<option value="3">UTF-8 Encode</option>
|
251 |
+
<option value="4">htmlentities</option>
|
252 |
+
<option value="5">Integer</option>
|
253 |
+
<option value="6">Price</option>
|
254 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
255 |
+
<option value="8">CDATA</option>
|
256 |
+
</select>
|
257 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
258 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
259 |
+
</td>
|
260 |
+
<td>
|
261 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
262 |
+
</td>
|
263 |
+
<td>
|
264 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
265 |
+
</td>
|
266 |
+
</tr>
|
267 |
+
<tr>
|
268 |
+
<td>
|
269 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
270 |
+
</td>
|
271 |
+
<td>
|
272 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
273 |
+
class="wf_validate_attr wf_mattributes" value="currency"/>
|
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" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
282 |
+
</select>
|
283 |
+
</td>
|
284 |
+
<td>
|
285 |
+
<select name="attributes[]" id="" style=" display: none;"
|
286 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
287 |
+
<?php echo $product->attributeDropdown(''); ?>
|
288 |
+
</select>
|
289 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" value="USD"/>
|
290 |
+
</td>
|
291 |
+
<td>
|
292 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
293 |
+
</td>
|
294 |
+
<td>
|
295 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
296 |
+
<option value="1">Default</option>
|
297 |
+
<option value="2">Strip Tags</option>
|
298 |
+
<option value="3">UTF-8 Encode</option>
|
299 |
+
<option value="4">htmlentities</option>
|
300 |
+
<option value="5">Integer</option>
|
301 |
+
<option value="6">Price</option>
|
302 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
303 |
+
<option value="8">CDATA</option>
|
304 |
+
</select>
|
305 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
306 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
307 |
+
</td>
|
308 |
+
<td>
|
309 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
310 |
+
</td>
|
311 |
+
<td>
|
312 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
313 |
+
</td>
|
314 |
+
</tr>
|
315 |
+
<tr>
|
316 |
+
<td>
|
317 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
318 |
+
</td>
|
319 |
+
<td>
|
320 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
321 |
+
class="wf_validate_attr wf_mattributes" value="description"/>
|
322 |
+
</td>
|
323 |
+
<td>
|
324 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
325 |
+
</td>
|
326 |
+
<td>
|
327 |
+
<select name="type[]" class="attr_type wfnoempty">
|
328 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
329 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
330 |
+
</select>
|
331 |
+
</td>
|
332 |
+
<td>
|
333 |
+
<select name="attributes[]" id=""
|
334 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
335 |
+
<?php echo $product->attributeDropdown("description"); ?>
|
336 |
+
</select>
|
337 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
338 |
+
style=" display: none;"/>
|
339 |
+
</td>
|
340 |
+
<td>
|
341 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
342 |
+
</td>
|
343 |
+
<td>
|
344 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
345 |
+
<option value="1">Default</option>
|
346 |
+
<option value="2">Strip Tags</option>
|
347 |
+
<option value="3">UTF-8 Encode</option>
|
348 |
+
<option value="4">htmlentities</option>
|
349 |
+
<option value="5">Integer</option>
|
350 |
+
<option value="6">Price</option>
|
351 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
352 |
+
<option value="8">CDATA</option>
|
353 |
+
</select>
|
354 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
355 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
356 |
+
</td>
|
357 |
+
<td>
|
358 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
359 |
+
</td>
|
360 |
+
<td>
|
361 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
362 |
+
</td>
|
363 |
+
</tr>
|
364 |
+
<tr>
|
365 |
+
<td>
|
366 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
367 |
+
</td>
|
368 |
+
<td>
|
369 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
370 |
+
class="wf_validate_attr wf_mattributes" value="subject"/>
|
371 |
+
</td>
|
372 |
+
<td>
|
373 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
374 |
+
</td>
|
375 |
+
<td>
|
376 |
+
<select name="type[]" class="attr_type wfnoempty">
|
377 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
378 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
379 |
+
</select>
|
380 |
+
</td>
|
381 |
+
<td>
|
382 |
+
<select name="attributes[]" id="" style=" display: none;"
|
383 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
384 |
+
<?php echo $product->attributeDropdown(""); ?>
|
385 |
+
</select>
|
386 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
387 |
+
/>
|
388 |
+
</td>
|
389 |
+
<td>
|
390 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
391 |
+
</td>
|
392 |
+
<td>
|
393 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
394 |
+
<option value="1">Default</option>
|
395 |
+
<option value="2">Strip Tags</option>
|
396 |
+
<option value="3">UTF-8 Encode</option>
|
397 |
+
<option value="4">htmlentities</option>
|
398 |
+
<option value="5">Integer</option>
|
399 |
+
<option value="6">Price</option>
|
400 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
401 |
+
<option value="8">CDATA</option>
|
402 |
+
</select>
|
403 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
404 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
405 |
+
</td>
|
406 |
+
<td>
|
407 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
408 |
+
</td>
|
409 |
+
<td>
|
410 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
411 |
+
</td>
|
412 |
+
</tr>
|
413 |
+
|
414 |
+
|
415 |
+
</tbody>
|
416 |
+
<tfoot>
|
417 |
+
<tr>
|
418 |
+
<td>
|
419 |
+
<button type="button" class="button-small button-primary" id="wf_newRow">
|
420 |
+
<?php echo _e('Add New Row', 'woo-feed'); ?>
|
421 |
+
</button>
|
422 |
+
</td>
|
423 |
+
<td colspan="8">
|
424 |
+
|
425 |
+
</td>
|
426 |
+
</tr>
|
427 |
+
</tfoot>
|
428 |
+
</table>
|
429 |
+
<table class=" widefat fixed">
|
430 |
+
<tr>
|
431 |
+
<td align="left" class="">
|
432 |
+
<div class="makeFeedResponse"></div>
|
433 |
+
<div class="makeFeedComplete"></div>
|
434 |
+
</td>
|
435 |
+
<td align="right">
|
436 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
437 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
438 |
+
</button>
|
439 |
+
</td>
|
440 |
+
</tr>
|
441 |
+
</table>
|
442 |
+
</div>
|
443 |
+
</li>
|
444 |
+
|
445 |
+
<li>
|
446 |
+
<input type="radio" name="wf_tabs" id="tab3"/>
|
447 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
448 |
+
|
449 |
+
<div id="wf-tab-content3" class="wf-tab-content">
|
450 |
+
<table class="table widefat fixed mtable" width="100%">
|
451 |
+
<tbody>
|
452 |
+
<tr>
|
453 |
+
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
454 |
+
<td>
|
455 |
+
<select name="ftpenabled" id="">
|
456 |
+
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
457 |
+
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
458 |
+
</select>
|
459 |
+
</td>
|
460 |
+
</tr>
|
461 |
+
<tr>
|
462 |
+
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
463 |
+
<td><input type="text" name="ftphost"/></td>
|
464 |
+
</tr>
|
465 |
+
<tr>
|
466 |
+
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
467 |
+
<td><input type="text" name="ftpuser"/></td>
|
468 |
+
</tr>
|
469 |
+
<tr>
|
470 |
+
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
471 |
+
<td><input type="password" name="ftppassword"/></td>
|
472 |
+
</tr>
|
473 |
+
<tr>
|
474 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
475 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
476 |
+
</tr>
|
477 |
+
<tr>
|
478 |
+
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
479 |
+
<td><input type="text" name="ftppath"/></td>
|
480 |
+
</tr>
|
481 |
+
</tbody>
|
482 |
+
</table>
|
483 |
+
<table class=" widefat fixed">
|
484 |
+
<tr>
|
485 |
+
<td align="left" class="makeFeedResponse">
|
486 |
+
|
487 |
+
</td>
|
488 |
+
<td align="right">
|
489 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
490 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
491 |
+
</button>
|
492 |
+
</td>
|
493 |
+
</tr>
|
494 |
+
</table>
|
495 |
+
</div>
|
496 |
+
</li>
|
497 |
+
|
498 |
+
</ul>
|
admin/partials/pricerunner/add-feed.php
ADDED
@@ -0,0 +1,791 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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="Category"/>
|
29 |
+
</td>
|
30 |
+
<td>
|
31 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
32 |
+
</td>
|
33 |
+
<td>
|
34 |
+
<select name="type[]" class="attr_type wfnoempty">
|
35 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
36 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
37 |
+
</select>
|
38 |
+
</td>
|
39 |
+
<td>
|
40 |
+
<select name="attributes[]" id="" required="required"
|
41 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
+
<?php echo $product->attributeDropdown('product_type'); ?>
|
43 |
+
</select>
|
44 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
45 |
+
style=" display: none;"/>
|
46 |
+
</td>
|
47 |
+
<td>
|
48 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
49 |
+
</td>
|
50 |
+
<td>
|
51 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
52 |
+
<option value="1">Default</option>
|
53 |
+
<option value="2">Strip Tags</option>
|
54 |
+
<option value="3">UTF-8 Encode</option>
|
55 |
+
<option value="4">htmlentities</option>
|
56 |
+
<option value="5">Integer</option>
|
57 |
+
<option value="6">Price</option>
|
58 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
59 |
+
<option value="8">CDATA</option>
|
60 |
+
</select>
|
61 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
62 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
63 |
+
</td>
|
64 |
+
<td>
|
65 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
66 |
+
</td>
|
67 |
+
<td>
|
68 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
<tr>
|
72 |
+
<td>
|
73 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
74 |
+
</td>
|
75 |
+
<td>
|
76 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
77 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="SKU"/>
|
78 |
+
</td>
|
79 |
+
<td>
|
80 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
81 |
+
</td>
|
82 |
+
<td>
|
83 |
+
<select name="type[]" class="attr_type wfnoempty">
|
84 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
85 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
86 |
+
</select>
|
87 |
+
</td>
|
88 |
+
<td>
|
89 |
+
<select name="attributes[]" id="" required="required"
|
90 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
+
<?php echo $product->attributeDropdown('id'); ?>
|
92 |
+
</select>
|
93 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
94 |
+
style=" display: none;"/>
|
95 |
+
</td>
|
96 |
+
<td>
|
97 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
98 |
+
</td>
|
99 |
+
<td>
|
100 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
101 |
+
<option value="1">Default</option>
|
102 |
+
<option value="2">Strip Tags</option>
|
103 |
+
<option value="3">UTF-8 Encode</option>
|
104 |
+
<option value="4">htmlentities</option>
|
105 |
+
<option value="5">Integer</option>
|
106 |
+
<option value="6">Price</option>
|
107 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
108 |
+
<option value="8">CDATA</option>
|
109 |
+
</select>
|
110 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
111 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
112 |
+
</td>
|
113 |
+
<td>
|
114 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
115 |
+
</td>
|
116 |
+
<td>
|
117 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr>
|
121 |
+
<td>
|
122 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
123 |
+
</td>
|
124 |
+
<td>
|
125 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
126 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Price"/>
|
127 |
+
</td>
|
128 |
+
<td>
|
129 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
130 |
+
</td>
|
131 |
+
<td>
|
132 |
+
<select name="type[]" class="attr_type wfnoempty">
|
133 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
134 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
135 |
+
</select>
|
136 |
+
</td>
|
137 |
+
<td>
|
138 |
+
<select name="attributes[]" id="" required="required"
|
139 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
+
<?php echo $product->attributeDropdown('price'); ?>
|
141 |
+
</select>
|
142 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
143 |
+
style=" display: none;"/>
|
144 |
+
</td>
|
145 |
+
<td>
|
146 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
147 |
+
</td>
|
148 |
+
<td>
|
149 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
150 |
+
<option value="1">Default</option>
|
151 |
+
<option value="2">Strip Tags</option>
|
152 |
+
<option value="3">UTF-8 Encode</option>
|
153 |
+
<option value="4">htmlentities</option>
|
154 |
+
<option value="5">Integer</option>
|
155 |
+
<option value="6">Price</option>
|
156 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
157 |
+
<option value="8">CDATA</option>
|
158 |
+
</select>
|
159 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
160 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
161 |
+
</td>
|
162 |
+
<td>
|
163 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
164 |
+
</td>
|
165 |
+
<td>
|
166 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
167 |
+
</td>
|
168 |
+
</tr>
|
169 |
+
<tr>
|
170 |
+
<td>
|
171 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
172 |
+
</td>
|
173 |
+
<td>
|
174 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
175 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Product URL"/>
|
176 |
+
</td>
|
177 |
+
<td>
|
178 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
179 |
+
</td>
|
180 |
+
<td>
|
181 |
+
<select name="type[]" class="attr_type wfnoempty">
|
182 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
183 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
184 |
+
</select>
|
185 |
+
</td>
|
186 |
+
<td>
|
187 |
+
<select name="attributes[]" id="" required="required"
|
188 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
+
<?php echo $product->attributeDropdown('link'); ?>
|
190 |
+
</select>
|
191 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
192 |
+
style=" display: none;"/>
|
193 |
+
</td>
|
194 |
+
<td>
|
195 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
196 |
+
</td>
|
197 |
+
<td>
|
198 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
199 |
+
<option value="1">Default</option>
|
200 |
+
<option value="2">Strip Tags</option>
|
201 |
+
<option value="3">UTF-8 Encode</option>
|
202 |
+
<option value="4">htmlentities</option>
|
203 |
+
<option value="5">Integer</option>
|
204 |
+
<option value="6">Price</option>
|
205 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
206 |
+
<option value="8">CDATA</option>
|
207 |
+
</select>
|
208 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
209 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
210 |
+
</td>
|
211 |
+
<td>
|
212 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
213 |
+
</td>
|
214 |
+
<td>
|
215 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
216 |
+
</td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<td>
|
220 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
221 |
+
</td>
|
222 |
+
<td>
|
223 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
224 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Product name"/>
|
225 |
+
</td>
|
226 |
+
<td>
|
227 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
228 |
+
</td>
|
229 |
+
<td>
|
230 |
+
<select name="type[]" class="attr_type wfnoempty">
|
231 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
232 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
233 |
+
</select>
|
234 |
+
</td>
|
235 |
+
<td>
|
236 |
+
<select name="attributes[]" id="" required="required"
|
237 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
+
<?php echo $product->attributeDropdown('title'); ?>
|
239 |
+
</select>
|
240 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
241 |
+
style=" display: none;"/>
|
242 |
+
</td>
|
243 |
+
<td>
|
244 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
245 |
+
</td>
|
246 |
+
<td>
|
247 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
248 |
+
<option value="1">Default</option>
|
249 |
+
<option value="2">Strip Tags</option>
|
250 |
+
<option value="3">UTF-8 Encode</option>
|
251 |
+
<option value="4">htmlentities</option>
|
252 |
+
<option value="5">Integer</option>
|
253 |
+
<option value="6">Price</option>
|
254 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
255 |
+
<option value="8">CDATA</option>
|
256 |
+
</select>
|
257 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
258 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
259 |
+
</td>
|
260 |
+
<td>
|
261 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
262 |
+
</td>
|
263 |
+
<td>
|
264 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
265 |
+
</td>
|
266 |
+
</tr>
|
267 |
+
<tr>
|
268 |
+
<td>
|
269 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
270 |
+
</td>
|
271 |
+
<td>
|
272 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
273 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Manufacturer SKU"/>
|
274 |
+
</td>
|
275 |
+
<td>
|
276 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
277 |
+
</td>
|
278 |
+
<td>
|
279 |
+
<select name="type[]" class="attr_type wfnoempty">
|
280 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
281 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
282 |
+
</select>
|
283 |
+
</td>
|
284 |
+
<td>
|
285 |
+
<select name="attributes[]" id="" required="required"
|
286 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
287 |
+
<?php echo $product->attributeDropdown('sku'); ?>
|
288 |
+
</select>
|
289 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
290 |
+
style=" display: none;"/>
|
291 |
+
</td>
|
292 |
+
<td>
|
293 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
294 |
+
</td>
|
295 |
+
<td>
|
296 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
297 |
+
<option value="1">Default</option>
|
298 |
+
<option value="2">Strip Tags</option>
|
299 |
+
<option value="3">UTF-8 Encode</option>
|
300 |
+
<option value="4">htmlentities</option>
|
301 |
+
<option value="5">Integer</option>
|
302 |
+
<option value="6">Price</option>
|
303 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
304 |
+
<option value="8">CDATA</option>
|
305 |
+
</select>
|
306 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
307 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
308 |
+
</td>
|
309 |
+
<td>
|
310 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
311 |
+
</td>
|
312 |
+
<td>
|
313 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
314 |
+
</td>
|
315 |
+
</tr>
|
316 |
+
<tr>
|
317 |
+
<td>
|
318 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
319 |
+
</td>
|
320 |
+
<td>
|
321 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
322 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Manufacturer"/>
|
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[]" id="" required="required" 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"
|
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[][]" id="" class="outputType wfnoempty">
|
346 |
+
<option value="1">Default</option>
|
347 |
+
<option value="2">Strip Tags</option>
|
348 |
+
<option value="3">UTF-8 Encode</option>
|
349 |
+
<option value="4">htmlentities</option>
|
350 |
+
<option value="5">Integer</option>
|
351 |
+
<option value="6">Price</option>
|
352 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
353 |
+
<option value="8">CDATA</option>
|
354 |
+
</select>
|
355 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
356 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
357 |
+
</td>
|
358 |
+
<td>
|
359 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
360 |
+
</td>
|
361 |
+
<td>
|
362 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
363 |
+
</td>
|
364 |
+
</tr>
|
365 |
+
<tr>
|
366 |
+
<td>
|
367 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
368 |
+
</td>
|
369 |
+
<td>
|
370 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
371 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="EAN"/>
|
372 |
+
</td>
|
373 |
+
<td>
|
374 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
375 |
+
</td>
|
376 |
+
<td>
|
377 |
+
<select name="type[]" class="attr_type wfnoempty">
|
378 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
379 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
380 |
+
</select>
|
381 |
+
</td>
|
382 |
+
<td>
|
383 |
+
<select name="attributes[]" id="" required="required"
|
384 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
385 |
+
<?php echo $product->attributeDropdown('sku'); ?>
|
386 |
+
</select>
|
387 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
388 |
+
style=" display: none;"/>
|
389 |
+
</td>
|
390 |
+
<td>
|
391 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
392 |
+
</td>
|
393 |
+
<td>
|
394 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
395 |
+
<option value="1">Default</option>
|
396 |
+
<option value="2">Strip Tags</option>
|
397 |
+
<option value="3">UTF-8 Encode</option>
|
398 |
+
<option value="4">htmlentities</option>
|
399 |
+
<option value="5">Integer</option>
|
400 |
+
<option value="6">Price</option>
|
401 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
402 |
+
<option value="8">CDATA</option>
|
403 |
+
</select>
|
404 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
405 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
406 |
+
</td>
|
407 |
+
<td>
|
408 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
409 |
+
</td>
|
410 |
+
<td>
|
411 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
412 |
+
</td>
|
413 |
+
</tr>
|
414 |
+
<tr>
|
415 |
+
<td>
|
416 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
417 |
+
</td>
|
418 |
+
<td>
|
419 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
420 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Description"/>
|
421 |
+
</td>
|
422 |
+
<td>
|
423 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
424 |
+
</td>
|
425 |
+
<td>
|
426 |
+
<select name="type[]" class="attr_type wfnoempty">
|
427 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
428 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
429 |
+
</select>
|
430 |
+
</td>
|
431 |
+
<td>
|
432 |
+
<select name="attributes[]" id="" required="required"
|
433 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
434 |
+
<?php echo $product->attributeDropdown('description'); ?>
|
435 |
+
</select>
|
436 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
437 |
+
style=" display: none;"/>
|
438 |
+
</td>
|
439 |
+
<td>
|
440 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
441 |
+
</td>
|
442 |
+
<td>
|
443 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
444 |
+
<option value="1">Default</option>
|
445 |
+
<option value="2">Strip Tags</option>
|
446 |
+
<option value="3">UTF-8 Encode</option>
|
447 |
+
<option value="4">htmlentities</option>
|
448 |
+
<option value="5">Integer</option>
|
449 |
+
<option value="6">Price</option>
|
450 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
451 |
+
<option value="8">CDATA</option>
|
452 |
+
</select>
|
453 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
454 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
455 |
+
</td>
|
456 |
+
<td>
|
457 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
458 |
+
</td>
|
459 |
+
<td>
|
460 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
461 |
+
</td>
|
462 |
+
</tr>
|
463 |
+
<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 wf_mattr" value="Graphic URL"/>
|
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[]" id="" required="required"
|
482 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
483 |
+
<?php echo $product->attributeDropdown('image'); ?>
|
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[][]" id="" 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 wf_mattr" value="In Stock"/>
|
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" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
527 |
+
</select>
|
528 |
+
</td>
|
529 |
+
<td>
|
530 |
+
<select name="attributes[]" id="" required="required" style=" display: none;"
|
531 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
532 |
+
<?php echo $product->attributeDropdown(); ?>
|
533 |
+
</select>
|
534 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" value="Yes"
|
535 |
+
/>
|
536 |
+
</td>
|
537 |
+
<td>
|
538 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
539 |
+
</td>
|
540 |
+
<td>
|
541 |
+
<select name="output_type[][]" id="" 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 wf_mattr" value="Stock Level"/>
|
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[]" id="" required="required"
|
580 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
581 |
+
<?php echo $product->attributeDropdown('quantity'); ?>
|
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[][]" id="" 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 wf_mattr" value="Shipping Cost"/>
|
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" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
625 |
+
</select>
|
626 |
+
</td>
|
627 |
+
<td>
|
628 |
+
<select name="attributes[]" id="" required="required" style=" display: none;"
|
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" value="10.00"
|
633 |
+
/>
|
634 |
+
</td>
|
635 |
+
<td>
|
636 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
637 |
+
</td>
|
638 |
+
<td>
|
639 |
+
<select name="output_type[][]" id="" 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 |
+
<tr>
|
660 |
+
<td>
|
661 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
662 |
+
</td>
|
663 |
+
<td>
|
664 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
665 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Delivery time"/>
|
666 |
+
</td>
|
667 |
+
<td>
|
668 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
669 |
+
</td>
|
670 |
+
<td>
|
671 |
+
<select name="type[]" class="attr_type wfnoempty">
|
672 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
673 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
674 |
+
</select>
|
675 |
+
</td>
|
676 |
+
<td>
|
677 |
+
<select name="attributes[]" id="" required="required" style=" display: none;"
|
678 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
679 |
+
<?php echo $product->attributeDropdown(''); ?>
|
680 |
+
</select>
|
681 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" value="5-7 days"
|
682 |
+
/>
|
683 |
+
</td>
|
684 |
+
<td>
|
685 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
686 |
+
</td>
|
687 |
+
<td>
|
688 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
689 |
+
<option value="1">Default</option>
|
690 |
+
<option value="2">Strip Tags</option>
|
691 |
+
<option value="3">UTF-8 Encode</option>
|
692 |
+
<option value="4">htmlentities</option>
|
693 |
+
<option value="5">Integer</option>
|
694 |
+
<option value="6">Price</option>
|
695 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
696 |
+
<option value="8">CDATA</option>
|
697 |
+
</select>
|
698 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
699 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
700 |
+
</td>
|
701 |
+
<td>
|
702 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
703 |
+
</td>
|
704 |
+
<td>
|
705 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
706 |
+
</td>
|
707 |
+
</tr>
|
708 |
+
|
709 |
+
</tbody>
|
710 |
+
<tfoot>
|
711 |
+
<tr>
|
712 |
+
<td>
|
713 |
+
<button type="button" class="button-small button-primary" id="wf_newRow">
|
714 |
+
<?php echo _e('Add New Row', 'woo-feed'); ?>
|
715 |
+
</button>
|
716 |
+
</td>
|
717 |
+
<td colspan="8">
|
718 |
+
|
719 |
+
</td>
|
720 |
+
</tr>
|
721 |
+
</tfoot>
|
722 |
+
</table>
|
723 |
+
<table class=" widefat fixed">
|
724 |
+
<tr>
|
725 |
+
<td align="left" class="">
|
726 |
+
<div class="makeFeedResponse"></div>
|
727 |
+
<div class="makeFeedComplete"></div>
|
728 |
+
</td>
|
729 |
+
<td align="right">
|
730 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
731 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
732 |
+
</button>
|
733 |
+
</td>
|
734 |
+
</tr>
|
735 |
+
</table>
|
736 |
+
</div>
|
737 |
+
</li>
|
738 |
+
<li>
|
739 |
+
<input type="radio" name="wf_tabs" id="tab3"/>
|
740 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
741 |
+
|
742 |
+
<div id="wf-tab-content3" class="wf-tab-content">
|
743 |
+
<table class="table widefat fixed mtable" width="100%">
|
744 |
+
<tbody>
|
745 |
+
<tr>
|
746 |
+
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
747 |
+
<td>
|
748 |
+
<select name="ftpenabled" id="">
|
749 |
+
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
750 |
+
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
751 |
+
</select>
|
752 |
+
</td>
|
753 |
+
</tr>
|
754 |
+
<tr>
|
755 |
+
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
756 |
+
<td><input type="text" name="ftphost"/></td>
|
757 |
+
</tr>
|
758 |
+
<tr>
|
759 |
+
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
760 |
+
<td><input type="text" name="ftpuser"/></td>
|
761 |
+
</tr>
|
762 |
+
<tr>
|
763 |
+
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
764 |
+
<td><input type="password" name="ftppassword"/></td>
|
765 |
+
</tr>
|
766 |
+
<tr>
|
767 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
768 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
769 |
+
</tr>
|
770 |
+
<tr>
|
771 |
+
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
772 |
+
<td><input type="text" name="ftppath"/></td>
|
773 |
+
</tr>
|
774 |
+
</tbody>
|
775 |
+
</table>
|
776 |
+
<table class=" widefat fixed">
|
777 |
+
<tr>
|
778 |
+
<td align="left" class="makeFeedResponse">
|
779 |
+
|
780 |
+
</td>
|
781 |
+
<td align="right">
|
782 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
783 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
784 |
+
</button>
|
785 |
+
</td>
|
786 |
+
</tr>
|
787 |
+
</table>
|
788 |
+
</div>
|
789 |
+
</li>
|
790 |
+
|
791 |
+
</ul>
|
admin/partials/woo-feed-edit-template.php
CHANGED
@@ -334,7 +334,7 @@ $AttributesDropdown = $feedRules['provider'] . "AttributesDropdown";
|
|
334 |
</tr>
|
335 |
<tr>
|
336 |
<td><?php echo _e('Port', 'woo-feed'); ?></td>
|
337 |
-
<td><input type="text" value="<?php echo
|
338 |
name="ftpport" autocomplete="off"/></td>
|
339 |
</tr>
|
340 |
<tr>
|
334 |
</tr>
|
335 |
<tr>
|
336 |
<td><?php echo _e('Port', 'woo-feed'); ?></td>
|
337 |
+
<td><input type="text" value="<?php echo isset($feedRules['ftpport'])?esc_attr($feedRules['ftpport']):21; ?>"
|
338 |
name="ftpport" autocomplete="off"/></td>
|
339 |
</tr>
|
340 |
<tr>
|
includes/class-woo-feed.php
CHANGED
@@ -71,7 +71,7 @@ class Woo_Feed
|
|
71 |
{
|
72 |
|
73 |
$this->woo_feed = 'woo-feed';
|
74 |
-
$this->version = '2.1.
|
75 |
|
76 |
$this->load_dependencies();
|
77 |
$this->set_locale();
|
71 |
{
|
72 |
|
73 |
$this->woo_feed = 'woo-feed';
|
74 |
+
$this->version = '2.1.28';
|
75 |
|
76 |
$this->load_dependencies();
|
77 |
$this->set_locale();
|
includes/classes/class-woo-feed-admin-message.php
CHANGED
@@ -33,7 +33,7 @@ class Woo_Feed_Message
|
|
33 |
<table class="widefat fixed">
|
34 |
<tbody>
|
35 |
<tr>
|
36 |
-
<td align='center'>If you like <b>WooCommerce Product Feed</b>, Please leave us a <a target="_blank" style="color:#0073aa;text-decoration: underline" href="https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/reviews/?rate=5#new-post">★★★★★</a> rating
|
37 |
</tr>
|
38 |
</tbody>
|
39 |
</table><br>
|
33 |
<table class="widefat fixed">
|
34 |
<tbody>
|
35 |
<tr>
|
36 |
+
<td align='center'>If you like <b>WooCommerce Product Feed</b>, Please leave us a <a target="_blank" style="color:#0073aa;text-decoration: underline" href="https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/reviews/?rate=5#new-post">★★★★★</a> rating <a target="_blank" style="color:#0073aa;" href="https://wordpress.org/support/plugin/webappick-product-feed-for-woocommerce/reviews/?rate=5#new-post">here</a> and claim your <a href="https://goo.gl/7Di7wJ" target="_blanck"><b>20% discount</b></a> on Premium Version.</td>
|
37 |
</tr>
|
38 |
</tbody>
|
39 |
</table><br>
|
includes/classes/class-woo-feed-default-attributes.php
CHANGED
@@ -36,8 +36,12 @@ class Woo_Feed_Default_Attributes
|
|
36 |
"adwords" =>"Google Adwords",
|
37 |
"facebook" =>"Facebook",
|
38 |
"shopping" =>"eBay (Shopping.com)",
|
|
|
|
|
39 |
"nextag" =>"Nextag",
|
40 |
"pricegrabber" =>"Price Grabber",
|
|
|
|
|
41 |
"kelkoo" =>"Kelkoo",
|
42 |
"shopzilla" =>"Shopzilla",
|
43 |
"shopmania" =>"Shopmania",
|
@@ -45,10 +49,13 @@ class Woo_Feed_Default_Attributes
|
|
45 |
"bing" =>"Bing",
|
46 |
"become" =>"Become",
|
47 |
"connexity" =>"Connexity",
|
48 |
-
|
49 |
-
"pricespy"
|
50 |
-
"prisjakt"
|
51 |
"twenga" =>"Twenga",
|
|
|
|
|
|
|
52 |
"---2" =>"",
|
53 |
"--3" =>"Amazon Template",
|
54 |
"amazon_clothing" =>"Clothing",
|
36 |
"adwords" =>"Google Adwords",
|
37 |
"facebook" =>"Facebook",
|
38 |
"shopping" =>"eBay (Shopping.com)",
|
39 |
+
"adroll" =>"AdRoll",
|
40 |
+
"adform" =>"AdForm",
|
41 |
"nextag" =>"Nextag",
|
42 |
"pricegrabber" =>"Price Grabber",
|
43 |
+
"polyvore" =>"Polyvore",
|
44 |
+
"pricerunner" =>"PriceRunner",
|
45 |
"kelkoo" =>"Kelkoo",
|
46 |
"shopzilla" =>"Shopzilla",
|
47 |
"shopmania" =>"Shopmania",
|
49 |
"bing" =>"Bing",
|
50 |
"become" =>"Become",
|
51 |
"connexity" =>"Connexity",
|
52 |
+
|
53 |
+
"pricespy" =>"PriceSpy",
|
54 |
+
"prisjakt" =>"Prisjakt",
|
55 |
"twenga" =>"Twenga",
|
56 |
+
"fruugo" =>"Fruugo",
|
57 |
+
|
58 |
+
"bol" =>"Bol.com",
|
59 |
"---2" =>"",
|
60 |
"--3" =>"Amazon Template",
|
61 |
"amazon_clothing" =>"Clothing",
|
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: 2.1.
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
@@ -648,11 +648,16 @@ function woo_feed_manage_feed()
|
|
648 |
wp_die();
|
649 |
}
|
650 |
|
|
|
|
|
|
|
|
|
651 |
if (isset($fname)) {
|
652 |
$feedInfo = unserialize(get_option($fname));
|
653 |
$provider = strtolower($feedInfo['feedrules']['provider']);
|
654 |
$feedRules = $feedInfo['feedrules'];
|
655 |
-
|
|
|
656 |
require plugin_dir_path(__FILE__) . "admin/partials/custom/edit-feed.php";
|
657 |
} else {
|
658 |
require plugin_dir_path(__FILE__) . "admin/partials/woo-feed-edit-template.php";
|
16 |
* Plugin Name: WooCommerce Product Feed
|
17 |
* Plugin URI: https://webappick.com/
|
18 |
* Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
|
19 |
+
* Version: 2.1.28
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
648 |
wp_die();
|
649 |
}
|
650 |
|
651 |
+
$merchants=array(
|
652 |
+
"custom","fruugo","twenga","pricespy","prisjakt","amazon","adwords","polyvore","bol","pricerunner","adform"
|
653 |
+
);
|
654 |
+
|
655 |
if (isset($fname)) {
|
656 |
$feedInfo = unserialize(get_option($fname));
|
657 |
$provider = strtolower($feedInfo['feedrules']['provider']);
|
658 |
$feedRules = $feedInfo['feedrules'];
|
659 |
+
//$provider == "custom" ||$provider == "twenga" || $provider == "pricespy" || $provider == "prisjakt" || $provider == "amazon" || $provider == "adwords"
|
660 |
+
if (in_array($provider,$merchants)) {
|
661 |
require plugin_dir_path(__FILE__) . "admin/partials/custom/edit-feed.php";
|
662 |
} else {
|
663 |
require plugin_dir_path(__FILE__) . "admin/partials/woo-feed-edit-template.php";
|