Version Description
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.1.13 |
Comparing to | |
See all releases |
Code changes from version 3.1.12 to 3.1.13
- README.txt +4 -1
- admin/js/woo-feed-admin.js +2 -1
- admin/partials/templates/spartoo.fi_add-feed.php +812 -12
- includes/classes/class-woo-feed-engine.php +16 -1
- woo-feed.php +2 -2
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.1.
|
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.1.12(2019-07-18) =
|
307 |
* Added: shareasale template added
|
308 |
|
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.1.13
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
303 |
|
304 |
== Changelog ==
|
305 |
|
306 |
+
= 3.1.13(2019-07-22) =
|
307 |
+
* Modified: spartoo.fi template modified
|
308 |
+
|
309 |
= 3.1.12(2019-07-18) =
|
310 |
* Added: shareasale template added
|
311 |
|
admin/js/woo-feed-admin.js
CHANGED
@@ -195,7 +195,8 @@
|
|
195 |
|
196 |
// added by Zakaria
|
197 |
var _value = $(this).val();
|
198 |
-
|
|
|
199 |
{
|
200 |
$("#feedType").val("csv");
|
201 |
}
|
195 |
|
196 |
// added by Zakaria
|
197 |
var _value = $(this).val();
|
198 |
+
console.log(">>>", _value);
|
199 |
+
if(_value == "fruugo" || _value == "fruugo.au" || _value == "vergelijk_comparer" || _value == "avantlink" || _value == 'spartoo.fi')
|
200 |
{
|
201 |
$("#feedType").val("csv");
|
202 |
}
|
admin/partials/templates/spartoo.fi_add-feed.php
CHANGED
@@ -25,7 +25,7 @@
|
|
25 |
</td>
|
26 |
<td>
|
27 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
28 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="
|
29 |
</td>
|
30 |
<td>
|
31 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
@@ -39,7 +39,7 @@
|
|
39 |
<td>
|
40 |
<select name="attributes[]" required="required"
|
41 |
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
-
<?php echo $product->attributeDropdown('
|
43 |
</select>
|
44 |
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
45 |
style=" display: none;"/>
|
@@ -75,7 +75,107 @@
|
|
75 |
</td>
|
76 |
<td>
|
77 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
78 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
</td>
|
80 |
<td>
|
81 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
@@ -125,7 +225,7 @@
|
|
125 |
</td>
|
126 |
<td>
|
127 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
128 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="
|
129 |
</td>
|
130 |
<td>
|
131 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
@@ -139,7 +239,7 @@
|
|
139 |
<td>
|
140 |
<select name="attributes[]" required="required"
|
141 |
class="wf_validate_attr wf_attr wf_attributes">
|
142 |
-
<?php echo $product->attributeDropdown('
|
143 |
</select>
|
144 |
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
145 |
style=" display: none;"/>
|
@@ -175,7 +275,7 @@
|
|
175 |
</td>
|
176 |
<td>
|
177 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
178 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="
|
179 |
</td>
|
180 |
<td>
|
181 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
@@ -189,7 +289,7 @@
|
|
189 |
<td>
|
190 |
<select name="attributes[]" required="required"
|
191 |
class="wf_validate_attr wf_attr wf_attributes">
|
192 |
-
<?php echo $product->attributeDropdown(
|
193 |
</select>
|
194 |
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
195 |
style=" display: none;"/>
|
@@ -225,7 +325,7 @@
|
|
225 |
</td>
|
226 |
<td>
|
227 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
228 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="
|
229 |
</td>
|
230 |
<td>
|
231 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
@@ -239,7 +339,7 @@
|
|
239 |
<td>
|
240 |
<select name="attributes[]" required="required"
|
241 |
class="wf_validate_attr wf_attr wf_attributes">
|
242 |
-
<?php echo $product->attributeDropdown('
|
243 |
</select>
|
244 |
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
245 |
style=" display: none;"/>
|
@@ -275,7 +375,7 @@
|
|
275 |
</td>
|
276 |
<td>
|
277 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
278 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
|
279 |
</td>
|
280 |
<td>
|
281 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
@@ -325,7 +425,107 @@
|
|
325 |
</td>
|
326 |
<td>
|
327 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
328 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
329 |
</td>
|
330 |
<td>
|
331 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
@@ -375,7 +575,607 @@
|
|
375 |
</td>
|
376 |
<td>
|
377 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
378 |
-
class="wf_validate_attr wf_mattributes wf_mattr" value="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
379 |
</td>
|
380 |
<td>
|
381 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
25 |
</td>
|
26 |
<td>
|
27 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
28 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="SKU" />
|
29 |
</td>
|
30 |
<td>
|
31 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
39 |
<td>
|
40 |
<select name="attributes[]" 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;"/>
|
75 |
</td>
|
76 |
<td>
|
77 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
78 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Parent / Child" />
|
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('type'); ?>
|
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="Parent SKU" />
|
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('parent_sku'); ?>
|
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="Product name" />
|
179 |
</td>
|
180 |
<td>
|
181 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
225 |
</td>
|
226 |
<td>
|
227 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
228 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Manufacturer name" />
|
229 |
</td>
|
230 |
<td>
|
231 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
239 |
<td>
|
240 |
<select name="attributes[]" required="required"
|
241 |
class="wf_validate_attr wf_attr wf_attributes">
|
242 |
+
<?php echo $product->attributeDropdown(''); ?>
|
243 |
</select>
|
244 |
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
245 |
style=" display: none;"/>
|
275 |
</td>
|
276 |
<td>
|
277 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
278 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Gender" />
|
279 |
</td>
|
280 |
<td>
|
281 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
289 |
<td>
|
290 |
<select name="attributes[]" required="required"
|
291 |
class="wf_validate_attr wf_attr wf_attributes">
|
292 |
+
<?php echo $product->attributeDropdown(); ?>
|
293 |
</select>
|
294 |
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
295 |
style=" display: none;"/>
|
325 |
</td>
|
326 |
<td>
|
327 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
328 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Product_description" />
|
329 |
</td>
|
330 |
<td>
|
331 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
339 |
<td>
|
340 |
<select name="attributes[]" required="required"
|
341 |
class="wf_validate_attr wf_attr wf_attributes">
|
342 |
+
<?php echo $product->attributeDropdown('description'); ?>
|
343 |
</select>
|
344 |
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
345 |
style=" display: none;"/>
|
375 |
</td>
|
376 |
<td>
|
377 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
378 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Product price" />
|
379 |
</td>
|
380 |
<td>
|
381 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
425 |
</td>
|
426 |
<td>
|
427 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
428 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Discount price" />
|
429 |
+
</td>
|
430 |
+
<td>
|
431 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
432 |
+
</td>
|
433 |
+
<td>
|
434 |
+
<select name="type[]" class="attr_type wfnoempty">
|
435 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
436 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
437 |
+
</select>
|
438 |
+
</td>
|
439 |
+
<td>
|
440 |
+
<select name="attributes[]" required="required"
|
441 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
442 |
+
<?php echo $product->attributeDropdown('sale_price'); ?>
|
443 |
+
</select>
|
444 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
445 |
+
style=" display: none;"/>
|
446 |
+
</td>
|
447 |
+
<td>
|
448 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
449 |
+
</td>
|
450 |
+
<td>
|
451 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
452 |
+
<option value="1">Default</option>
|
453 |
+
<option value="2">Strip Tags</option>
|
454 |
+
<option value="3">UTF-8 Encode</option>
|
455 |
+
<option value="4">htmlentities</option>
|
456 |
+
<option value="5">Integer</option>
|
457 |
+
<option value="6">Price</option>
|
458 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
459 |
+
<option value="8">CDATA</option>
|
460 |
+
</select>
|
461 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
462 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
463 |
+
</td>
|
464 |
+
<td>
|
465 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
466 |
+
</td>
|
467 |
+
<td>
|
468 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
469 |
+
</td>
|
470 |
+
</tr>
|
471 |
+
|
472 |
+
<tr>
|
473 |
+
<td>
|
474 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
475 |
+
</td>
|
476 |
+
<td>
|
477 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
478 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Quantity" />
|
479 |
+
</td>
|
480 |
+
<td>
|
481 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
482 |
+
</td>
|
483 |
+
<td>
|
484 |
+
<select name="type[]" class="attr_type wfnoempty">
|
485 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
486 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
487 |
+
</select>
|
488 |
+
</td>
|
489 |
+
<td>
|
490 |
+
<select name="attributes[]" required="required"
|
491 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
492 |
+
<?php echo $product->attributeDropdown('quantity'); ?>
|
493 |
+
</select>
|
494 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
495 |
+
style=" display: none;"/>
|
496 |
+
</td>
|
497 |
+
<td>
|
498 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
499 |
+
</td>
|
500 |
+
<td>
|
501 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
502 |
+
<option value="1">Default</option>
|
503 |
+
<option value="2">Strip Tags</option>
|
504 |
+
<option value="3">UTF-8 Encode</option>
|
505 |
+
<option value="4">htmlentities</option>
|
506 |
+
<option value="5">Integer</option>
|
507 |
+
<option value="6">Price</option>
|
508 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
509 |
+
<option value="8">CDATA</option>
|
510 |
+
</select>
|
511 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
512 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
513 |
+
</td>
|
514 |
+
<td>
|
515 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
516 |
+
</td>
|
517 |
+
<td>
|
518 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
519 |
+
</td>
|
520 |
+
</tr>
|
521 |
+
|
522 |
+
<tr>
|
523 |
+
<td>
|
524 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
525 |
+
</td>
|
526 |
+
<td>
|
527 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
528 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Category" />
|
529 |
</td>
|
530 |
<td>
|
531 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
575 |
</td>
|
576 |
<td>
|
577 |
<input type="text" name="mattributes[]" autocomplete="off" required
|
578 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Products selection" />
|
579 |
+
</td>
|
580 |
+
<td>
|
581 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
582 |
+
</td>
|
583 |
+
<td>
|
584 |
+
<select name="type[]" class="attr_type wfnoempty">
|
585 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
586 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
587 |
+
</select>
|
588 |
+
</td>
|
589 |
+
<td>
|
590 |
+
<select name="attributes[]" required="required"
|
591 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
592 |
+
<?php echo $product->attributeDropdown(''); ?>
|
593 |
+
</select>
|
594 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
595 |
+
style=" display: none;"/>
|
596 |
+
</td>
|
597 |
+
<td>
|
598 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
599 |
+
</td>
|
600 |
+
<td>
|
601 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
602 |
+
<option value="1">Default</option>
|
603 |
+
<option value="2">Strip Tags</option>
|
604 |
+
<option value="3">UTF-8 Encode</option>
|
605 |
+
<option value="4">htmlentities</option>
|
606 |
+
<option value="5">Integer</option>
|
607 |
+
<option value="6">Price</option>
|
608 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
609 |
+
<option value="8">CDATA</option>
|
610 |
+
</select>
|
611 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
612 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
613 |
+
</td>
|
614 |
+
<td>
|
615 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
616 |
+
</td>
|
617 |
+
<td>
|
618 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
619 |
+
</td>
|
620 |
+
</tr>
|
621 |
+
|
622 |
+
<tr>
|
623 |
+
<td>
|
624 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
625 |
+
</td>
|
626 |
+
<td>
|
627 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
628 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 1" />
|
629 |
+
</td>
|
630 |
+
<td>
|
631 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
632 |
+
</td>
|
633 |
+
<td>
|
634 |
+
<select name="type[]" class="attr_type wfnoempty">
|
635 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
636 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
637 |
+
</select>
|
638 |
+
</td>
|
639 |
+
<td>
|
640 |
+
<select name="attributes[]" required="required"
|
641 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
642 |
+
<?php echo $product->attributeDropdown('image_1'); ?>
|
643 |
+
</select>
|
644 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
645 |
+
style=" display: none;"/>
|
646 |
+
</td>
|
647 |
+
<td>
|
648 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
649 |
+
</td>
|
650 |
+
<td>
|
651 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
652 |
+
<option value="1">Default</option>
|
653 |
+
<option value="2">Strip Tags</option>
|
654 |
+
<option value="3">UTF-8 Encode</option>
|
655 |
+
<option value="4">htmlentities</option>
|
656 |
+
<option value="5">Integer</option>
|
657 |
+
<option value="6">Price</option>
|
658 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
659 |
+
<option value="8">CDATA</option>
|
660 |
+
</select>
|
661 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
662 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
663 |
+
</td>
|
664 |
+
<td>
|
665 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
666 |
+
</td>
|
667 |
+
<td>
|
668 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
669 |
+
</td>
|
670 |
+
</tr>
|
671 |
+
|
672 |
+
<tr>
|
673 |
+
<td>
|
674 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
675 |
+
</td>
|
676 |
+
<td>
|
677 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
678 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 2" />
|
679 |
+
</td>
|
680 |
+
<td>
|
681 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
682 |
+
</td>
|
683 |
+
<td>
|
684 |
+
<select name="type[]" class="attr_type wfnoempty">
|
685 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
686 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
687 |
+
</select>
|
688 |
+
</td>
|
689 |
+
<td>
|
690 |
+
<select name="attributes[]" required="required"
|
691 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
692 |
+
<?php echo $product->attributeDropdown('image_2'); ?>
|
693 |
+
</select>
|
694 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
695 |
+
style=" display: none;"/>
|
696 |
+
</td>
|
697 |
+
<td>
|
698 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
699 |
+
</td>
|
700 |
+
<td>
|
701 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
702 |
+
<option value="1">Default</option>
|
703 |
+
<option value="2">Strip Tags</option>
|
704 |
+
<option value="3">UTF-8 Encode</option>
|
705 |
+
<option value="4">htmlentities</option>
|
706 |
+
<option value="5">Integer</option>
|
707 |
+
<option value="6">Price</option>
|
708 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
709 |
+
<option value="8">CDATA</option>
|
710 |
+
</select>
|
711 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
712 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
713 |
+
</td>
|
714 |
+
<td>
|
715 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
716 |
+
</td>
|
717 |
+
<td>
|
718 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
719 |
+
</td>
|
720 |
+
</tr>
|
721 |
+
|
722 |
+
<tr>
|
723 |
+
<td>
|
724 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
725 |
+
</td>
|
726 |
+
<td>
|
727 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
728 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 3" />
|
729 |
+
</td>
|
730 |
+
<td>
|
731 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
732 |
+
</td>
|
733 |
+
<td>
|
734 |
+
<select name="type[]" class="attr_type wfnoempty">
|
735 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
736 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
737 |
+
</select>
|
738 |
+
</td>
|
739 |
+
<td>
|
740 |
+
<select name="attributes[]" required="required"
|
741 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
742 |
+
<?php echo $product->attributeDropdown('image_3'); ?>
|
743 |
+
</select>
|
744 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
745 |
+
style=" display: none;"/>
|
746 |
+
</td>
|
747 |
+
<td>
|
748 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
749 |
+
</td>
|
750 |
+
<td>
|
751 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
752 |
+
<option value="1">Default</option>
|
753 |
+
<option value="2">Strip Tags</option>
|
754 |
+
<option value="3">UTF-8 Encode</option>
|
755 |
+
<option value="4">htmlentities</option>
|
756 |
+
<option value="5">Integer</option>
|
757 |
+
<option value="6">Price</option>
|
758 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
759 |
+
<option value="8">CDATA</option>
|
760 |
+
</select>
|
761 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
762 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
763 |
+
</td>
|
764 |
+
<td>
|
765 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
766 |
+
</td>
|
767 |
+
<td>
|
768 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
769 |
+
</td>
|
770 |
+
</tr>
|
771 |
+
|
772 |
+
<tr>
|
773 |
+
<td>
|
774 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
775 |
+
</td>
|
776 |
+
<td>
|
777 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
778 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 4" />
|
779 |
+
</td>
|
780 |
+
<td>
|
781 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
782 |
+
</td>
|
783 |
+
<td>
|
784 |
+
<select name="type[]" class="attr_type wfnoempty">
|
785 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
786 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
787 |
+
</select>
|
788 |
+
</td>
|
789 |
+
<td>
|
790 |
+
<select name="attributes[]" required="required"
|
791 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
792 |
+
<?php echo $product->attributeDropdown('image_4'); ?>
|
793 |
+
</select>
|
794 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
795 |
+
style=" display: none;"/>
|
796 |
+
</td>
|
797 |
+
<td>
|
798 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
799 |
+
</td>
|
800 |
+
<td>
|
801 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
802 |
+
<option value="1">Default</option>
|
803 |
+
<option value="2">Strip Tags</option>
|
804 |
+
<option value="3">UTF-8 Encode</option>
|
805 |
+
<option value="4">htmlentities</option>
|
806 |
+
<option value="5">Integer</option>
|
807 |
+
<option value="6">Price</option>
|
808 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
809 |
+
<option value="8">CDATA</option>
|
810 |
+
</select>
|
811 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
812 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
813 |
+
</td>
|
814 |
+
<td>
|
815 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
816 |
+
</td>
|
817 |
+
<td>
|
818 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
819 |
+
</td>
|
820 |
+
</tr>
|
821 |
+
|
822 |
+
<tr>
|
823 |
+
<td>
|
824 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
825 |
+
</td>
|
826 |
+
<td>
|
827 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
828 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 5" />
|
829 |
+
</td>
|
830 |
+
<td>
|
831 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
832 |
+
</td>
|
833 |
+
<td>
|
834 |
+
<select name="type[]" class="attr_type wfnoempty">
|
835 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
836 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
837 |
+
</select>
|
838 |
+
</td>
|
839 |
+
<td>
|
840 |
+
<select name="attributes[]" required="required"
|
841 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
842 |
+
<?php echo $product->attributeDropdown('image_5'); ?>
|
843 |
+
</select>
|
844 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
845 |
+
style=" display: none;"/>
|
846 |
+
</td>
|
847 |
+
<td>
|
848 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
849 |
+
</td>
|
850 |
+
<td>
|
851 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
852 |
+
<option value="1">Default</option>
|
853 |
+
<option value="2">Strip Tags</option>
|
854 |
+
<option value="3">UTF-8 Encode</option>
|
855 |
+
<option value="4">htmlentities</option>
|
856 |
+
<option value="5">Integer</option>
|
857 |
+
<option value="6">Price</option>
|
858 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
859 |
+
<option value="8">CDATA</option>
|
860 |
+
</select>
|
861 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
862 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
863 |
+
</td>
|
864 |
+
<td>
|
865 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
866 |
+
</td>
|
867 |
+
<td>
|
868 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
869 |
+
</td>
|
870 |
+
</tr>
|
871 |
+
|
872 |
+
<tr>
|
873 |
+
<td>
|
874 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
875 |
+
</td>
|
876 |
+
<td>
|
877 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
878 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 6" />
|
879 |
+
</td>
|
880 |
+
<td>
|
881 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
882 |
+
</td>
|
883 |
+
<td>
|
884 |
+
<select name="type[]" class="attr_type wfnoempty">
|
885 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
886 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
887 |
+
</select>
|
888 |
+
</td>
|
889 |
+
<td>
|
890 |
+
<select name="attributes[]" required="required"
|
891 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
892 |
+
<?php echo $product->attributeDropdown('image_6'); ?>
|
893 |
+
</select>
|
894 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
895 |
+
style=" display: none;"/>
|
896 |
+
</td>
|
897 |
+
<td>
|
898 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
899 |
+
</td>
|
900 |
+
<td>
|
901 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
902 |
+
<option value="1">Default</option>
|
903 |
+
<option value="2">Strip Tags</option>
|
904 |
+
<option value="3">UTF-8 Encode</option>
|
905 |
+
<option value="4">htmlentities</option>
|
906 |
+
<option value="5">Integer</option>
|
907 |
+
<option value="6">Price</option>
|
908 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
909 |
+
<option value="8">CDATA</option>
|
910 |
+
</select>
|
911 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
912 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
913 |
+
</td>
|
914 |
+
<td>
|
915 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
916 |
+
</td>
|
917 |
+
<td>
|
918 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
919 |
+
</td>
|
920 |
+
</tr>
|
921 |
+
|
922 |
+
<tr>
|
923 |
+
<td>
|
924 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
925 |
+
</td>
|
926 |
+
<td>
|
927 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
928 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 7" />
|
929 |
+
</td>
|
930 |
+
<td>
|
931 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
932 |
+
</td>
|
933 |
+
<td>
|
934 |
+
<select name="type[]" class="attr_type wfnoempty">
|
935 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
936 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
937 |
+
</select>
|
938 |
+
</td>
|
939 |
+
<td>
|
940 |
+
<select name="attributes[]" required="required"
|
941 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
942 |
+
<?php echo $product->attributeDropdown('image_7'); ?>
|
943 |
+
</select>
|
944 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
945 |
+
style=" display: none;"/>
|
946 |
+
</td>
|
947 |
+
<td>
|
948 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
949 |
+
</td>
|
950 |
+
<td>
|
951 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
952 |
+
<option value="1">Default</option>
|
953 |
+
<option value="2">Strip Tags</option>
|
954 |
+
<option value="3">UTF-8 Encode</option>
|
955 |
+
<option value="4">htmlentities</option>
|
956 |
+
<option value="5">Integer</option>
|
957 |
+
<option value="6">Price</option>
|
958 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
959 |
+
<option value="8">CDATA</option>
|
960 |
+
</select>
|
961 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
962 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
963 |
+
</td>
|
964 |
+
<td>
|
965 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
966 |
+
</td>
|
967 |
+
<td>
|
968 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
969 |
+
</td>
|
970 |
+
</tr>
|
971 |
+
|
972 |
+
<tr>
|
973 |
+
<td>
|
974 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
975 |
+
</td>
|
976 |
+
<td>
|
977 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
978 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Photo 8" />
|
979 |
+
</td>
|
980 |
+
<td>
|
981 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
982 |
+
</td>
|
983 |
+
<td>
|
984 |
+
<select name="type[]" class="attr_type wfnoempty">
|
985 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
986 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
987 |
+
</select>
|
988 |
+
</td>
|
989 |
+
<td>
|
990 |
+
<select name="attributes[]" required="required"
|
991 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
992 |
+
<?php echo $product->attributeDropdown('image_8'); ?>
|
993 |
+
</select>
|
994 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
995 |
+
style=" display: none;"/>
|
996 |
+
</td>
|
997 |
+
<td>
|
998 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
999 |
+
</td>
|
1000 |
+
<td>
|
1001 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
1002 |
+
<option value="1">Default</option>
|
1003 |
+
<option value="2">Strip Tags</option>
|
1004 |
+
<option value="3">UTF-8 Encode</option>
|
1005 |
+
<option value="4">htmlentities</option>
|
1006 |
+
<option value="5">Integer</option>
|
1007 |
+
<option value="6">Price</option>
|
1008 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
1009 |
+
<option value="8">CDATA</option>
|
1010 |
+
</select>
|
1011 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
1012 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
1013 |
+
</td>
|
1014 |
+
<td>
|
1015 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
1016 |
+
</td>
|
1017 |
+
<td>
|
1018 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
1019 |
+
</td>
|
1020 |
+
</tr>
|
1021 |
+
|
1022 |
+
<tr>
|
1023 |
+
<td>
|
1024 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
1025 |
+
</td>
|
1026 |
+
<td>
|
1027 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
1028 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Color id" />
|
1029 |
+
</td>
|
1030 |
+
<td>
|
1031 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
1032 |
+
</td>
|
1033 |
+
<td>
|
1034 |
+
<select name="type[]" class="attr_type wfnoempty">
|
1035 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
1036 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
1037 |
+
</select>
|
1038 |
+
</td>
|
1039 |
+
<td>
|
1040 |
+
<select name="attributes[]" required="required"
|
1041 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
1042 |
+
<?php echo $product->attributeDropdown(); ?>
|
1043 |
+
</select>
|
1044 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
1045 |
+
style=" display: none;"/>
|
1046 |
+
</td>
|
1047 |
+
<td>
|
1048 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
1049 |
+
</td>
|
1050 |
+
<td>
|
1051 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
1052 |
+
<option value="1">Default</option>
|
1053 |
+
<option value="2">Strip Tags</option>
|
1054 |
+
<option value="3">UTF-8 Encode</option>
|
1055 |
+
<option value="4">htmlentities</option>
|
1056 |
+
<option value="5">Integer</option>
|
1057 |
+
<option value="6">Price</option>
|
1058 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
1059 |
+
<option value="8">CDATA</option>
|
1060 |
+
</select>
|
1061 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
1062 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
1063 |
+
</td>
|
1064 |
+
<td>
|
1065 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
1066 |
+
</td>
|
1067 |
+
<td>
|
1068 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
1069 |
+
</td>
|
1070 |
+
</tr>
|
1071 |
+
|
1072 |
+
<tr>
|
1073 |
+
<td>
|
1074 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
1075 |
+
</td>
|
1076 |
+
<td>
|
1077 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
1078 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Color name" />
|
1079 |
+
</td>
|
1080 |
+
<td>
|
1081 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
1082 |
+
</td>
|
1083 |
+
<td>
|
1084 |
+
<select name="type[]" class="attr_type wfnoempty">
|
1085 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
1086 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
1087 |
+
</select>
|
1088 |
+
</td>
|
1089 |
+
<td>
|
1090 |
+
<select name="attributes[]" required="required"
|
1091 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
1092 |
+
<?php echo $product->attributeDropdown(); ?>
|
1093 |
+
</select>
|
1094 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
1095 |
+
style=" display: none;"/>
|
1096 |
+
</td>
|
1097 |
+
<td>
|
1098 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
1099 |
+
</td>
|
1100 |
+
<td>
|
1101 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
1102 |
+
<option value="1">Default</option>
|
1103 |
+
<option value="2">Strip Tags</option>
|
1104 |
+
<option value="3">UTF-8 Encode</option>
|
1105 |
+
<option value="4">htmlentities</option>
|
1106 |
+
<option value="5">Integer</option>
|
1107 |
+
<option value="6">Price</option>
|
1108 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
1109 |
+
<option value="8">CDATA</option>
|
1110 |
+
</select>
|
1111 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
1112 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
1113 |
+
</td>
|
1114 |
+
<td>
|
1115 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
1116 |
+
</td>
|
1117 |
+
<td>
|
1118 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
1119 |
+
</td>
|
1120 |
+
</tr>
|
1121 |
+
|
1122 |
+
<tr>
|
1123 |
+
<td>
|
1124 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
1125 |
+
</td>
|
1126 |
+
<td>
|
1127 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
1128 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="Size name" />
|
1129 |
+
</td>
|
1130 |
+
<td>
|
1131 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
1132 |
+
</td>
|
1133 |
+
<td>
|
1134 |
+
<select name="type[]" class="attr_type wfnoempty">
|
1135 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
1136 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
1137 |
+
</select>
|
1138 |
+
</td>
|
1139 |
+
<td>
|
1140 |
+
<select name="attributes[]" required="required"
|
1141 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
1142 |
+
<?php echo $product->attributeDropdown(); ?>
|
1143 |
+
</select>
|
1144 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
1145 |
+
style=" display: none;"/>
|
1146 |
+
</td>
|
1147 |
+
<td>
|
1148 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
1149 |
+
</td>
|
1150 |
+
<td>
|
1151 |
+
<select name="output_type[][]" class="outputType wfnoempty">
|
1152 |
+
<option value="1">Default</option>
|
1153 |
+
<option value="2">Strip Tags</option>
|
1154 |
+
<option value="3">UTF-8 Encode</option>
|
1155 |
+
<option value="4">htmlentities</option>
|
1156 |
+
<option value="5">Integer</option>
|
1157 |
+
<option value="6">Price</option>
|
1158 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
1159 |
+
<option value="8">CDATA</option>
|
1160 |
+
</select>
|
1161 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
1162 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
1163 |
+
</td>
|
1164 |
+
<td>
|
1165 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
1166 |
+
</td>
|
1167 |
+
<td>
|
1168 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
1169 |
+
</td>
|
1170 |
+
</tr>
|
1171 |
+
|
1172 |
+
<tr>
|
1173 |
+
<td>
|
1174 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
1175 |
+
</td>
|
1176 |
+
<td>
|
1177 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
1178 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="ean" />
|
1179 |
</td>
|
1180 |
<td>
|
1181 |
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
includes/classes/class-woo-feed-engine.php
CHANGED
@@ -646,7 +646,22 @@ class WF_Engine
|
|
646 |
foreach ($this->storeProducts as $no => $product) {
|
647 |
$row = array();
|
648 |
foreach ($headers as $key => $header) {
|
649 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
650 |
}
|
651 |
$feed[] = $row;
|
652 |
}
|
646 |
foreach ($this->storeProducts as $no => $product) {
|
647 |
$row = array();
|
648 |
foreach ($headers as $key => $header) {
|
649 |
+
if($this->rules['provider'] == 'spartoo.fi' && $header == "Parent / Child")
|
650 |
+
{
|
651 |
+
$_value = isset($product[$header])?$this->processStringForCSV($product[$header]): "";
|
652 |
+
if($_value == 'variation')
|
653 |
+
{
|
654 |
+
$row[] = 'child';
|
655 |
+
}
|
656 |
+
else
|
657 |
+
{
|
658 |
+
$row[] = 'parent';
|
659 |
+
}
|
660 |
+
}
|
661 |
+
else
|
662 |
+
{
|
663 |
+
$row[] = isset($product[$header])?$this->processStringForCSV($product[$header]): "";
|
664 |
+
}
|
665 |
}
|
666 |
$feed[] = $row;
|
667 |
}
|
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.1.
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
@@ -36,7 +36,7 @@ if (!defined('ABSPATH')) {
|
|
36 |
exit;
|
37 |
}
|
38 |
|
39 |
-
define("WOO_FEED_VERSION", "3.1.
|
40 |
|
41 |
/**
|
42 |
* The core plugin class that is used to define internationalization,
|
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.1.13
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
36 |
exit;
|
37 |
}
|
38 |
|
39 |
+
define("WOO_FEED_VERSION", "3.1.13");
|
40 |
|
41 |
/**
|
42 |
* The core plugin class that is used to define internationalization,
|