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