Version Description
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 2.1.24 |
Comparing to | |
See all releases |
Code changes from version 2.1.22 to 2.1.24
- README.txt +7 -0
- admin/js/woo-feed-admin.js +2 -2
- admin/partials/adroll/add-feed.php +4 -0
- admin/partials/adwords/add-feed.php +4 -0
- admin/partials/amazon/add-feed.php +4 -0
- admin/partials/become/add-feed.php +4 -0
- admin/partials/bing/add-feed.php +4 -0
- admin/partials/connexity/add-feed.php +4 -0
- admin/partials/custom/add-feed.php +4 -0
- admin/partials/custom/edit-feed.php +5 -0
- admin/partials/facebook/add-feed.php +4 -0
- admin/partials/google/add-feed.php +4 -0
- admin/partials/kelkoo/add-feed.php +4 -0
- admin/partials/nextag/add-feed.php +4 -0
- admin/partials/pricegrabber/add-feed.php +4 -0
- admin/partials/pricespy/add-feed.php +12 -8
- admin/partials/prisjakt/add-feed.php +12 -8
- admin/partials/shopbot/add-feed.php +4 -0
- admin/partials/shopmania/add-feed.php +4 -0
- admin/partials/shopping/add-feed.php +4 -0
- admin/partials/shopzilla/add-feed.php +4 -0
- admin/partials/twenga/add-feed.php +1182 -0
- admin/partials/woo-feed-edit-template.php +5 -0
- admin/partials/woo-feed-manage-list.php +12 -3
- includes/class-woo-feed.php +1 -1
- includes/classes/class-woo-feed-default-attributes.php +1 -0
- includes/classes/class-woo-feed-ftp.php +3 -2
- includes/feeds/class-woo-feed-facebook.php +1 -0
- includes/feeds/class-woo-feed-google.php +1 -0
- woo-feed.php +6 -5
README.txt
CHANGED
@@ -216,6 +216,13 @@ Using pro version:
|
|
216 |
|
217 |
== Changelog ==
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
= 2.1.22(2017-10-17) =
|
220 |
* Added: PriceSpy product feed template added
|
221 |
* Added: PrisJakt product feed template added
|
216 |
|
217 |
== Changelog ==
|
218 |
|
219 |
+
= 2.1.24(2017-11-03) =
|
220 |
+
* Added: FTP port option
|
221 |
+
|
222 |
+
= 2.1.23(2017-10-23) =
|
223 |
+
* Added: Twenga product feed template added
|
224 |
+
* Fixed: Internal server error at the middle of feed making
|
225 |
+
|
226 |
= 2.1.22(2017-10-17) =
|
227 |
* Added: PriceSpy product feed template added
|
228 |
* Added: PrisJakt product feed template added
|
admin/js/woo-feed-admin.js
CHANGED
@@ -102,9 +102,9 @@
|
|
102 |
$(this).closest('tr').find('.wf_attr').hide();
|
103 |
$(this).closest('tr').find('.wf_attr').val('');
|
104 |
$(this).closest('tr').find('.wf_default').show();
|
105 |
-
|
106 |
} else {
|
107 |
-
|
108 |
$(this).closest('tr').find('.wf_attr').show();
|
109 |
$(this).closest('tr').find('.wf_default').hide();
|
110 |
$(this).closest('tr').find('.wf_default').val('');
|
102 |
$(this).closest('tr').find('.wf_attr').hide();
|
103 |
$(this).closest('tr').find('.wf_attr').val('');
|
104 |
$(this).closest('tr').find('.wf_default').show();
|
105 |
+
//$(this).closest('tr').find('.wf_default').prop('required',true);
|
106 |
} else {
|
107 |
+
//$(this).closest('tr').find('.wf_attr').prop('required',true);
|
108 |
$(this).closest('tr').find('.wf_attr').show();
|
109 |
$(this).closest('tr').find('.wf_default').hide();
|
110 |
$(this).closest('tr').find('.wf_default').val('');
|
admin/partials/adroll/add-feed.php
CHANGED
@@ -730,6 +730,10 @@
|
|
730 |
<td><?php echo _e( 'Password', 'woo-feed' ); ?></td>
|
731 |
<td><input type="password" name="ftppassword"/></td>
|
732 |
</tr>
|
|
|
|
|
|
|
|
|
733 |
<tr>
|
734 |
<td><?php echo _e( 'Path', 'woo-feed' ); ?></td>
|
735 |
<td><input type="text" name="ftppath"/></td>
|
730 |
<td><?php echo _e( 'Password', 'woo-feed' ); ?></td>
|
731 |
<td><input type="password" name="ftppassword"/></td>
|
732 |
</tr>
|
733 |
+
<tr>
|
734 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
735 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
736 |
+
</tr>
|
737 |
<tr>
|
738 |
<td><?php echo _e( 'Path', 'woo-feed' ); ?></td>
|
739 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/adwords/add-feed.php
CHANGED
@@ -664,6 +664,10 @@
|
|
664 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
665 |
<td><input type="password" name="ftppassword"/></td>
|
666 |
</tr>
|
|
|
|
|
|
|
|
|
667 |
<tr>
|
668 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
669 |
<td><input type="text" name="ftppath"/></td>
|
664 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
665 |
<td><input type="password" name="ftppassword"/></td>
|
666 |
</tr>
|
667 |
+
<tr>
|
668 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
669 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
670 |
+
</tr>
|
671 |
<tr>
|
672 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
673 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/amazon/add-feed.php
CHANGED
@@ -224,6 +224,10 @@
|
|
224 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
225 |
<td><input type="password" name="ftppassword"/></td>
|
226 |
</tr>
|
|
|
|
|
|
|
|
|
227 |
<tr>
|
228 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
229 |
<td><input type="text" name="ftppath"/></td>
|
224 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
225 |
<td><input type="password" name="ftppassword"/></td>
|
226 |
</tr>
|
227 |
+
<tr>
|
228 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
229 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
230 |
+
</tr>
|
231 |
<tr>
|
232 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
233 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/become/add-feed.php
CHANGED
@@ -517,6 +517,10 @@
|
|
517 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
<td><input type="password" name="ftppassword"/></td>
|
519 |
</tr>
|
|
|
|
|
|
|
|
|
520 |
<tr>
|
521 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
522 |
<td><input type="text" name="ftppath"/></td>
|
517 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
<td><input type="password" name="ftppassword"/></td>
|
519 |
</tr>
|
520 |
+
<tr>
|
521 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
522 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
523 |
+
</tr>
|
524 |
<tr>
|
525 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
526 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/bing/add-feed.php
CHANGED
@@ -136,6 +136,10 @@ foreach($attributes->bingAttribute() as $key=>$value){
|
|
136 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
137 |
<td><input type="password" name="ftppassword"/></td>
|
138 |
</tr>
|
|
|
|
|
|
|
|
|
139 |
<tr>
|
140 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
141 |
<td><input type="text" name="ftppath"/></td>
|
136 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
137 |
<td><input type="password" name="ftppassword"/></td>
|
138 |
</tr>
|
139 |
+
<tr>
|
140 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
141 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
142 |
+
</tr>
|
143 |
<tr>
|
144 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
145 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/connexity/add-feed.php
CHANGED
@@ -515,6 +515,10 @@
|
|
515 |
<td><?php echo _e('Password','woo-feed');?></td>
|
516 |
<td><input type="password" name="ftppassword"/></td>
|
517 |
</tr>
|
|
|
|
|
|
|
|
|
518 |
<tr>
|
519 |
<td><?php echo _e('Path','woo-feed');?></td>
|
520 |
<td><input type="text" name="ftppath"/></td>
|
515 |
<td><?php echo _e('Password','woo-feed');?></td>
|
516 |
<td><input type="password" name="ftppassword"/></td>
|
517 |
</tr>
|
518 |
+
<tr>
|
519 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
520 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
521 |
+
</tr>
|
522 |
<tr>
|
523 |
<td><?php echo _e('Path','woo-feed');?></td>
|
524 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/custom/add-feed.php
CHANGED
@@ -125,6 +125,10 @@
|
|
125 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
126 |
<td><input type="password" name="ftppassword"/></td>
|
127 |
</tr>
|
|
|
|
|
|
|
|
|
128 |
<tr>
|
129 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
130 |
<td><input type="text" name="ftppath"/></td>
|
125 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
126 |
<td><input type="password" name="ftppassword"/></td>
|
127 |
</tr>
|
128 |
+
<tr>
|
129 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
130 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
131 |
+
</tr>
|
132 |
<tr>
|
133 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
134 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/custom/edit-feed.php
CHANGED
@@ -328,6 +328,11 @@ $product->load_attributes();
|
|
328 |
<td><input type="password" value="<?php echo esc_attr($feedRules['ftppassword']); ?>"
|
329 |
name="ftppassword" autocomplete="off"/></td>
|
330 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
331 |
<tr>
|
332 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
333 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
|
328 |
<td><input type="password" value="<?php echo esc_attr($feedRules['ftppassword']); ?>"
|
329 |
name="ftppassword" autocomplete="off"/></td>
|
330 |
</tr>
|
331 |
+
<tr>
|
332 |
+
<td><?php echo _e('Port', 'woo-feed'); ?></td>
|
333 |
+
<td><input type="text" value="<?php echo esc_attr($feedRules['ftpport']); ?>"
|
334 |
+
name="ftpport" autocomplete="off"/></td>
|
335 |
+
</tr>
|
336 |
<tr>
|
337 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
338 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
|
admin/partials/facebook/add-feed.php
CHANGED
@@ -727,6 +727,10 @@
|
|
727 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
728 |
<td><input type="password" name="ftppassword"/></td>
|
729 |
</tr>
|
|
|
|
|
|
|
|
|
730 |
<tr>
|
731 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
732 |
<td><input type="text" name="ftppath"/></td>
|
727 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
728 |
<td><input type="password" name="ftppassword"/></td>
|
729 |
</tr>
|
730 |
+
<tr>
|
731 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
732 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
733 |
+
</tr>
|
734 |
<tr>
|
735 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
736 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/google/add-feed.php
CHANGED
@@ -730,6 +730,10 @@
|
|
730 |
<td><?php echo _e( 'Password', 'woo-feed' ); ?></td>
|
731 |
<td><input type="password" name="ftppassword"/></td>
|
732 |
</tr>
|
|
|
|
|
|
|
|
|
733 |
<tr>
|
734 |
<td><?php echo _e( 'Path', 'woo-feed' ); ?></td>
|
735 |
<td><input type="text" name="ftppath"/></td>
|
730 |
<td><?php echo _e( 'Password', 'woo-feed' ); ?></td>
|
731 |
<td><input type="password" name="ftppassword"/></td>
|
732 |
</tr>
|
733 |
+
<tr>
|
734 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
735 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
736 |
+
</tr>
|
737 |
<tr>
|
738 |
<td><?php echo _e( 'Path', 'woo-feed' ); ?></td>
|
739 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/kelkoo/add-feed.php
CHANGED
@@ -613,6 +613,10 @@
|
|
613 |
<td><?php echo _e('Password','woo-feed');?></td>
|
614 |
<td><input type="password" name="ftppassword"/></td>
|
615 |
</tr>
|
|
|
|
|
|
|
|
|
616 |
<tr>
|
617 |
<td><?php echo _e('Path','woo-feed');?></td>
|
618 |
<td><input type="text" name="ftppath"/></td>
|
613 |
<td><?php echo _e('Password','woo-feed');?></td>
|
614 |
<td><input type="password" name="ftppassword"/></td>
|
615 |
</tr>
|
616 |
+
<tr>
|
617 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
618 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
619 |
+
</tr>
|
620 |
<tr>
|
621 |
<td><?php echo _e('Path','woo-feed');?></td>
|
622 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/nextag/add-feed.php
CHANGED
@@ -466,6 +466,10 @@
|
|
466 |
<td><?php echo _e('Password','woo-feed');?></td>
|
467 |
<td><input type="password" name="ftppassword"/></td>
|
468 |
</tr>
|
|
|
|
|
|
|
|
|
469 |
<tr>
|
470 |
<td><?php echo _e('Path','woo-feed');?></td>
|
471 |
<td><input type="text" name="ftppath"/></td>
|
466 |
<td><?php echo _e('Password','woo-feed');?></td>
|
467 |
<td><input type="password" name="ftppassword"/></td>
|
468 |
</tr>
|
469 |
+
<tr>
|
470 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
471 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
472 |
+
</tr>
|
473 |
<tr>
|
474 |
<td><?php echo _e('Path','woo-feed');?></td>
|
475 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/pricegrabber/add-feed.php
CHANGED
@@ -662,6 +662,10 @@
|
|
662 |
<td><?php echo _e('Password','woo-feed');?></td>
|
663 |
<td><input type="password" name="ftppassword"/></td>
|
664 |
</tr>
|
|
|
|
|
|
|
|
|
665 |
<tr>
|
666 |
<td><?php echo _e('Path','woo-feed');?></td>
|
667 |
<td><input type="text" name="ftppath"/></td>
|
662 |
<td><?php echo _e('Password','woo-feed');?></td>
|
663 |
<td><input type="password" name="ftppassword"/></td>
|
664 |
</tr>
|
665 |
+
<tr>
|
666 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
667 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
668 |
+
</tr>
|
669 |
<tr>
|
670 |
<td><?php echo _e('Path','woo-feed');?></td>
|
671 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/pricespy/add-feed.php
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
</select>
|
38 |
</td>
|
39 |
<td>
|
40 |
-
<select name="attributes[]" id=""
|
41 |
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
<?php echo $product->attributeDropdown('title'); ?>
|
43 |
</select>
|
@@ -86,7 +86,7 @@
|
|
86 |
</select>
|
87 |
</td>
|
88 |
<td>
|
89 |
-
<select name="attributes[]" id=""
|
90 |
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
<?php echo $product->attributeDropdown('id'); ?>
|
92 |
</select>
|
@@ -135,7 +135,7 @@
|
|
135 |
</select>
|
136 |
</td>
|
137 |
<td>
|
138 |
-
<select name="attributes[]" id=""
|
139 |
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
<?php echo $product->attributeDropdown('product_type'); ?>
|
141 |
</select>
|
@@ -184,7 +184,7 @@
|
|
184 |
</select>
|
185 |
</td>
|
186 |
<td>
|
187 |
-
<select name="attributes[]" id=""
|
188 |
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
<?php echo $product->attributeDropdown('price'); ?>
|
190 |
</select>
|
@@ -233,7 +233,7 @@
|
|
233 |
</select>
|
234 |
</td>
|
235 |
<td>
|
236 |
-
<select name="attributes[]" id=""
|
237 |
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
<?php echo $product->attributeDropdown('link'); ?>
|
239 |
</select>
|
@@ -331,7 +331,7 @@
|
|
331 |
</select>
|
332 |
</td>
|
333 |
<td>
|
334 |
-
<select name="attributes[]" id=""
|
335 |
class="wf_validate_attr wf_attr wf_attributes">
|
336 |
<?php echo $product->attributeDropdown("sku"); ?>
|
337 |
</select>
|
@@ -429,7 +429,7 @@
|
|
429 |
</select>
|
430 |
</td>
|
431 |
<td>
|
432 |
-
<select name="attributes[]" id=""
|
433 |
class="wf_validate_attr wf_attr wf_attributes">
|
434 |
<?php echo $product->attributeDropdown("image"); ?>
|
435 |
</select>
|
@@ -478,7 +478,7 @@
|
|
478 |
</select>
|
479 |
</td>
|
480 |
<td>
|
481 |
-
<select name="attributes[]" id=""
|
482 |
class="wf_validate_attr wf_attr wf_attributes">
|
483 |
<?php echo $product->attributeDropdown('condition'); ?>
|
484 |
</select>
|
@@ -568,6 +568,10 @@
|
|
568 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
569 |
<td><input type="password" name="ftppassword"/></td>
|
570 |
</tr>
|
|
|
|
|
|
|
|
|
571 |
<tr>
|
572 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
573 |
<td><input type="text" name="ftppath"/></td>
|
37 |
</select>
|
38 |
</td>
|
39 |
<td>
|
40 |
+
<select name="attributes[]" id=""
|
41 |
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
<?php echo $product->attributeDropdown('title'); ?>
|
43 |
</select>
|
86 |
</select>
|
87 |
</td>
|
88 |
<td>
|
89 |
+
<select name="attributes[]" id=""
|
90 |
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
<?php echo $product->attributeDropdown('id'); ?>
|
92 |
</select>
|
135 |
</select>
|
136 |
</td>
|
137 |
<td>
|
138 |
+
<select name="attributes[]" id=""
|
139 |
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
<?php echo $product->attributeDropdown('product_type'); ?>
|
141 |
</select>
|
184 |
</select>
|
185 |
</td>
|
186 |
<td>
|
187 |
+
<select name="attributes[]" id=""
|
188 |
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
<?php echo $product->attributeDropdown('price'); ?>
|
190 |
</select>
|
233 |
</select>
|
234 |
</td>
|
235 |
<td>
|
236 |
+
<select name="attributes[]" id=""
|
237 |
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
<?php echo $product->attributeDropdown('link'); ?>
|
239 |
</select>
|
331 |
</select>
|
332 |
</td>
|
333 |
<td>
|
334 |
+
<select name="attributes[]" id=""
|
335 |
class="wf_validate_attr wf_attr wf_attributes">
|
336 |
<?php echo $product->attributeDropdown("sku"); ?>
|
337 |
</select>
|
429 |
</select>
|
430 |
</td>
|
431 |
<td>
|
432 |
+
<select name="attributes[]" id=""
|
433 |
class="wf_validate_attr wf_attr wf_attributes">
|
434 |
<?php echo $product->attributeDropdown("image"); ?>
|
435 |
</select>
|
478 |
</select>
|
479 |
</td>
|
480 |
<td>
|
481 |
+
<select name="attributes[]" id=""
|
482 |
class="wf_validate_attr wf_attr wf_attributes">
|
483 |
<?php echo $product->attributeDropdown('condition'); ?>
|
484 |
</select>
|
568 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
569 |
<td><input type="password" name="ftppassword"/></td>
|
570 |
</tr>
|
571 |
+
<tr>
|
572 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
573 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
574 |
+
</tr>
|
575 |
<tr>
|
576 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
577 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/prisjakt/add-feed.php
CHANGED
@@ -37,7 +37,7 @@
|
|
37 |
</select>
|
38 |
</td>
|
39 |
<td>
|
40 |
-
<select name="attributes[]" id=""
|
41 |
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
<?php echo $product->attributeDropdown('title'); ?>
|
43 |
</select>
|
@@ -86,7 +86,7 @@
|
|
86 |
</select>
|
87 |
</td>
|
88 |
<td>
|
89 |
-
<select name="attributes[]" id=""
|
90 |
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
<?php echo $product->attributeDropdown('id'); ?>
|
92 |
</select>
|
@@ -135,7 +135,7 @@
|
|
135 |
</select>
|
136 |
</td>
|
137 |
<td>
|
138 |
-
<select name="attributes[]" id=""
|
139 |
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
<?php echo $product->attributeDropdown('product_type'); ?>
|
141 |
</select>
|
@@ -184,7 +184,7 @@
|
|
184 |
</select>
|
185 |
</td>
|
186 |
<td>
|
187 |
-
<select name="attributes[]" id=""
|
188 |
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
<?php echo $product->attributeDropdown('price'); ?>
|
190 |
</select>
|
@@ -233,7 +233,7 @@
|
|
233 |
</select>
|
234 |
</td>
|
235 |
<td>
|
236 |
-
<select name="attributes[]" id=""
|
237 |
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
<?php echo $product->attributeDropdown('link'); ?>
|
239 |
</select>
|
@@ -331,7 +331,7 @@
|
|
331 |
</select>
|
332 |
</td>
|
333 |
<td>
|
334 |
-
<select name="attributes[]" id=""
|
335 |
class="wf_validate_attr wf_attr wf_attributes">
|
336 |
<?php echo $product->attributeDropdown("sku"); ?>
|
337 |
</select>
|
@@ -429,7 +429,7 @@
|
|
429 |
</select>
|
430 |
</td>
|
431 |
<td>
|
432 |
-
<select name="attributes[]" id=""
|
433 |
class="wf_validate_attr wf_attr wf_attributes">
|
434 |
<?php echo $product->attributeDropdown("image"); ?>
|
435 |
</select>
|
@@ -478,7 +478,7 @@
|
|
478 |
</select>
|
479 |
</td>
|
480 |
<td>
|
481 |
-
<select name="attributes[]" id=""
|
482 |
class="wf_validate_attr wf_attr wf_attributes">
|
483 |
<?php echo $product->attributeDropdown('condition'); ?>
|
484 |
</select>
|
@@ -568,6 +568,10 @@
|
|
568 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
569 |
<td><input type="password" name="ftppassword"/></td>
|
570 |
</tr>
|
|
|
|
|
|
|
|
|
571 |
<tr>
|
572 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
573 |
<td><input type="text" name="ftppath"/></td>
|
37 |
</select>
|
38 |
</td>
|
39 |
<td>
|
40 |
+
<select name="attributes[]" id=""
|
41 |
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
<?php echo $product->attributeDropdown('title'); ?>
|
43 |
</select>
|
86 |
</select>
|
87 |
</td>
|
88 |
<td>
|
89 |
+
<select name="attributes[]" id=""
|
90 |
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
<?php echo $product->attributeDropdown('id'); ?>
|
92 |
</select>
|
135 |
</select>
|
136 |
</td>
|
137 |
<td>
|
138 |
+
<select name="attributes[]" id=""
|
139 |
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
<?php echo $product->attributeDropdown('product_type'); ?>
|
141 |
</select>
|
184 |
</select>
|
185 |
</td>
|
186 |
<td>
|
187 |
+
<select name="attributes[]" id=""
|
188 |
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
<?php echo $product->attributeDropdown('price'); ?>
|
190 |
</select>
|
233 |
</select>
|
234 |
</td>
|
235 |
<td>
|
236 |
+
<select name="attributes[]" id=""
|
237 |
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
<?php echo $product->attributeDropdown('link'); ?>
|
239 |
</select>
|
331 |
</select>
|
332 |
</td>
|
333 |
<td>
|
334 |
+
<select name="attributes[]" id=""
|
335 |
class="wf_validate_attr wf_attr wf_attributes">
|
336 |
<?php echo $product->attributeDropdown("sku"); ?>
|
337 |
</select>
|
429 |
</select>
|
430 |
</td>
|
431 |
<td>
|
432 |
+
<select name="attributes[]" id=""
|
433 |
class="wf_validate_attr wf_attr wf_attributes">
|
434 |
<?php echo $product->attributeDropdown("image"); ?>
|
435 |
</select>
|
478 |
</select>
|
479 |
</td>
|
480 |
<td>
|
481 |
+
<select name="attributes[]" id=""
|
482 |
class="wf_validate_attr wf_attr wf_attributes">
|
483 |
<?php echo $product->attributeDropdown('condition'); ?>
|
484 |
</select>
|
568 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
569 |
<td><input type="password" name="ftppassword"/></td>
|
570 |
</tr>
|
571 |
+
<tr>
|
572 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
573 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
574 |
+
</tr>
|
575 |
<tr>
|
576 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
577 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/shopbot/add-feed.php
CHANGED
@@ -861,6 +861,10 @@
|
|
861 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
862 |
<td><input type="password" name="ftppassword"/></td>
|
863 |
</tr>
|
|
|
|
|
|
|
|
|
864 |
<tr>
|
865 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
866 |
<td><input type="text" name="ftppath"/></td>
|
861 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
862 |
<td><input type="password" name="ftppassword"/></td>
|
863 |
</tr>
|
864 |
+
<tr>
|
865 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
866 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
867 |
+
</tr>
|
868 |
<tr>
|
869 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
870 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/shopmania/add-feed.php
CHANGED
@@ -711,6 +711,10 @@
|
|
711 |
<td><?php echo _e('Password','woo-feed');?></td>
|
712 |
<td><input type="password" name="ftppassword"/></td>
|
713 |
</tr>
|
|
|
|
|
|
|
|
|
714 |
<tr>
|
715 |
<td><?php echo _e('Path','woo-feed');?></td>
|
716 |
<td><input type="text" name="ftppath"/></td>
|
711 |
<td><?php echo _e('Password','woo-feed');?></td>
|
712 |
<td><input type="password" name="ftppassword"/></td>
|
713 |
</tr>
|
714 |
+
<tr>
|
715 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
716 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
717 |
+
</tr>
|
718 |
<tr>
|
719 |
<td><?php echo _e('Path','woo-feed');?></td>
|
720 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/shopping/add-feed.php
CHANGED
@@ -515,6 +515,10 @@
|
|
515 |
<td><?php echo _e('Password','woo-feed');?></td>
|
516 |
<td><input type="password" name="ftppassword"/></td>
|
517 |
</tr>
|
|
|
|
|
|
|
|
|
518 |
<tr>
|
519 |
<td><?php echo _e('Path','woo-feed');?></td>
|
520 |
<td><input type="text" name="ftppath"/></td>
|
515 |
<td><?php echo _e('Password','woo-feed');?></td>
|
516 |
<td><input type="password" name="ftppassword"/></td>
|
517 |
</tr>
|
518 |
+
<tr>
|
519 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
520 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
521 |
+
</tr>
|
522 |
<tr>
|
523 |
<td><?php echo _e('Path','woo-feed');?></td>
|
524 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/shopzilla/add-feed.php
CHANGED
@@ -517,6 +517,10 @@
|
|
517 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
<td><input type="password" name="ftppassword"/></td>
|
519 |
</tr>
|
|
|
|
|
|
|
|
|
520 |
<tr>
|
521 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
522 |
<td><input type="text" name="ftppath"/></td>
|
517 |
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
518 |
<td><input type="password" name="ftppassword"/></td>
|
519 |
</tr>
|
520 |
+
<tr>
|
521 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
522 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
523 |
+
</tr>
|
524 |
<tr>
|
525 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
526 |
<td><input type="text" name="ftppath"/></td>
|
admin/partials/twenga/add-feed.php
ADDED
@@ -0,0 +1,1182 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<ul class="wf_tabs">
|
2 |
+
<li>
|
3 |
+
<input type="radio" name="wf_tabs" id="tab1" checked/>
|
4 |
+
<label class="wf-tab-name" for="tab1"><?php echo _e('Feed Config', 'woo-feed'); ?></label>
|
5 |
+
|
6 |
+
<div id="wf-tab-content1" class="wf-tab-content">
|
7 |
+
<table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-1">
|
8 |
+
<thead>
|
9 |
+
<tr>
|
10 |
+
<th></th>
|
11 |
+
<th><?php echo ucfirst($provider); ?> <?php echo _e('Attributes', 'woo-feed'); ?></th>
|
12 |
+
<th><?php echo _e('Prefix', 'woo-feed'); ?></th>
|
13 |
+
<th><?php echo _e('Type', 'woo-feed'); ?></th>
|
14 |
+
<th><?php echo _e('Value', 'woo-feed'); ?></th>
|
15 |
+
<th><?php echo _e('Suffix', 'woo-feed'); ?></th>
|
16 |
+
<th><?php echo _e('Output Type', 'woo-feed'); ?></th>
|
17 |
+
<th><?php echo _e('Output Limit', 'woo-feed'); ?></th>
|
18 |
+
<th></th>
|
19 |
+
</tr>
|
20 |
+
</thead>
|
21 |
+
<tbody>
|
22 |
+
<tr>
|
23 |
+
<td>
|
24 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
25 |
+
</td>
|
26 |
+
<td>
|
27 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
28 |
+
class="wf_validate_attr wf_mattributes" value="merchant_ref"/>
|
29 |
+
</td>
|
30 |
+
<td>
|
31 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
32 |
+
</td>
|
33 |
+
<td>
|
34 |
+
<select name="type[]" class="attr_type wfnoempty">
|
35 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
36 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
37 |
+
</select>
|
38 |
+
</td>
|
39 |
+
<td>
|
40 |
+
<select name="attributes[]" id=""
|
41 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
+
<?php echo $product->attributeDropdown('sku'); ?>
|
43 |
+
</select>
|
44 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
45 |
+
style=" display: none;"/>
|
46 |
+
</td>
|
47 |
+
<td>
|
48 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
49 |
+
</td>
|
50 |
+
<td>
|
51 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
52 |
+
<option value="1">Default</option>
|
53 |
+
<option value="2">Strip Tags</option>
|
54 |
+
<option value="3">UTF-8 Encode</option>
|
55 |
+
<option value="4">htmlentities</option>
|
56 |
+
<option value="5">Integer</option>
|
57 |
+
<option value="6">Price</option>
|
58 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
59 |
+
<option value="8">CDATA</option>
|
60 |
+
</select>
|
61 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
62 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
63 |
+
</td>
|
64 |
+
<td>
|
65 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
66 |
+
</td>
|
67 |
+
<td>
|
68 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
69 |
+
</td>
|
70 |
+
</tr>
|
71 |
+
<tr>
|
72 |
+
<td>
|
73 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
74 |
+
</td>
|
75 |
+
<td>
|
76 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
77 |
+
class="wf_validate_attr wf_mattributes" value="merchant_id"/>
|
78 |
+
</td>
|
79 |
+
<td>
|
80 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
81 |
+
</td>
|
82 |
+
<td>
|
83 |
+
<select name="type[]" class="attr_type wfnoempty">
|
84 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
85 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
86 |
+
</select>
|
87 |
+
</td>
|
88 |
+
<td>
|
89 |
+
<select name="attributes[]" id=""
|
90 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
91 |
+
<?php echo $product->attributeDropdown('id'); ?>
|
92 |
+
</select>
|
93 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
94 |
+
style=" display: none;"/>
|
95 |
+
</td>
|
96 |
+
<td>
|
97 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
98 |
+
</td>
|
99 |
+
<td>
|
100 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
101 |
+
<option value="1">Default</option>
|
102 |
+
<option value="2">Strip Tags</option>
|
103 |
+
<option value="3">UTF-8 Encode</option>
|
104 |
+
<option value="4">htmlentities</option>
|
105 |
+
<option value="5">Integer</option>
|
106 |
+
<option value="6">Price</option>
|
107 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
108 |
+
<option value="8">CDATA</option>
|
109 |
+
</select>
|
110 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
111 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
112 |
+
</td>
|
113 |
+
<td>
|
114 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
115 |
+
</td>
|
116 |
+
<td>
|
117 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
118 |
+
</td>
|
119 |
+
</tr>
|
120 |
+
<tr>
|
121 |
+
<td>
|
122 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
123 |
+
</td>
|
124 |
+
<td>
|
125 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
126 |
+
class="wf_validate_attr wf_mattributes" value="upc_ean"/>
|
127 |
+
</td>
|
128 |
+
<td>
|
129 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
130 |
+
</td>
|
131 |
+
<td>
|
132 |
+
<select name="type[]" class="attr_type wfnoempty">
|
133 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
134 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
135 |
+
</select>
|
136 |
+
</td>
|
137 |
+
<td>
|
138 |
+
<select name="attributes[]" id="" style=" display: none;"
|
139 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
140 |
+
<?php echo $product->attributeDropdown(''); ?>
|
141 |
+
</select>
|
142 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
143 |
+
/>
|
144 |
+
</td>
|
145 |
+
<td>
|
146 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
147 |
+
</td>
|
148 |
+
<td>
|
149 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
150 |
+
<option value="1">Default</option>
|
151 |
+
<option value="2">Strip Tags</option>
|
152 |
+
<option value="3">UTF-8 Encode</option>
|
153 |
+
<option value="4">htmlentities</option>
|
154 |
+
<option value="5">Integer</option>
|
155 |
+
<option value="6">Price</option>
|
156 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
157 |
+
<option value="8">CDATA</option>
|
158 |
+
</select>
|
159 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
160 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
161 |
+
</td>
|
162 |
+
<td>
|
163 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
164 |
+
</td>
|
165 |
+
<td>
|
166 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
167 |
+
</td>
|
168 |
+
</tr>
|
169 |
+
<tr>
|
170 |
+
<td>
|
171 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
172 |
+
</td>
|
173 |
+
<td>
|
174 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
175 |
+
class="wf_validate_attr wf_mattributes" value="manufacturer_id"/>
|
176 |
+
</td>
|
177 |
+
<td>
|
178 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
179 |
+
</td>
|
180 |
+
<td>
|
181 |
+
<select name="type[]" class="attr_type wfnoempty">
|
182 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
183 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
184 |
+
</select>
|
185 |
+
</td>
|
186 |
+
<td>
|
187 |
+
<select name="attributes[]" id=""
|
188 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
189 |
+
<?php echo $product->attributeDropdown('sku'); ?>
|
190 |
+
</select>
|
191 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
192 |
+
style=" display: none;"/>
|
193 |
+
</td>
|
194 |
+
<td>
|
195 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
196 |
+
</td>
|
197 |
+
<td>
|
198 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
199 |
+
<option value="1">Default</option>
|
200 |
+
<option value="2">Strip Tags</option>
|
201 |
+
<option value="3">UTF-8 Encode</option>
|
202 |
+
<option value="4">htmlentities</option>
|
203 |
+
<option value="5">Integer</option>
|
204 |
+
<option value="6">Price</option>
|
205 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
206 |
+
<option value="8">CDATA</option>
|
207 |
+
</select>
|
208 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
209 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
210 |
+
</td>
|
211 |
+
<td>
|
212 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
213 |
+
</td>
|
214 |
+
<td>
|
215 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
216 |
+
</td>
|
217 |
+
</tr>
|
218 |
+
<tr>
|
219 |
+
<td>
|
220 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
221 |
+
</td>
|
222 |
+
<td>
|
223 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
224 |
+
class="wf_validate_attr wf_mattributes" value="product_url"/>
|
225 |
+
</td>
|
226 |
+
<td>
|
227 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
228 |
+
</td>
|
229 |
+
<td>
|
230 |
+
<select name="type[]" class="attr_type wfnoempty">
|
231 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
232 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
233 |
+
</select>
|
234 |
+
</td>
|
235 |
+
<td>
|
236 |
+
<select name="attributes[]" id=""
|
237 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
238 |
+
<?php echo $product->attributeDropdown('link'); ?>
|
239 |
+
</select>
|
240 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
241 |
+
style=" display: none;"/>
|
242 |
+
</td>
|
243 |
+
<td>
|
244 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
245 |
+
</td>
|
246 |
+
<td>
|
247 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
248 |
+
<option value="1">Default</option>
|
249 |
+
<option value="2">Strip Tags</option>
|
250 |
+
<option value="3">UTF-8 Encode</option>
|
251 |
+
<option value="4">htmlentities</option>
|
252 |
+
<option value="5">Integer</option>
|
253 |
+
<option value="6">Price</option>
|
254 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
255 |
+
<option value="8">CDATA</option>
|
256 |
+
</select>
|
257 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
258 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
259 |
+
</td>
|
260 |
+
<td>
|
261 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
262 |
+
</td>
|
263 |
+
<td>
|
264 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
265 |
+
</td>
|
266 |
+
</tr>
|
267 |
+
<tr>
|
268 |
+
<td>
|
269 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
270 |
+
</td>
|
271 |
+
<td>
|
272 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
273 |
+
class="wf_validate_attr wf_mattributes" value="image_url"/>
|
274 |
+
</td>
|
275 |
+
<td>
|
276 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
277 |
+
</td>
|
278 |
+
<td>
|
279 |
+
<select name="type[]" class="attr_type wfnoempty">
|
280 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
281 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
282 |
+
</select>
|
283 |
+
</td>
|
284 |
+
<td>
|
285 |
+
<select name="attributes[]" id="" style=" display: none;"
|
286 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
287 |
+
<?php echo $product->attributeDropdown('image'); ?>
|
288 |
+
</select>
|
289 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
290 |
+
/>
|
291 |
+
</td>
|
292 |
+
<td>
|
293 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
294 |
+
</td>
|
295 |
+
<td>
|
296 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
297 |
+
<option value="1">Default</option>
|
298 |
+
<option value="2">Strip Tags</option>
|
299 |
+
<option value="3">UTF-8 Encode</option>
|
300 |
+
<option value="4">htmlentities</option>
|
301 |
+
<option value="5">Integer</option>
|
302 |
+
<option value="6">Price</option>
|
303 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
304 |
+
<option value="8">CDATA</option>
|
305 |
+
</select>
|
306 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
307 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
308 |
+
</td>
|
309 |
+
<td>
|
310 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
311 |
+
</td>
|
312 |
+
<td>
|
313 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
314 |
+
</td>
|
315 |
+
</tr>
|
316 |
+
<tr>
|
317 |
+
<td>
|
318 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
319 |
+
</td>
|
320 |
+
<td>
|
321 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
322 |
+
class="wf_validate_attr wf_mattributes" value="price"/>
|
323 |
+
</td>
|
324 |
+
<td>
|
325 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
326 |
+
</td>
|
327 |
+
<td>
|
328 |
+
<select name="type[]" class="attr_type wfnoempty">
|
329 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
330 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
331 |
+
</select>
|
332 |
+
</td>
|
333 |
+
<td>
|
334 |
+
<select name="attributes[]" id=""
|
335 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
336 |
+
<?php echo $product->attributeDropdown("sale_price"); ?>
|
337 |
+
</select>
|
338 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
339 |
+
style=" display: none;"/>
|
340 |
+
</td>
|
341 |
+
<td>
|
342 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
343 |
+
</td>
|
344 |
+
<td>
|
345 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
346 |
+
<option value="1">Default</option>
|
347 |
+
<option value="2">Strip Tags</option>
|
348 |
+
<option value="3">UTF-8 Encode</option>
|
349 |
+
<option value="4">htmlentities</option>
|
350 |
+
<option value="5">Integer</option>
|
351 |
+
<option value="6">Price</option>
|
352 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
353 |
+
<option value="8">CDATA</option>
|
354 |
+
</select>
|
355 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
356 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
357 |
+
</td>
|
358 |
+
<td>
|
359 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
360 |
+
</td>
|
361 |
+
<td>
|
362 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
363 |
+
</td>
|
364 |
+
</tr>
|
365 |
+
<tr>
|
366 |
+
<td>
|
367 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
368 |
+
</td>
|
369 |
+
<td>
|
370 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
371 |
+
class="wf_validate_attr wf_mattributes" value="regular_price"/>
|
372 |
+
</td>
|
373 |
+
<td>
|
374 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
375 |
+
</td>
|
376 |
+
<td>
|
377 |
+
<select name="type[]" class="attr_type wfnoempty">
|
378 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
379 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
380 |
+
</select>
|
381 |
+
</td>
|
382 |
+
<td>
|
383 |
+
<select name="attributes[]" id="" style=" display: none;"
|
384 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
385 |
+
<?php echo $product->attributeDropdown("price"); ?>
|
386 |
+
</select>
|
387 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
388 |
+
/>
|
389 |
+
</td>
|
390 |
+
<td>
|
391 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
392 |
+
</td>
|
393 |
+
<td>
|
394 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
395 |
+
<option value="1">Default</option>
|
396 |
+
<option value="2">Strip Tags</option>
|
397 |
+
<option value="3">UTF-8 Encode</option>
|
398 |
+
<option value="4">htmlentities</option>
|
399 |
+
<option value="5">Integer</option>
|
400 |
+
<option value="6">Price</option>
|
401 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
402 |
+
<option value="8">CDATA</option>
|
403 |
+
</select>
|
404 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
405 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
406 |
+
</td>
|
407 |
+
<td>
|
408 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
409 |
+
</td>
|
410 |
+
<td>
|
411 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
412 |
+
</td>
|
413 |
+
</tr>
|
414 |
+
<tr>
|
415 |
+
<td>
|
416 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
417 |
+
</td>
|
418 |
+
<td>
|
419 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
420 |
+
class="wf_validate_attr wf_mattributes" value="shipping_cost"/>
|
421 |
+
</td>
|
422 |
+
<td>
|
423 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
424 |
+
</td>
|
425 |
+
<td>
|
426 |
+
<select name="type[]" class="attr_type wfnoempty">
|
427 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
428 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
429 |
+
</select>
|
430 |
+
</td>
|
431 |
+
<td>
|
432 |
+
<select name="attributes[]" id="" style="display: none;"
|
433 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
434 |
+
<?php echo $product->attributeDropdown(""); ?>
|
435 |
+
</select>
|
436 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" />
|
437 |
+
</td>
|
438 |
+
<td>
|
439 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
440 |
+
</td>
|
441 |
+
<td>
|
442 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
443 |
+
<option value="1">Default</option>
|
444 |
+
<option value="2">Strip Tags</option>
|
445 |
+
<option value="3">UTF-8 Encode</option>
|
446 |
+
<option value="4">htmlentities</option>
|
447 |
+
<option value="5">Integer</option>
|
448 |
+
<option value="6">Price</option>
|
449 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
450 |
+
<option value="8">CDATA</option>
|
451 |
+
</select>
|
452 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
453 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
454 |
+
</td>
|
455 |
+
<td>
|
456 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
457 |
+
</td>
|
458 |
+
<td>
|
459 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
460 |
+
</td>
|
461 |
+
</tr>
|
462 |
+
<tr>
|
463 |
+
<td>
|
464 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
465 |
+
</td>
|
466 |
+
<td>
|
467 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
468 |
+
class="wf_validate_attr wf_mattributes" value="designation"/>
|
469 |
+
</td>
|
470 |
+
<td>
|
471 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
472 |
+
</td>
|
473 |
+
<td>
|
474 |
+
<select name="type[]" class="attr_type wfnoempty">
|
475 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
476 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
477 |
+
</select>
|
478 |
+
</td>
|
479 |
+
<td>
|
480 |
+
<select name="attributes[]" id="" style=" display: none;"
|
481 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
482 |
+
<?php echo $product->attributeDropdown(''); ?>
|
483 |
+
</select>
|
484 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
485 |
+
/>
|
486 |
+
</td>
|
487 |
+
<td>
|
488 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
489 |
+
</td>
|
490 |
+
<td>
|
491 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
492 |
+
<option value="1">Default</option>
|
493 |
+
<option value="2">Strip Tags</option>
|
494 |
+
<option value="3">UTF-8 Encode</option>
|
495 |
+
<option value="4">htmlentities</option>
|
496 |
+
<option value="5">Integer</option>
|
497 |
+
<option value="6">Price</option>
|
498 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
499 |
+
<option value="8">CDATA</option>
|
500 |
+
</select>
|
501 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
502 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
503 |
+
</td>
|
504 |
+
<td>
|
505 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
506 |
+
</td>
|
507 |
+
<td>
|
508 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
509 |
+
</td>
|
510 |
+
</tr>
|
511 |
+
<tr>
|
512 |
+
<td>
|
513 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
514 |
+
</td>
|
515 |
+
<td>
|
516 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
517 |
+
class="wf_validate_attr wf_mattributes" value="description"/>
|
518 |
+
</td>
|
519 |
+
<td>
|
520 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
521 |
+
</td>
|
522 |
+
<td>
|
523 |
+
<select name="type[]" class="attr_type wfnoempty">
|
524 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
525 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
526 |
+
</select>
|
527 |
+
</td>
|
528 |
+
<td>
|
529 |
+
<select name="attributes[]" id=""
|
530 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
531 |
+
<?php echo $product->attributeDropdown('description'); ?>
|
532 |
+
</select>
|
533 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
534 |
+
style=" display: none;"/>
|
535 |
+
</td>
|
536 |
+
<td>
|
537 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
538 |
+
</td>
|
539 |
+
<td>
|
540 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
541 |
+
<option value="1">Default</option>
|
542 |
+
<option value="2">Strip Tags</option>
|
543 |
+
<option value="3">UTF-8 Encode</option>
|
544 |
+
<option value="4">htmlentities</option>
|
545 |
+
<option value="5">Integer</option>
|
546 |
+
<option value="6">Price</option>
|
547 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
548 |
+
<option value="8">CDATA</option>
|
549 |
+
</select>
|
550 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
551 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
552 |
+
</td>
|
553 |
+
<td>
|
554 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
555 |
+
</td>
|
556 |
+
<td>
|
557 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
558 |
+
</td>
|
559 |
+
</tr>
|
560 |
+
<tr>
|
561 |
+
<td>
|
562 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
563 |
+
</td>
|
564 |
+
<td>
|
565 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
566 |
+
class="wf_validate_attr wf_mattributes" value="category"/>
|
567 |
+
</td>
|
568 |
+
<td>
|
569 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
570 |
+
</td>
|
571 |
+
<td>
|
572 |
+
<select name="type[]" class="attr_type wfnoempty">
|
573 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
574 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
575 |
+
</select>
|
576 |
+
</td>
|
577 |
+
<td>
|
578 |
+
<select name="attributes[]" id=""
|
579 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
580 |
+
<?php echo $product->attributeDropdown('product_type'); ?>
|
581 |
+
</select>
|
582 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
583 |
+
style=" display: none;"/>
|
584 |
+
</td>
|
585 |
+
<td>
|
586 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
587 |
+
</td>
|
588 |
+
<td>
|
589 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
590 |
+
<option value="1">Default</option>
|
591 |
+
<option value="2">Strip Tags</option>
|
592 |
+
<option value="3">UTF-8 Encode</option>
|
593 |
+
<option value="4">htmlentities</option>
|
594 |
+
<option value="5">Integer</option>
|
595 |
+
<option value="6">Price</option>
|
596 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
597 |
+
<option value="8">CDATA</option>
|
598 |
+
</select>
|
599 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
600 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
601 |
+
</td>
|
602 |
+
<td>
|
603 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
604 |
+
</td>
|
605 |
+
<td>
|
606 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
607 |
+
</td>
|
608 |
+
</tr>
|
609 |
+
<tr>
|
610 |
+
<td>
|
611 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
612 |
+
</td>
|
613 |
+
<td>
|
614 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
615 |
+
class="wf_validate_attr wf_mattributes" value="brand"/>
|
616 |
+
</td>
|
617 |
+
<td>
|
618 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
619 |
+
</td>
|
620 |
+
<td>
|
621 |
+
<select name="type[]" class="attr_type wfnoempty">
|
622 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
623 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
624 |
+
</select>
|
625 |
+
</td>
|
626 |
+
<td>
|
627 |
+
<select name="attributes[]" id="" style=" display: none;"
|
628 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
629 |
+
<?php echo $product->attributeDropdown(''); ?>
|
630 |
+
</select>
|
631 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
632 |
+
/>
|
633 |
+
</td>
|
634 |
+
<td>
|
635 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
636 |
+
</td>
|
637 |
+
<td>
|
638 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
639 |
+
<option value="1">Default</option>
|
640 |
+
<option value="2">Strip Tags</option>
|
641 |
+
<option value="3">UTF-8 Encode</option>
|
642 |
+
<option value="4">htmlentities</option>
|
643 |
+
<option value="5">Integer</option>
|
644 |
+
<option value="6">Price</option>
|
645 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
646 |
+
<option value="8">CDATA</option>
|
647 |
+
</select>
|
648 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
649 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
650 |
+
</td>
|
651 |
+
<td>
|
652 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
653 |
+
</td>
|
654 |
+
<td>
|
655 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
656 |
+
</td>
|
657 |
+
</tr>
|
658 |
+
<tr>
|
659 |
+
<td>
|
660 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
661 |
+
</td>
|
662 |
+
<td>
|
663 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
664 |
+
class="wf_validate_attr wf_mattributes" value="in_stock"/>
|
665 |
+
</td>
|
666 |
+
<td>
|
667 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
668 |
+
</td>
|
669 |
+
<td>
|
670 |
+
<select name="type[]" class="attr_type wfnoempty">
|
671 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
672 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
673 |
+
</select>
|
674 |
+
</td>
|
675 |
+
<td>
|
676 |
+
<select name="attributes[]" id=""
|
677 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
678 |
+
<?php echo $product->attributeDropdown('availability'); ?>
|
679 |
+
</select>
|
680 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
681 |
+
style=" display: none;"/>
|
682 |
+
</td>
|
683 |
+
<td>
|
684 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
685 |
+
</td>
|
686 |
+
<td>
|
687 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
688 |
+
<option value="1">Default</option>
|
689 |
+
<option value="2">Strip Tags</option>
|
690 |
+
<option value="3">UTF-8 Encode</option>
|
691 |
+
<option value="4">htmlentities</option>
|
692 |
+
<option value="5">Integer</option>
|
693 |
+
<option value="6">Price</option>
|
694 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
695 |
+
<option value="8">CDATA</option>
|
696 |
+
</select>
|
697 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
698 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
699 |
+
</td>
|
700 |
+
<td>
|
701 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
702 |
+
</td>
|
703 |
+
<td>
|
704 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
705 |
+
</td>
|
706 |
+
</tr>
|
707 |
+
<tr>
|
708 |
+
<td>
|
709 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
710 |
+
</td>
|
711 |
+
<td>
|
712 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
713 |
+
class="wf_validate_attr wf_mattributes" value="availability"/>
|
714 |
+
</td>
|
715 |
+
<td>
|
716 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
717 |
+
</td>
|
718 |
+
<td>
|
719 |
+
<select name="type[]" class="attr_type wfnoempty">
|
720 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
721 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
722 |
+
</select>
|
723 |
+
</td>
|
724 |
+
<td>
|
725 |
+
<select name="attributes[]" id=""
|
726 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
727 |
+
<?php echo $product->attributeDropdown('quantity'); ?>
|
728 |
+
</select>
|
729 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
730 |
+
style=" display: none;"/>
|
731 |
+
</td>
|
732 |
+
<td>
|
733 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
734 |
+
</td>
|
735 |
+
<td>
|
736 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
737 |
+
<option value="1">Default</option>
|
738 |
+
<option value="2">Strip Tags</option>
|
739 |
+
<option value="3">UTF-8 Encode</option>
|
740 |
+
<option value="4">htmlentities</option>
|
741 |
+
<option value="5">Integer</option>
|
742 |
+
<option value="6">Price</option>
|
743 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
744 |
+
<option value="8">CDATA</option>
|
745 |
+
</select>
|
746 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
747 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
748 |
+
</td>
|
749 |
+
<td>
|
750 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
751 |
+
</td>
|
752 |
+
<td>
|
753 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
754 |
+
</td>
|
755 |
+
</tr>
|
756 |
+
<tr>
|
757 |
+
<td>
|
758 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
759 |
+
</td>
|
760 |
+
<td>
|
761 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
762 |
+
class="wf_validate_attr wf_mattributes" value="stock_detail"/>
|
763 |
+
</td>
|
764 |
+
<td>
|
765 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
766 |
+
</td>
|
767 |
+
<td>
|
768 |
+
<select name="type[]" class="attr_type wfnoempty">
|
769 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
770 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
771 |
+
</select>
|
772 |
+
</td>
|
773 |
+
<td>
|
774 |
+
<select name="attributes[]" id="" style=" display: none;"
|
775 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
776 |
+
<?php echo $product->attributeDropdown(''); ?>
|
777 |
+
</select>
|
778 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
779 |
+
/>
|
780 |
+
</td>
|
781 |
+
<td>
|
782 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
783 |
+
</td>
|
784 |
+
<td>
|
785 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
786 |
+
<option value="1">Default</option>
|
787 |
+
<option value="2">Strip Tags</option>
|
788 |
+
<option value="3">UTF-8 Encode</option>
|
789 |
+
<option value="4">htmlentities</option>
|
790 |
+
<option value="5">Integer</option>
|
791 |
+
<option value="6">Price</option>
|
792 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
793 |
+
<option value="8">CDATA</option>
|
794 |
+
</select>
|
795 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
796 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
797 |
+
</td>
|
798 |
+
<td>
|
799 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
800 |
+
</td>
|
801 |
+
<td>
|
802 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
803 |
+
</td>
|
804 |
+
</tr>
|
805 |
+
<tr>
|
806 |
+
<td>
|
807 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
808 |
+
</td>
|
809 |
+
<td>
|
810 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
811 |
+
class="wf_validate_attr wf_mattributes" value="unit_price"/>
|
812 |
+
</td>
|
813 |
+
<td>
|
814 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
815 |
+
</td>
|
816 |
+
<td>
|
817 |
+
<select name="type[]" class="attr_type wfnoempty">
|
818 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
819 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
820 |
+
</select>
|
821 |
+
</td>
|
822 |
+
<td>
|
823 |
+
<select name="attributes[]" id="" style="display: none;"
|
824 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
825 |
+
<?php echo $product->attributeDropdown(''); ?>
|
826 |
+
</select>
|
827 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
828 |
+
/>
|
829 |
+
</td>
|
830 |
+
<td>
|
831 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
832 |
+
</td>
|
833 |
+
<td>
|
834 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
835 |
+
<option value="1">Default</option>
|
836 |
+
<option value="2">Strip Tags</option>
|
837 |
+
<option value="3">UTF-8 Encode</option>
|
838 |
+
<option value="4">htmlentities</option>
|
839 |
+
<option value="5">Integer</option>
|
840 |
+
<option value="6">Price</option>
|
841 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
842 |
+
<option value="8">CDATA</option>
|
843 |
+
</select>
|
844 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
845 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
846 |
+
</td>
|
847 |
+
<td>
|
848 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
849 |
+
</td>
|
850 |
+
<td>
|
851 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
852 |
+
</td>
|
853 |
+
</tr>
|
854 |
+
<tr>
|
855 |
+
<td>
|
856 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
857 |
+
</td>
|
858 |
+
<td>
|
859 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
860 |
+
class="wf_validate_attr wf_mattributes" value="merchant_margin"/>
|
861 |
+
</td>
|
862 |
+
<td>
|
863 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
864 |
+
</td>
|
865 |
+
<td>
|
866 |
+
<select name="type[]" class="attr_type wfnoempty">
|
867 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
868 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
869 |
+
</select>
|
870 |
+
</td>
|
871 |
+
<td>
|
872 |
+
<select name="attributes[]" id="" style="display: none;"
|
873 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
874 |
+
<?php echo $product->attributeDropdown(''); ?>
|
875 |
+
</select>
|
876 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
877 |
+
/>
|
878 |
+
</td>
|
879 |
+
<td>
|
880 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
881 |
+
</td>
|
882 |
+
<td>
|
883 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
884 |
+
<option value="1">Default</option>
|
885 |
+
<option value="2">Strip Tags</option>
|
886 |
+
<option value="3">UTF-8 Encode</option>
|
887 |
+
<option value="4">htmlentities</option>
|
888 |
+
<option value="5">Integer</option>
|
889 |
+
<option value="6">Price</option>
|
890 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
891 |
+
<option value="8">CDATA</option>
|
892 |
+
</select>
|
893 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
894 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
895 |
+
</td>
|
896 |
+
<td>
|
897 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
898 |
+
</td>
|
899 |
+
<td>
|
900 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
901 |
+
</td>
|
902 |
+
</tr>
|
903 |
+
<tr>
|
904 |
+
<td>
|
905 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
906 |
+
</td>
|
907 |
+
<td>
|
908 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
909 |
+
class="wf_validate_attr wf_mattributes" value="ecotax"/>
|
910 |
+
</td>
|
911 |
+
<td>
|
912 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
913 |
+
</td>
|
914 |
+
<td>
|
915 |
+
<select name="type[]" class="attr_type wfnoempty">
|
916 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
917 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
918 |
+
</select>
|
919 |
+
</td>
|
920 |
+
<td>
|
921 |
+
<select name="attributes[]" id="" style=" display: none;"
|
922 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
923 |
+
<?php echo $product->attributeDropdown(''); ?>
|
924 |
+
</select>
|
925 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
926 |
+
/>
|
927 |
+
</td>
|
928 |
+
<td>
|
929 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
930 |
+
</td>
|
931 |
+
<td>
|
932 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
933 |
+
<option value="1">Default</option>
|
934 |
+
<option value="2">Strip Tags</option>
|
935 |
+
<option value="3">UTF-8 Encode</option>
|
936 |
+
<option value="4">htmlentities</option>
|
937 |
+
<option value="5">Integer</option>
|
938 |
+
<option value="6">Price</option>
|
939 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
940 |
+
<option value="8">CDATA</option>
|
941 |
+
</select>
|
942 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
943 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
944 |
+
</td>
|
945 |
+
<td>
|
946 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
947 |
+
</td>
|
948 |
+
<td>
|
949 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
950 |
+
</td>
|
951 |
+
</tr>
|
952 |
+
<tr>
|
953 |
+
<td>
|
954 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
955 |
+
</td>
|
956 |
+
<td>
|
957 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
958 |
+
class="wf_validate_attr wf_mattributes" value="item_display"/>
|
959 |
+
</td>
|
960 |
+
<td>
|
961 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
962 |
+
</td>
|
963 |
+
<td>
|
964 |
+
<select name="type[]" class="attr_type wfnoempty">
|
965 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
966 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
967 |
+
</select>
|
968 |
+
</td>
|
969 |
+
<td>
|
970 |
+
<select name="attributes[]" id="" style=" display: none;"
|
971 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
972 |
+
<?php echo $product->attributeDropdown(''); ?>
|
973 |
+
</select>
|
974 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
975 |
+
/>
|
976 |
+
</td>
|
977 |
+
<td>
|
978 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
979 |
+
</td>
|
980 |
+
<td>
|
981 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
982 |
+
<option value="1">Default</option>
|
983 |
+
<option value="2">Strip Tags</option>
|
984 |
+
<option value="3">UTF-8 Encode</option>
|
985 |
+
<option value="4">htmlentities</option>
|
986 |
+
<option value="5">Integer</option>
|
987 |
+
<option value="6">Price</option>
|
988 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
989 |
+
<option value="8">CDATA</option>
|
990 |
+
</select>
|
991 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
992 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
993 |
+
</td>
|
994 |
+
<td>
|
995 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
996 |
+
</td>
|
997 |
+
<td>
|
998 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
999 |
+
</td>
|
1000 |
+
</tr>
|
1001 |
+
<tr>
|
1002 |
+
<td>
|
1003 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
1004 |
+
</td>
|
1005 |
+
<td>
|
1006 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
1007 |
+
class="wf_validate_attr wf_mattributes" value="condition"/>
|
1008 |
+
</td>
|
1009 |
+
<td>
|
1010 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
1011 |
+
</td>
|
1012 |
+
<td>
|
1013 |
+
<select name="type[]" class="attr_type wfnoempty">
|
1014 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
1015 |
+
<option value="pattern" selected> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
1016 |
+
</select>
|
1017 |
+
</td>
|
1018 |
+
<td>
|
1019 |
+
<select name="attributes[]" id="" style="display: none;"
|
1020 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
1021 |
+
<?php echo $product->attributeDropdown(''); ?>
|
1022 |
+
</select>
|
1023 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
1024 |
+
/>
|
1025 |
+
</td>
|
1026 |
+
<td>
|
1027 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
1028 |
+
</td>
|
1029 |
+
<td>
|
1030 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
1031 |
+
<option value="1">Default</option>
|
1032 |
+
<option value="2">Strip Tags</option>
|
1033 |
+
<option value="3">UTF-8 Encode</option>
|
1034 |
+
<option value="4">htmlentities</option>
|
1035 |
+
<option value="5">Integer</option>
|
1036 |
+
<option value="6">Price</option>
|
1037 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
1038 |
+
<option value="8">CDATA</option>
|
1039 |
+
</select>
|
1040 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
1041 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
1042 |
+
</td>
|
1043 |
+
<td>
|
1044 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
1045 |
+
</td>
|
1046 |
+
<td>
|
1047 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
1048 |
+
</td>
|
1049 |
+
</tr>
|
1050 |
+
<tr>
|
1051 |
+
<td>
|
1052 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
1053 |
+
</td>
|
1054 |
+
<td>
|
1055 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
1056 |
+
class="wf_validate_attr wf_mattributes" value="merchant_ref"/>
|
1057 |
+
</td>
|
1058 |
+
<td>
|
1059 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
1060 |
+
</td>
|
1061 |
+
<td>
|
1062 |
+
<select name="type[]" class="attr_type wfnoempty">
|
1063 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
1064 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
1065 |
+
</select>
|
1066 |
+
</td>
|
1067 |
+
<td>
|
1068 |
+
<select name="attributes[]" id=""
|
1069 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
1070 |
+
<?php echo $product->attributeDropdown('sku'); ?>
|
1071 |
+
</select>
|
1072 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
1073 |
+
style=" display: none;"/>
|
1074 |
+
</td>
|
1075 |
+
<td>
|
1076 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
1077 |
+
</td>
|
1078 |
+
<td>
|
1079 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
1080 |
+
<option value="1">Default</option>
|
1081 |
+
<option value="2">Strip Tags</option>
|
1082 |
+
<option value="3">UTF-8 Encode</option>
|
1083 |
+
<option value="4">htmlentities</option>
|
1084 |
+
<option value="5">Integer</option>
|
1085 |
+
<option value="6">Price</option>
|
1086 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
1087 |
+
<option value="8">CDATA</option>
|
1088 |
+
</select>
|
1089 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
1090 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
1091 |
+
</td>
|
1092 |
+
<td>
|
1093 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
1094 |
+
</td>
|
1095 |
+
<td>
|
1096 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
1097 |
+
</td>
|
1098 |
+
</tr>
|
1099 |
+
</tbody>
|
1100 |
+
<tfoot>
|
1101 |
+
<tr>
|
1102 |
+
<td>
|
1103 |
+
<button type="button" class="button-small button-primary" id="wf_newRow">
|
1104 |
+
<?php echo _e('Add New Row', 'woo-feed'); ?>
|
1105 |
+
</button>
|
1106 |
+
</td>
|
1107 |
+
<td colspan="8">
|
1108 |
+
|
1109 |
+
</td>
|
1110 |
+
</tr>
|
1111 |
+
</tfoot>
|
1112 |
+
</table>
|
1113 |
+
<table class=" widefat fixed">
|
1114 |
+
<tr>
|
1115 |
+
<td align="left" class="">
|
1116 |
+
<div class="makeFeedResponse"></div>
|
1117 |
+
<div class="makeFeedComplete"></div>
|
1118 |
+
</td>
|
1119 |
+
<td align="right">
|
1120 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
1121 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
1122 |
+
</button>
|
1123 |
+
</td>
|
1124 |
+
</tr>
|
1125 |
+
</table>
|
1126 |
+
</div>
|
1127 |
+
</li>
|
1128 |
+
|
1129 |
+
<li>
|
1130 |
+
<input type="radio" name="wf_tabs" id="tab3"/>
|
1131 |
+
<label class="wf-tab-name" for="tab3"><?php echo _e('FTP', 'woo-feed'); ?></label>
|
1132 |
+
|
1133 |
+
<div id="wf-tab-content3" class="wf-tab-content">
|
1134 |
+
<table class="table widefat fixed mtable" width="100%">
|
1135 |
+
<tbody>
|
1136 |
+
<tr>
|
1137 |
+
<td><?php echo _e('Enabled', 'woo-feed'); ?></td>
|
1138 |
+
<td>
|
1139 |
+
<select name="ftpenabled" id="">
|
1140 |
+
<option value="0"><?php echo _e('Disabled', 'woo-feed'); ?></option>
|
1141 |
+
<option value="1"><?php echo _e('Enabled', 'woo-feed'); ?></option>
|
1142 |
+
</select>
|
1143 |
+
</td>
|
1144 |
+
</tr>
|
1145 |
+
<tr>
|
1146 |
+
<td><?php echo _e('Host Name', 'woo-feed'); ?></td>
|
1147 |
+
<td><input type="text" name="ftphost"/></td>
|
1148 |
+
</tr>
|
1149 |
+
<tr>
|
1150 |
+
<td><?php echo _e('User Name', 'woo-feed'); ?></td>
|
1151 |
+
<td><input type="text" name="ftpuser"/></td>
|
1152 |
+
</tr>
|
1153 |
+
<tr>
|
1154 |
+
<td><?php echo _e('Password', 'woo-feed'); ?></td>
|
1155 |
+
<td><input type="password" name="ftppassword"/></td>
|
1156 |
+
</tr>
|
1157 |
+
<tr>
|
1158 |
+
<td><?php echo _e( 'Port', 'woo-feed' ); ?></td>
|
1159 |
+
<td><input type="text" name="ftpport" value="21"/></td>
|
1160 |
+
</tr>
|
1161 |
+
<tr>
|
1162 |
+
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
1163 |
+
<td><input type="text" name="ftppath"/></td>
|
1164 |
+
</tr>
|
1165 |
+
</tbody>
|
1166 |
+
</table>
|
1167 |
+
<table class=" widefat fixed">
|
1168 |
+
<tr>
|
1169 |
+
<td align="left" class="makeFeedResponse">
|
1170 |
+
|
1171 |
+
</td>
|
1172 |
+
<td align="right">
|
1173 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
1174 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
1175 |
+
</button>
|
1176 |
+
</td>
|
1177 |
+
</tr>
|
1178 |
+
</table>
|
1179 |
+
</div>
|
1180 |
+
</li>
|
1181 |
+
|
1182 |
+
</ul>
|
admin/partials/woo-feed-edit-template.php
CHANGED
@@ -332,6 +332,11 @@ $AttributesDropdown = $feedRules['provider'] . "AttributesDropdown";
|
|
332 |
<td><input type="password" value="<?php echo esc_attr($feedRules['ftppassword']); ?>"
|
333 |
name="ftppassword" autocomplete="off"/></td>
|
334 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
335 |
<tr>
|
336 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
337 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
|
332 |
<td><input type="password" value="<?php echo esc_attr($feedRules['ftppassword']); ?>"
|
333 |
name="ftppassword" autocomplete="off"/></td>
|
334 |
</tr>
|
335 |
+
<tr>
|
336 |
+
<td><?php echo _e('Port', 'woo-feed'); ?></td>
|
337 |
+
<td><input type="text" value="<?php echo esc_attr($feedRules['ftpport']); ?>"
|
338 |
+
name="ftpport" autocomplete="off"/></td>
|
339 |
+
</tr>
|
340 |
<tr>
|
341 |
<td><?php echo _e('Path', 'woo-feed'); ?></td>
|
342 |
<td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
|
admin/partials/woo-feed-manage-list.php
CHANGED
@@ -18,7 +18,8 @@ if(isset($_POST)&& isset($_POST['filename'])){
|
|
18 |
}
|
19 |
?>
|
20 |
|
21 |
-
<div class="wrap"
|
|
|
22 |
<a href="<?php echo admin_url('admin.php?page=webappick-product-feed-for-woocommerce/admin/class-woo-feed-admin.php'); ?>"
|
23 |
class="page-title-action"><?php echo _e('New Feed', 'woo-feed'); ?></a>
|
24 |
</h2>
|
@@ -219,7 +220,7 @@ if(isset($_POST)&& isset($_POST['filename'])){
|
|
219 |
feed: fileName
|
220 |
},
|
221 |
success : function(response) {
|
222 |
-
|
223 |
if(response.success) {
|
224 |
$(".feed-progress-container2").text("Delivering Feed Configuration.");
|
225 |
var products=parseInt(response.data.product);
|
@@ -232,7 +233,7 @@ if(isset($_POST)&& isset($_POST['filename'])){
|
|
232 |
processFeed(products,0,0);
|
233 |
}
|
234 |
|
235 |
-
|
236 |
|
237 |
$(".feed-progress-container2").text("Processing Products...");
|
238 |
}else{
|
@@ -307,6 +308,14 @@ if(isset($_POST)&& isset($_POST['filename'])){
|
|
307 |
}
|
308 |
},
|
309 |
error:function (response) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
310 |
console.log(response);
|
311 |
}
|
312 |
});
|
18 |
}
|
19 |
?>
|
20 |
|
21 |
+
<div class="wrap">
|
22 |
+
<h2><?php echo _e('Manage Feed', 'woo-feed'); ?>
|
23 |
<a href="<?php echo admin_url('admin.php?page=webappick-product-feed-for-woocommerce/admin/class-woo-feed-admin.php'); ?>"
|
24 |
class="page-title-action"><?php echo _e('New Feed', 'woo-feed'); ?></a>
|
25 |
</h2>
|
220 |
feed: fileName
|
221 |
},
|
222 |
success : function(response) {
|
223 |
+
console.log(response);
|
224 |
if(response.success) {
|
225 |
$(".feed-progress-container2").text("Delivering Feed Configuration.");
|
226 |
var products=parseInt(response.data.product);
|
233 |
processFeed(products,0,0);
|
234 |
}
|
235 |
|
236 |
+
console.log("Counting Total Products:"+products);
|
237 |
|
238 |
$(".feed-progress-container2").text("Processing Products...");
|
239 |
}else{
|
308 |
}
|
309 |
},
|
310 |
error:function (response) {
|
311 |
+
if(response.status!=="200"){
|
312 |
+
offset=(offset-limit)+10;
|
313 |
+
batch++;
|
314 |
+
processFeed(n,offset,batch);
|
315 |
+
|
316 |
+
width=width+progressBatch;
|
317 |
+
showFeedProgress();
|
318 |
+
}
|
319 |
console.log(response);
|
320 |
}
|
321 |
});
|
includes/class-woo-feed.php
CHANGED
@@ -71,7 +71,7 @@ class Woo_Feed
|
|
71 |
{
|
72 |
|
73 |
$this->woo_feed = 'woo-feed';
|
74 |
-
$this->version = '2.1.
|
75 |
|
76 |
$this->load_dependencies();
|
77 |
$this->set_locale();
|
71 |
{
|
72 |
|
73 |
$this->woo_feed = 'woo-feed';
|
74 |
+
$this->version = '2.1.24';
|
75 |
|
76 |
$this->load_dependencies();
|
77 |
$this->set_locale();
|
includes/classes/class-woo-feed-default-attributes.php
CHANGED
@@ -48,6 +48,7 @@ class Woo_Feed_Default_Attributes
|
|
48 |
"adroll" =>"AdRoll",
|
49 |
"pricespy" =>"PriceSpy",
|
50 |
"prisjakt" =>"Prisjakt",
|
|
|
51 |
"---2" =>"",
|
52 |
"--3" =>"Amazon Template",
|
53 |
"amazon_clothing" =>"Clothing",
|
48 |
"adroll" =>"AdRoll",
|
49 |
"pricespy" =>"PriceSpy",
|
50 |
"prisjakt" =>"Prisjakt",
|
51 |
+
"twenga" =>"Twenga",
|
52 |
"---2" =>"",
|
53 |
"--3" =>"Amazon Template",
|
54 |
"amazon_clothing" =>"Clothing",
|
includes/classes/class-woo-feed-ftp.php
CHANGED
@@ -47,13 +47,14 @@ Class FTPClient
|
|
47 |
* @param $ftpUser
|
48 |
* @param $ftpPassword
|
49 |
* @param bool $isPassive
|
|
|
50 |
* @return bool
|
51 |
*/
|
52 |
-
public function connect($server, $ftpUser, $ftpPassword, $isPassive = false)
|
53 |
{
|
54 |
|
55 |
// *** Set up basic connection
|
56 |
-
$this->connectionId = ftp_connect($server);
|
57 |
|
58 |
// *** Login with username and password
|
59 |
$loginResult = ftp_login($this->connectionId, $ftpUser, $ftpPassword);
|
47 |
* @param $ftpUser
|
48 |
* @param $ftpPassword
|
49 |
* @param bool $isPassive
|
50 |
+
* @param $ftpPort
|
51 |
* @return bool
|
52 |
*/
|
53 |
+
public function connect($server, $ftpUser, $ftpPassword, $isPassive = false,$ftpPort=21)
|
54 |
{
|
55 |
|
56 |
// *** Set up basic connection
|
57 |
+
$this->connectionId = ftp_connect($server,$ftpPort);
|
58 |
|
59 |
// *** Login with username and password
|
60 |
$loginResult = ftp_login($this->connectionId, $ftpUser, $ftpPassword);
|
includes/feeds/class-woo-feed-facebook.php
CHANGED
@@ -239,6 +239,7 @@ class Woo_Feed_Facebook
|
|
239 |
"product_type" => array("product type", true),
|
240 |
"current_category" => array("google product category", true),
|
241 |
"image" => array("image link", true),
|
|
|
242 |
"images_1" => array("additional image link 1", true),
|
243 |
"images_2" => array("additional image link 2", true),
|
244 |
"images_3" => array("additional image link 3", true),
|
239 |
"product_type" => array("product type", true),
|
240 |
"current_category" => array("google product category", true),
|
241 |
"image" => array("image link", true),
|
242 |
+
"images" => array("additional image link", true),
|
243 |
"images_1" => array("additional image link 1", true),
|
244 |
"images_2" => array("additional image link 2", true),
|
245 |
"images_3" => array("additional image link 3", true),
|
includes/feeds/class-woo-feed-google.php
CHANGED
@@ -255,6 +255,7 @@ class Woo_Feed_Google
|
|
255 |
"product_type" => array("product type", true),
|
256 |
"current_category" => array("google product category", true),
|
257 |
"image" => array("image link", true),
|
|
|
258 |
"images_1" => array("additional image link 1", true),
|
259 |
"images_2" => array("additional image link 2", true),
|
260 |
"images_3" => array("additional image link 3", true),
|
255 |
"product_type" => array("product type", true),
|
256 |
"current_category" => array("google product category", true),
|
257 |
"image" => array("image link", true),
|
258 |
+
"images" => array("additional image link", true),
|
259 |
"images_1" => array("additional image link 1", true),
|
260 |
"images_2" => array("additional image link 2", true),
|
261 |
"images_3" => array("additional image link 3", true),
|
woo-feed.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: WooCommerce Product Feed
|
17 |
* Plugin URI: https://webappick.com/
|
18 |
* Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
|
19 |
-
* Version: 2.1.
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
@@ -181,6 +181,7 @@ function woo_feed_add_update($info = "", $name = "")
|
|
181 |
$ftpUser = sanitize_text_field($info['ftpuser']);
|
182 |
$ftpPassword = sanitize_text_field($info['ftppassword']);
|
183 |
$ftpPath = sanitize_text_field($info['ftppath']);
|
|
|
184 |
$ftpEnabled = sanitize_text_field($info['ftpenabled']);
|
185 |
|
186 |
try{
|
@@ -190,7 +191,7 @@ function woo_feed_add_update($info = "", $name = "")
|
|
190 |
# Upload file to ftp server
|
191 |
if ($ftpEnabled) {
|
192 |
$ftp = new FTPClient();
|
193 |
-
if ($ftp->connect($ftpHost, $ftpUser, $ftpPassword)){
|
194 |
$ftp->uploadFile($file, $fileName . "." . $type);
|
195 |
}
|
196 |
}
|
@@ -555,7 +556,7 @@ function woo_feed_save_feed_file(){
|
|
555 |
$ftpPassword = $info['ftppassword'];
|
556 |
$ftpPath = $info['ftppath'];
|
557 |
$ftpEnabled = $info['ftpenabled'];
|
558 |
-
|
559 |
try{
|
560 |
if ($type == "json") {
|
561 |
$type="csv";
|
@@ -563,7 +564,7 @@ function woo_feed_save_feed_file(){
|
|
563 |
# Upload file to ftp server
|
564 |
if ($ftpEnabled) {
|
565 |
$ftp = new FTPClient();
|
566 |
-
if ($ftp->connect($ftpHost, $ftpUser, $ftpPassword)){
|
567 |
$ftp->uploadFile($file, $fileName . "." . $type);
|
568 |
}
|
569 |
}
|
@@ -651,7 +652,7 @@ function woo_feed_manage_feed()
|
|
651 |
$feedInfo = unserialize(get_option($fname));
|
652 |
$provider = strtolower($feedInfo['feedrules']['provider']);
|
653 |
$feedRules = $feedInfo['feedrules'];
|
654 |
-
if ($provider == "custom" || $provider == "pricespy" || $provider == "prisjakt" || $provider == "amazon" || $provider == "adwords") {
|
655 |
require plugin_dir_path(__FILE__) . "admin/partials/custom/edit-feed.php";
|
656 |
} else {
|
657 |
require plugin_dir_path(__FILE__) . "admin/partials/woo-feed-edit-template.php";
|
16 |
* Plugin Name: WooCommerce Product Feed
|
17 |
* Plugin URI: https://webappick.com/
|
18 |
* Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
|
19 |
+
* Version: 2.1.24
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
181 |
$ftpUser = sanitize_text_field($info['ftpuser']);
|
182 |
$ftpPassword = sanitize_text_field($info['ftppassword']);
|
183 |
$ftpPath = sanitize_text_field($info['ftppath']);
|
184 |
+
$ftpPort = isset($info['ftpport']) && !empty($info['ftpport'])?sanitize_text_field($info['ftpport']):21;
|
185 |
$ftpEnabled = sanitize_text_field($info['ftpenabled']);
|
186 |
|
187 |
try{
|
191 |
# Upload file to ftp server
|
192 |
if ($ftpEnabled) {
|
193 |
$ftp = new FTPClient();
|
194 |
+
if ($ftp->connect($ftpHost, $ftpUser, $ftpPassword,false,$ftpPort)){
|
195 |
$ftp->uploadFile($file, $fileName . "." . $type);
|
196 |
}
|
197 |
}
|
556 |
$ftpPassword = $info['ftppassword'];
|
557 |
$ftpPath = $info['ftppath'];
|
558 |
$ftpEnabled = $info['ftpenabled'];
|
559 |
+
$ftpPort = isset($info['ftpport']) && !empty($info['ftpport'])?$info['ftpport']:21;
|
560 |
try{
|
561 |
if ($type == "json") {
|
562 |
$type="csv";
|
564 |
# Upload file to ftp server
|
565 |
if ($ftpEnabled) {
|
566 |
$ftp = new FTPClient();
|
567 |
+
if ($ftp->connect($ftpHost, $ftpUser, $ftpPassword,false,$ftpPort)){
|
568 |
$ftp->uploadFile($file, $fileName . "." . $type);
|
569 |
}
|
570 |
}
|
652 |
$feedInfo = unserialize(get_option($fname));
|
653 |
$provider = strtolower($feedInfo['feedrules']['provider']);
|
654 |
$feedRules = $feedInfo['feedrules'];
|
655 |
+
if ($provider == "custom" ||$provider == "twenga" || $provider == "pricespy" || $provider == "prisjakt" || $provider == "amazon" || $provider == "adwords") {
|
656 |
require plugin_dir_path(__FILE__) . "admin/partials/custom/edit-feed.php";
|
657 |
} else {
|
658 |
require plugin_dir_path(__FILE__) . "admin/partials/woo-feed-edit-template.php";
|