CTX Feed – WooCommerce Product Feed Manager Plugin - Version 3.1.37

Version Description

(2019-10-17) = * UI improvement * Improve script dependency management

Download this release

Release Info

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

Code changes from version 3.1.36 to 3.1.37

README.txt CHANGED
@@ -1,965 +1,969 @@
1
- === WooCommerce Product Feed for Google, Bing, eBay and Many More ===
2
- Contributors: wahid0003
3
- 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.36
8
- License: GPLv2 or later
9
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
-
11
- WooCommerce Product Feed Generator for Google Merchant (Shopping), Faccebook Catalog, eBay, Bing, PriceSpy, Idealo and More. Support 100+ Merchants.
12
-
13
- == Description ==
14
-
15
- **WooCommerce Product Feed** (Woo Feed) generate product feed or data feed to Sync your products with your merchant center like Google Shopping,Facebook Product Ads,Bing Ads, eBay, Amazon etc. The main target of this plugin is to generate product feed, automatically update product information into feed file according to given schedule and sync your product to different shopping engines via HTTP or FTP so that real buyer can get your product into shopping engines like Google Shopping, pricegrabber, pricerunner, nextag,ebay and many more.<br/><br/> Compatible with WooCommerce 3.0+
16
- <blockquote>
17
- <h4>Free version support unlimited feed with up to 2000 products including variations.</h4>
18
- <br/>
19
- <h4><b><a target="_blank" href="http://webappick.com/plugin/woocommerce-product-feed-pro/">Premium Version</a></b> have some additional awesome features which are not included into free version</h4>
20
- <br/>
21
- <h4><b>Premium version also support WooCommerce <a target="_blank" href="https://woocommerce.com/products/composite-products/">Composite</a> and <a target="_blank" href="https://woocommerce.com/products/product-bundles/">Bundle</a></b> Products</h4>
22
- <br/>
23
- </blockquote>
24
- **WHAT IS PRODUCT FEED?**
25
-
26
- A product feed is a .TXT, CSV, EXCEL or XML file which contain a list of products and their attributes (id, title, description, price, image, link and other attributes) in an organized way so that each product can be displayed into search engines, compared uniquely and can be advertised.
27
-
28
- **WHY DO I NEED PRODUCT FEED?**
29
-
30
- You need product feed if you are a merchant with an ecommerce store and want to get you product into search engine or price comparison website or into affiliate network. Product feed supply your product information to those online marketing channel so that buyer can easily find your products.
31
-
32
- **WHAT IS COMPARISON SHOPPING ENGINE?**
33
-
34
- A shopping engine or comparison shopping engine is a type of website where shopper can search products based on price, feature and other criteria and compare. Most popular Comparison Shopping Engines are Google Shopping, Pricegrabber, Pricewatch, Shopzilla, Nextag, eBay Commerce Network.
35
-
36
- <blockquote>
37
- <h4><a target="_blank" href="http://webappick.helpscoutdocs.com/">Read Documentation and FAQ</a></h4>
38
- <br/>
39
- <h4>For Support Email to support@webappick.com </h4>
40
- <br/>
41
- </blockquote>
42
- **WHY SHOULD I CHOSE THIS PLUGIN?**
43
-
44
- In one word WooCommerce Product Feed is a revolution. Yah, it’s a revolution of woocommerce tech because there are no any modules or extensions that generate automatic or manual feeds those can be synchronized flexibility to shopping places that can be maintained by the people having not much technical knowledge of wordpress coding. Among the thousands reasons of choosing this wordpress plugin we are mentioning a few of them below.
45
-
46
- [youtube https://www.youtube.com/watch?v=xw3R4v1LMe4]
47
-
48
- **Google Merchant Feed Upload**
49
- [youtube https://www.youtube.com/watch?v=PTUYgF7DwEo]
50
-
51
- **AVAILABLE FEATURES:**
52
-
53
- * It is highly customizable, having access to 100+ merchant sites & also very responsive of user commands.
54
- * 10+ pre configured template for Google Shopping,Google Adword,Facebook,Nextag.com,pricegrabber.com,Shopping.com,
55
- become.com,conexity.com,shopmania.com,shopzilla.com,bing.com
56
- * You can post your product feeds either manually from your site to shopping engines
57
- or you can also set FTP to post your feeds automatically to your desired engines.
58
- * Feeds are also accessible via HTTP or HTTPS. So that merchant can easily and automatically fetch product feed using given Feed URL.
59
- * There are 3 supported file formats for feeds. They are: XML, TXT, CSV.
60
- * Attribute Prefix and Suffix. You can easily add Marketing or Promo Text with Product Title, Description And its also possible to add Price symbol,currency code with price.
61
- * Output formatting using Strip Tags,UTF-8 encode,Remove Space,CDATA,Htmentities,Price and Number format
62
- * Output Limitation. You can Limit output length according to your merchant feed specification.
63
- * Scheduled Feed Update
64
- * Auto Feed upload via FTP
65
- * Supported Merchants
66
- * <a target="_blank" href="https://www.google.com/retail/merchant-center/">Google Shopping </a>
67
- * <a target="_blank" href="https://www.google.com/adwords/">Google Adwords </a>
68
- * <a target="_blank" href="https://www.facebook.com/business/a/online-sales/dynamic-product-ads"> Facebook Catalog Feed</a>
69
- * <a target="_blank" href="https://help.pinterest.com/en/business/article/data-source-specification"> Pinterest Catalog Feed </a>
70
- * <a target="_blank" href="https://advertising.amazon.com/">Amazon Seller Ad </a>
71
- * <a target="_blank" href="http://www.ebaycommercenetwork.com/">eBay Commerce Network </a>
72
- * <a target="_blank" href="http://www.nextag.com/">Nextag.com </a>
73
- * <a target="_blank" href="http://www.pricegrabber.com/">Pricegrabber.com </a>
74
- * <a target="_blank" href="https://www.kelkoo.com/">Kelkoo.com </a>
75
- * <a target="_blank" href="http://www.houzz.com/">Houzz.com </a>
76
- * <a target="_blank" href="http://www.dealtime.com">Dealtime.com </a>
77
- * <a target="_blank" href="http://www.affiliatewindow.com/uk/">Affiliatewindow.com </a>
78
- * <a target="_blank" href="http://advertise.bingads.microsoft.com/en-uk/home">Bing Ads </a>
79
- * <a target="_blank" href="http://www.idealo.de/">Idealo.de </a>
80
- * <a target="_blank" href="https://www.beslist.nl/">Beslist.nl</a>
81
- * <a target="_blank" href="https://www.ffshoppen.nl/">ffshoppen.nl</a>
82
- * <a target="_blank" href="https://www.vergelijk.nl/">vergelijk.nl</a>
83
- * <a target="_blank" href="https://siroop.ch/">siroop.ch</a>
84
- * <a target="_blank" href="https://jet.com/">Jet.com</a>
85
- * <a target="_blank" href="https://www.wish.com/">Wish.com</a>
86
- * <a target="_blank" href="http://www.bizrate.com/">bizrate.com</a>
87
- * <a target="_blank" href="http://www.shopping.com/">Shopping.com</a>
88
- * <a target="_blank" href="http://www.shopzilla.com/">Shopzilla.com</a>
89
- * <a target="_blank" href="http://www.shopmania.com/">Shopmania.com</a>
90
- * <a target="_blank" href="http://www.shop.com/">Shop.com</a>
91
- * <a target="_blank" href="https://pricespy.co.uk/">Pricespy.co.uk</a>
92
- * <a target="_blank" href="https://www.prisjakt.nu/">Prisjakt.nu</a>
93
- * <a target="_blank" href="https://www.pricefalls.com/">Pricefalls.com</a>
94
- * <a target="_blank" href="http://www.pricerunner.co.uk/">Pricerunner.co.uk</a>
95
- * <a target="_blank" href="http://www.cj.com/">Comission Junction (cj.com)</a>
96
- * <a target="_blank" href="http://www.polyvore.com/">Polyvore.com</a>
97
- * <a target="_blank" href="https://www.fruugo.com/">Fruugo.com</a>
98
- * <a target="_blank" href="https://www.fruugoaustralia.com/">Fruugoaustralia.com</a>
99
- * <a target="_blank" href="http://opensky.com">Opensky.com</a>
100
- * <a target="_blank" href="http://11Main.com">11Main.com</a>
101
- * <a target="_blank" href="http://www.shopbot.ca/">Shopbot.ca</a>
102
- * <a target="_blank" href="http://www.twenga.com/">Twenga.com/</a>
103
- * <a target="_blank" href="http://www.wine-searcher.com/">Wine-searcher.com</a>
104
- * <a target="_blank" href="http://ammoseek.com/">Ammoseek.com</a>
105
- * <a target="_blank" href="http://www.avantlink.com/">Avantlink.com</a>
106
- * <a target="_blank" href="http://connexity.com/">Connexity.com</a>
107
- * <a target="_blank" href="http://www.linkshareuk.com/">Linkshareuk.com</a>
108
- * <a target="_blank" href="http://www.bonanza.com/">Bonanza.com</a>
109
- * <a target="_blank" href="https://www.pepperjam.com/">Pepperjam.com</a>
110
- * <a target="_blank" href="http://www.criteo.com/">Criteo.com</a>
111
- * <a target="_blank" href="https://www.pixlee.com/">Pixlee.com</a>
112
- * <a target="_blank" href="https://www.adroll.com">Adroll.com</a>
113
- * <a target="_blank" href="http://www.graziashop.com/">GraziaShop.com</a>
114
- * <a target="_blank" href="http://www.leguide.com/">Leguide.com</a>
115
- * <a target="_blank" href="http://nl.hardware.info/">Hardware.info</a>
116
- * <a target="_blank" href="http://www.pricewatch.com/">Pricewatch.com</a>
117
- * <a target="_blank" href="http://www.newegg.com/">Newegg.com</a>
118
- * <a target="_blank" href="http://www.webgains.com/">Webgains.com</a>
119
- * <a target="_blank" href="http://www.rakuten.com/">Rakuten.com</a>
120
- * <a target="_blank" href="https://www.quicksales.com.au/">Quicksales.com.au</a>
121
- * <a target="_blank" href="http://www.mysmartprice.com/">Mysmartprice.com</a>
122
- * <a target="_blank" href="http://ae.pricena.com/en/">Pricena.com</a>
123
- * <a target="_blank" href="http://www.pricejugaad.com/">Pricejugaad.com</a>
124
- * <a target="_blank" href="https://yaoota.com/en-eg/">Yaoota.com</a>
125
- * <a target="_blank" href="https://compare.buyhatke.com/">Buyhatke.com</a>
126
- * <a target="_blank" href="https://www.comparekaro.pk/">Comparekaro.pk</a>
127
- * <a target="_blank" href="http://site.adform.com">Adform.com</a>
128
- * <a target="_blank" href="https://www.polyvore.com/">Polyvore.com</a>
129
- * <a target="_blank" href="https://www.stylight.com/">Stylight.com</a>
130
- * <a target="_blank" href="https://www.spartoo.co.uk/">Spartoo.co.uk</a>
131
- * <a target="_blank" href="http://www.choozen.co.uk/">Choozen</a>
132
- * <a target="_blank" href="https://www.ciao.co.uk/">Ciao</a>
133
- * <a target="_blank" href="http://www.priceminister.com/">Priceminister.com</a>
134
- * <a target="_blank" href="https://skinflint.co.uk/">Skinflint</a>
135
- * <a target="_blank" href="https://www.rakuten.com/">Rakuten</a>
136
- * <a target="_blank" href="https://www.bol.com/nl/index.html">Bol.com</a>
137
- * <a target="_blank" href="https://www.crowdfox.com/">Crowdfox.com</a>
138
- * <a target="_blank" href="https://www.real.de/">Real.de</a>
139
- * <a target="_blank" href="http://incurvy.co.uk/">Incurvy.co.uk</a>
140
- * <a target="_blank" href="https://de.allyouneed.com/de/">Allyouneed.com</a>
141
- * <a target="_blank" href="https://www.apomio.de/">Apomio.de</a>
142
- * <a target="_blank" href="https://www.billiger.de/">Billiger.de</a>
143
- * <a target="_blank" href="https://www.domodi.de/">Domodi.de</a>
144
- * <a target="_blank" href="https://www.fashiola.de/">Fashiola.de</a>
145
- * <a target="_blank" href="https://geizhals.de/">Geizhals.de</a>
146
- * <a target="_blank" href="http://www.guenstiger.de/">Guenstiger.de</a>
147
- * <a target="_blank" href="https://www.hood.de/">Hood.de</a>
148
- * <a target="_blank" href="https://www.ladenzeile.de/">Ladenzeile.de</a>
149
- * <a target="_blank" href="https://www.livingo.de/">Livingo.de</a>
150
- * <a target="_blank" href="https://www.medizinfuchs.de/">Medizinfuchs.de</a>
151
- * <a target="_blank" href="https://www.moebel.de/">Moebel.de</a>
152
- * <a target="_blank" href="https://www.mybestbrands.de/">Mybestbrands.de</a>
153
- * <a target="_blank" href="http://www.preis.de/">Preis.de</a>
154
- * <a target="_blank" href="https://www.restposten.de/">Restposten.de</a>
155
- * <a target="_blank" href="https://www.sparmedo.de/">Sparmedo.de</a>
156
- * <a target="_blank" href="https://www.stylelounge.de/">Stylelounge.de</a>
157
- * <a target="_blank" href="http://www.stylefruits.de/">Stylefruits.de</a>
158
- * <a target="_blank" href="https://www.marktplaats.nl/">Marktplaats.nl</a>
159
- * <a target="_blank" href="http://spartoo.nl/">Spartoo.nl</a>
160
- * <a target="_blank" href="https://www.ooshopping.nl/">Ooshopping.nl</a>
161
- * <a target="_blank" href="https://www.vergelijk.nl/">Vergelijk.nl</a>
162
- * <a target="_blank" href="https://www.kieskeurig.nl/">Kieskeurig.nl</a>
163
- * <a target="_blank" href="https://tweakers.net/">Tweakers.net</a>
164
- * <a target="_blank" href="https://www.kleding.nl/">Kleding.nl</a>
165
- * <a target="_blank" href="https://www.shopalike.it/">Shopalike.it</a>
166
- * <a target="_blank" href="https://www.trovaprezzi.it/">Trovaprezzi.it</a>
167
- * <a target="_blank" href="https://www.skroutz.gr/">Skroutz.gr</a>
168
- * <a target="_blank" href="https://www.manomano.fr/">Manomano.fr</a>
169
- * <a target="_blank" href="https://www.cdiscount.com/">Cdiscount.com</a>
170
- * <a target="_blank" href="https://www.fnac.com/">Fnac.com</a>
171
- * <a target="_blank" href="https://www.comparer.be/">Comparer.be</a>
172
- * <a target="_blank" href="https://www.cherchons.com/">Cherchons.com</a>
173
- * <a target="_blank" href="http://www.miinto.com/">Miinto.com</a>
174
- * <a target="_blank" href="https://www.ricardo.ch/">Ricardo.ch</a>
175
- * <a target="_blank" href="https://www.kauftipp.ch/">Kauftipp.ch</a>
176
- * <a target="_blank" href="https://zap.co.il/">Zap.co.il</a>
177
- * <a target="_blank" href="https://smartly.io/">Smartly.io</a>
178
- * <a target="_blank" href="https://www.stylight.com/">Stylight.com</a>
179
- * <a target="_blank" href="https://developer.yahoo.com/nativeandsearch/guide/dynamic-product-ads/operations-dpa/">Yahoo Dynamic Product Ads</a>
180
- * <a target="_blank" href="https://www.thenextad.com/">TheNextAd.com</a>
181
- * <a target="_blank" href="https://modina.de/">Modina.de</a>
182
-
183
- <blockquote>
184
- <h4>If you like Free Version, you'll love the Pro Version</h4>
185
- <br/>
186
- </blockquote>
187
-
188
- **<a target="_blank" href="http://webappick.com/plugin/woocommerce-product-feed-pro/">WooCommerce Product Feed Pro</a> gives you everything you'll find in free and some awesome functionalities:**
189
-
190
- **SMART FILTER & CONDITIONS**
191
-
192
- Smart Filters help you to exclude the non-profitable or out of season products you don’t want to share. Also Its high filtering options help users to filter products according to product titles, price, availability of stocks, user rating and other extensive product specifications.
193
-
194
- **CATEGORY MAPPING (To Reach Your Buyer)**
195
-
196
- Categories are the most important key to get products into search result. It is best practice to assign most matching shopping engine category to your store category for each product. During the creating of your feeds you can also create a category for that particular product. And after creating the category you’ll get an option to map it to your market place category so that you can make two categories aligned to each other. This process is totally dynamic by our plugin & you can map all of your categories to make it more relevant & reachable to buyers.
197
-
198
- **DYNAMIC ATTRIBUTE**
199
-
200
- The Dynamic Attribute combine the powerful features of the WooCommerce Product Feed Pro with the ability to set your own conditions for any types of attribute.There are different types of Woocommerce users have different types & classes of products and services. So, they may need varieties of custom values to demonstrate their products. And we are giving the options to make dynamic attributes as your need. Also it is possible to generate the data feed file according to the search engines requirements without changing the attributes in your store.
201
-
202
- **CUSTOM TAXONOMY**
203
-
204
- User can easily use any custom taxonomy or others woocommerce plugin or extensions taxonomy value into feed. For Example product Brand, Model No size etc. So you can easily use those value into your feed.
205
-
206
- **FEED MAKING WITH BATCHES**
207
-
208
- Due to PHP execution time and memory limit its not possible to process Thousands of products at a time. We have developed our plugin with the functionality to make feed with batches. User can easily set Limit and Offset to make feed. This functionality is compatible with any type of server your wordpress is installed and any amount of products you have into your site.
209
-
210
- **WP OPTIONS**
211
-
212
- It is possible to use any wp_options values into feed. Most of the plugins used to save data as option. So using premium version of our plugin user can use any other plugin data to make feed.
213
-
214
- **MULTI LANGUAGE FEED**
215
-
216
- WooCommerce Product Feed Pro is compatible with WPML WooCommerce plugin. And by supporting WPML this makes it possible for the e-commerce owners to create product feed in different languages. This enables the e-commerce owners the chance to globalize their business in minutes because you always have better chance of selling something if you are selling it in the native language.
217
-
218
- **EXTENDED PRODUCT TITLE**
219
-
220
- The first impression becomes the last impression! This is why your title of the product can build interest of the buyer to hit your product. In the e-commerce business, product title attracts customer to get on the link if they are satisfied with the search result. Extended Product Title feature allows the user to extend the title of a product by adding different attributes to it. Extended Product Title is a great way to differentiate the products according to their variations. Such as Size, Color, Custom Text, etc
221
-
222
- **Support Multi-Vendor Plugins**
223
-
224
- WooCommerce Product Feed Pro supports multi-vendor product feed generation. You can choose between multiple or single vendors while generating feeds or for all vendors. The multi-vendor platform is a great way to expand your e-commerce site, and our plugin gives you the freedom to control the vendors associated with your website. This plugin supports the most popular multi-vendor plugins WC Vendors, Dokan Multivendor Marketplace and YITH Woocommerce Multi-Vendor.
225
-
226
- **OTHER IMPORTANT FEATURES**
227
-
228
- * Supports automatic feed generation at a scheduled time.
229
- * Supports feed sending to a remote FTP server.
230
- * Supports Woocommerce composite product and Woocommerce bundle products.
231
- * Flexibility to remove ‘out of stock’ products.
232
- * Option to select either product variations or the parent product of the variations.
233
- * Option to select minimum or maximum variation price for the variable product.
234
- * Option to select first or minimum or maximum or the sum of the variation quantity for the variable product.
235
- * Option to generate feed by product type.
236
- * Option to make feed for specific categories.
237
- * Lots of advanced commands to modify product information for feed.
238
- * Current Price attribute – Current price attribute will return Sale Price if available else it will return Regular Price.
239
- * Product Meta – It’s possible to add Product Meta to the feed.
240
- * Product Taxonomies – It’s also possible to add Product Taxonomies into the feed.
241
- * It’s also possible to add Brand Plugin Data (Perfect Woocommerce Brand, Woocommerce Brand, and others) into the feed.
242
-
243
-
244
- **SUPPORT TEAM**
245
-
246
- We’ve a dedicated team of coders and wordpress experts to make your journey to us friendlier & error free. So, if you want to use our plugin or if you are facing any problem with our plugin feel free to say us by emailing here: support@webappick.com.
247
-
248
- == Installation ==
249
-
250
- Before installing the plugin please make sure that
251
-
252
- 1. Your php version is 5.4 or greater
253
- 1. Wordpress version is 3.6 or greater
254
- 1. WooCommerce version is 2.4 or greater
255
-
256
- You can also check your system status and versions from WooCommerce > System Status
257
-
258
- This section describes how to install the plugin and get it working.
259
-
260
- e.g.
261
-
262
- 1. Upload `webappick-product-feed-for-woocommerce` folder to the `/wp-content/plugins/` directory
263
- 1. Activate the plugin through the 'Plugins' menu in WordPress
264
- 1. Select 'Woo Feed' from admin menu, Click 'Make Feed'
265
- 1. Select the template and make feed
266
- 1. Done!
267
-
268
- == Frequently Asked Questions ==
269
-
270
- <blockquote>
271
- <h4>Read <a target="_blank" href="http://webappick.helpscoutdocs.com/article/17-woocommerce-product-feed">Documentation and FAQ</a></h4>
272
- <br/>
273
- <h4>For Support Email to support@webappick.com</h4>
274
- <br/>
275
- </blockquote>
276
-
277
- = which shopping engines are supported? =
278
-
279
- This plugin support all the sopping engines.
280
-
281
- = Does the plugin support product variation? =
282
-
283
- Yes
284
-
285
- = Is there any limitation to feed size? =
286
-
287
- No, You can make unlimited number of feed
288
-
289
- = What is the difference between Free and Pro Version? =
290
-
291
- Free version include all the major functions but Pro version have some awesome functionality.
292
-
293
- Using pro version:
294
-
295
- * You can filter product using price, quantity, product name
296
- * You can use custom taxonomies or other plugins taxonomy value into feed
297
- * Using Category Mapping You can map your store category with your merchant category which is very useful for visitor to find out your product into merchant site.
298
- * You can make different price for different merchant using Dynamic Attribute. Also it is possible to set different value for different product using Dynamic Attribute Conditions.
299
-
300
- == Screenshots ==
301
-
302
- 1. Feed Making
303
- 2. FTP info config
304
-
305
- == Changelog ==
306
-
307
- = 3.1.36 (2019-10-14) =
308
- * Documentation Menu Added
309
-
310
- = 3.1.35 (2019-10-10) =
311
- * remove echo used with _e()
312
- * fix generating new db entry on update feed config
313
- * fix duplicate id on save/update button
314
-
315
- = 3.1.34 (2019-10-9) =
316
- * Resolve duplicate filename conflict.
317
- * Fix undefined variable.
318
- * Check if function exists before declaration (Resolve error on Pro Version activation.
319
-
320
- = 3.1.33 (2019-10-7) =
321
- * Add copy to clip board
322
- * Fix performance issue on feed add/edit screen
323
-
324
- = 3.1.32 (2019-10-6) =
325
- * Fix parent sku not getting populated in feed data
326
- * Set feed type to CSV for Pinterest
327
-
328
- = 3.1.31 (2019-10-3) =
329
- * Strip divi builder shortcode from product description and short-description.
330
- * Delete old feed file before regenerate.
331
-
332
- = 3.1.30 (2019-10-2) =
333
- * Fix Feed doesn't include last product variation
334
-
335
- = 3.1.29(2019-09-30) =
336
- * Update Google Taxonomy list at the latest.
337
- * Add Google Taxonomy in facebook and pinterest template.
338
- * Google Taxonomy chooser directly in Feed Config without any popup.
339
- * Optimize JavaScript.
340
-
341
- = 3.1.28(2019-09-26) =
342
- * Fix Google Taxonomy Popup with jquery sortable plugin.
343
- * Fix row become invisible while dragging.
344
-
345
- = 3.1.27(2019-09-11) =
346
- * Added: criteo template added
347
-
348
- = 3.1.26(2019-09-11) =
349
- * Added: google attribute dropdown issue solved
350
-
351
- = 3.1.25(2019-09-09) =
352
- * Added: fyndiq.se template added
353
-
354
- = 3.1.24(2019-09-03) =
355
- * Added: miinto.nl template added
356
-
357
- = 3.1.23(2019-08-28) =
358
- * Added: fnac.fr template added
359
-
360
- = 3.1.22(2019-08-25) =
361
- * Added: missing template files added
362
-
363
- = 3.1.21(2019-08-20) =
364
- * Added: vertaa.fi template added
365
-
366
- = 3.1.20(2019-08-19) =
367
- * Added: fashiola template added
368
-
369
- = 3.1.19(2019-08-08) =
370
- * Added: walmart template added
371
-
372
- = 3.1.18(2019-08-05) =
373
- * Added: webmarchand template added
374
-
375
- = 3.1.17(2019-07-29) =
376
- * Fixed: feed files permission issue fixed
377
-
378
- = 3.1.16(2019-07-25) =
379
- * Fixed: google_attributes option issue fixed
380
-
381
- = 3.1.15(2019-07-24) =
382
- * Fixed: Cross-site scripting (XSS) vulnerability issue resolved
383
-
384
- = 3.1.14(2019-07-23) =
385
- * Added: modina.de template added
386
-
387
- = 3.1.13(2019-07-22) =
388
- * Modified: spartoo.fi template modified
389
-
390
- = 3.1.12(2019-07-18) =
391
- * Added: shareasale template added
392
-
393
- = 3.1.11(2019-07-17) =
394
- * Added: spartoo.fi template added
395
-
396
- = 3.1.10(2019-07-15) =
397
- * Fixed: google template slowly loading issue fixed
398
-
399
- = 3.1.9(2019-07-11) =
400
- * Added: shopalike.fr template added
401
-
402
- = 3.1.8(2019-07-08) =
403
- * Fixed: pinterest csv feed attribute underscore issue fixed
404
-
405
- = 3.1.7(2019-07-07) =
406
- * Added: strip tags set as default in the Output Type of kijiji.ca template
407
-
408
- = 3.1.6(2019-07-05) =
409
- * Added: kijiji.ca template added
410
-
411
- = 3.1.5(2019-07-03) =
412
- * Added: kieskeurig.nl template added
413
-
414
- = 3.1.4(2019-06-30) =
415
- * Added: incurvy template added
416
-
417
- = 3.1.3(2019-06-27) =
418
- * Added: CDiscount.fr template added
419
-
420
- = 3.1.2(2019-06-26) =
421
- * Fixed: Auto input field populate issue into feed making and edit page has fixed
422
-
423
- = 3.1.1(2019-06-25) =
424
- * Added: marktplaats.nl template added
425
-
426
- = 3.1.0(2019-06-24) =
427
- * Fixed: Pinterest csv feed issue fixed
428
-
429
- = 3.0.40(2019-06-21) =
430
- * Fixed: Make Feed view issue fixed
431
-
432
- = 3.0.39(2019-06-20) =
433
- * Fixed: Prefix & suffix with empty value and stripslash issue fixed
434
- * Added: Override attribute added for facebook template
435
-
436
- = 3.0.38(2019-06-18) =
437
- * Added: Vergelijk.be & Comparer.be template added
438
-
439
- = 3.0.37(2019-06-10) =
440
- * Added: Rakuten template added
441
-
442
- = 3.0.36(2019-06-03) =
443
- * Tweak: Beslist.nl template modified
444
-
445
- = 3.0.35(2019-05-29) =
446
- * Tweak: CrowdFox template modified
447
-
448
- = 3.0.34(2019-05-23) =
449
- * Fixed: Product attribute empty space issue fixed
450
-
451
- = 3.0.33(2019-05-21) =
452
- * Fixed: Empty global attribute value for wc3.6 fixed.
453
-
454
- = 3.0.32(2019-05-16) =
455
- * Shipping Cost Comment attribute added for idealo template
456
-
457
- = 3.0.31(2019-05-13) =
458
- * Added: billiger.de template added
459
-
460
- = 3.0.30(2019-05-08) =
461
- * Added: tax_country,tax_region,tax_rate,tax_ship attribute added.
462
- * Tweak: tax attribute deleted.
463
-
464
- = 3.0.29(2019-05-06) =
465
- * Added: Idealo template added
466
-
467
- = 3.0.28(2019-04-30) =
468
- * Tweak: Feed template folder structure change to reduce plugin size
469
-
470
- = 3.0.27(2019-04-30) =
471
- * Added: Hintaseuranta.fi template added
472
-
473
- = 3.0.26(2019-04-29) =
474
- * Added: SkinFlint.co.uk template added
475
- * Wordpress 5.2 compatibility checked
476
- * WooCommerce 3.6 compatibility checked
477
-
478
- = 3.0.25(2019-04-26) =
479
- * Added: TheNextAd template added
480
-
481
- = 3.0.24(2019-04-25) =
482
- * Fixed: cost_of_good_sold attribute issue fixed for Google & Facebook template
483
- * Added: tax_category attribute added for Facebook template
484
-
485
- = 3.0.23(2019-04-24) =
486
- * Added: Yahoo NFA template added
487
-
488
- = 3.0.22(2019-04-22) =
489
- * Added: Stylight template added
490
- * Added: Google & Facebook template will auto add currency code as suffix for price attribute
491
-
492
- = 3.0.21(2019-04-18) =
493
- * Added: Smartly.io template added
494
-
495
- = 3.0.20(2019-04-16) =
496
- * Fixed: Myshopping.com.au XML Category tag issue fixed
497
- * Fixed: Myshopping.com.au recommended attributes added
498
-
499
- = 3.0.19(2019-04-14) =
500
- * Added: MyShopping.com.au template added
501
-
502
- = 3.0.18(2019-04-11) =
503
- * Added: Pinterest template added
504
-
505
- = 3.0.17(2019-04-10) =
506
- * Fixed: Template UI loading conflict with popup builder plugin
507
-
508
- = 3.0.16(2019-04-08) =
509
- * Added: fruugoaustralia.com template added
510
- * Fixed: fruugo.com template updated
511
-
512
- = 3.0.15(2019-04-04) =
513
- * Fixed: Zap.co.il template header issue fixed
514
-
515
- = 3.0.14(2019-04-01) =
516
- * Added: Zap.co.il template added
517
-
518
- = 3.0.13(2019-03-28) =
519
- * Added: Google Local Product template added
520
-
521
- = 3.0.12(2019-03-22) =
522
- * Fixed: minor security bugs
523
-
524
- = 3.0.11(2019-03-21) =
525
- * Fixed: facebook variation description issue fixed
526
-
527
- = 3.0.10(2019-03-18) =
528
- * Fixed: product tags issue fixed
529
- * Added: new Google Merchant attributes added
530
-
531
- = 3.0.9(2019-03-15) =
532
- * Added: Current Price attribute added. Current Price attribute will return sale price if sale price available else it will return regular price.
533
- * WooCommerce v3.5+ compatibility checked
534
-
535
- = 3.0.8(2019-03-12) =
536
- * Added: Facebook template will contain product variations but it will add variation info at the end of the product description so that facebook can not reject variation which do not have short description.
537
-
538
- = 3.0.7(2019-03-07) =
539
- * Added: Bing Shipping attribute
540
- * Fixed: Review notice show after 15 days of installation
541
- * Fixed: ajax action hook conflicting issue fixed
542
-
543
- = 3.0.6(2019-03-05) =
544
- * Fixed: Facebook inventory attribute added
545
-
546
- = 3.0.5(2019-02-27) =
547
- * Fixed: Google Local Product Inventory feed template added
548
-
549
- = 3.0.4(2019-02-25) =
550
- * Fixed: Google & Facebook condition attribute value changed from New to new
551
-
552
- = 3.0.3(2019-02-20) =
553
- * Price with Tax attribute added
554
- * Product date created and date updated attribute added
555
- * Google Category notice bug fix
556
-
557
- = 3.0.2(2019-02-15) =
558
- * WordPress version 5.1 compatibility checked
559
-
560
- = 3.0.1(2019-02-06) =
561
- * Manufacturer attribute added to NexTag template
562
-
563
- = 3.0.0(2019-01-31) =
564
- * Minor bug fixing
565
-
566
- = 2.2.33(2019-01-27) =
567
- * Google Taxonomy modal issue fixed
568
-
569
- = 2.2.32(2019-01-24) =
570
- * Show message at feed generation if woocommerce product not found.
571
-
572
- = 2.2.31(2019-01-22) =
573
- * Used home_url() instead of site_url() into google feed header
574
- * Review request admin message added
575
-
576
- = 2.2.29(2019-01-20) =
577
- * Added: SFTP file upload to remote server
578
-
579
- = 2.2.28(2019-01-11) =
580
- * Wordpress 5 compatibility checked
581
- * Default cron interval set to 24 hours
582
- * Minor bug fix
583
-
584
- = 2.2.26(2018-11-17) =
585
- * At First convert Short Codes and then Remove failed Short Codes from String
586
-
587
- = 2.2.25(2018-11-07) =
588
- * number_format error fixed
589
-
590
- = 2.2.24(2018-11-05) =
591
- * Minor issue fixed
592
-
593
- = 2.2.23(2018-10-25) =
594
- * Google Attribute cost_of_goods_sold added
595
- * Visual Composer shortcode remove issue fixed
596
-
597
- = 2.2.22(2018-10-10) =
598
- * Variations missing issue fixed
599
- * URL encoding issue with suffix fixed
600
-
601
- = 2.2.21(2018-09-19) =
602
- * Cron schedule added to update feed individually
603
-
604
- = 2.2.19(2018-07-31) =
605
- * Product description default limit set to 5000 for Google Merchant and Facebook template
606
-
607
- = 2.2.18(2018-07-09) =
608
- * Google Product category missing warning added for Google Merchant and Facebook template
609
-
610
- = 2.2.17(2018-07-05) =
611
- * All field added to amazon template
612
-
613
- = 2.2.16(2018-07-02) =
614
- * Strip tag added as default output type for Google and Facebook template
615
-
616
- = 2.2.15(2018-06-09) =
617
- * Documentation and Pro plugin link added under plugin activation links
618
-
619
- = 2.2.14(2018-05-25) =
620
- * Grouped product price issue fixed
621
-
622
- = 2.2.11(2018-04-25) =
623
- * Minor js error fixed
624
-
625
- = 2.2.10(2018-04-25) =
626
- * Google Product Category dropdown added for Google Shopping template
627
-
628
- = 2.2.9(2018-03-23) =
629
- * Product missing issue fixed
630
- * Auto update active/inactive status added
631
-
632
- = 2.2.8(2018-03-14) =
633
- * Variable product price issue fixed
634
- * Other minor issues about product are fixed
635
-
636
- = 2.2.7(2018-03-01) =
637
- * Product query code improved
638
-
639
- = 2.2.6(2018-02-15) =
640
- * Added: Jet.com Template added
641
- * Added: Wish.com Template added
642
-
643
- = 2.2.5(2018-02-05) =
644
- * Fixed: Variations description issue
645
- * Fixed: Remove shortcodes Automatically
646
-
647
- = 2.2.4(2018-02-01) =
648
- * Auto Remove ShortCodes from Product Description
649
-
650
- = 2.2.3(2018-01-30) =
651
- * Fixed: Variations description issue
652
- * Added: Remove shortcodes function modified
653
-
654
- = 2.2.2(2018-01-26) =
655
- * removed variations for facebook
656
-
657
- = 2.2.1(2018-01-25) =
658
- * product variation issue fixed
659
-
660
- = 2.2.0(2018-01-25) =
661
- * WC 3.1+ compatibility extended
662
-
663
- = 2.1.29(2018-01-09) =
664
- * Added: Bonanza, Real, LeGuide and Crowdfox template added
665
-
666
- = 2.1.28(2017-12-27) =
667
- * Added: Pricerunner template added
668
- * Added: AdForm template added
669
-
670
- = 2.1.27(2017-12-25) =
671
- * Added: Bol.com template added
672
-
673
- = 2.1.26(2017-12-12) =
674
- * Added: Polyvore template added
675
-
676
- = 2.1.25(2017-12-03) =
677
- * Added: Fruugo template added
678
-
679
- = 2.1.24(2017-11-03) =
680
- * Added: FTP port option
681
-
682
- = 2.1.23(2017-10-23) =
683
- * Added: Twenga product feed template added
684
- * Fixed: Internal server error at the middle of feed making
685
-
686
- = 2.1.22(2017-10-17) =
687
- * Added: PriceSpy product feed template added
688
- * Added: PrisJakt product feed template added
689
-
690
- = 2.1.21(2017-10-08) =
691
- * Added: Adroll.com product feed template added
692
-
693
- = 2.1.20(2017-10-04) =
694
- * Fixed: js typeahead error fixed.
695
-
696
- = 2.1.19(2017-10-04) =
697
- * Fixed: decimal issue of progress percent.
698
-
699
- = 2.1.18(2017-09-28) =
700
- * Fixed: Sale Price will be empty if not on sale
701
-
702
- = 2.1.17(2017-09-20) =
703
- * Fixed: FTP Connection issue
704
-
705
- = 2.1.16(2017-09-01) =
706
- * Fixed: XML error for Google and Facebook template
707
-
708
- = 2.1.15(2017-08-27) =
709
- * Fixed: array_merge error
710
- * Added: Strip slashed manual input (Prefix, Suffix, and Pattern)
711
- * Added: HTML entity decoded for Google and Facebook XML header
712
-
713
- = 2.1.14(2017-08-09) =
714
- * Fixed: Variable Product missing issue
715
-
716
- = 2.1.13(2017-08-08) =
717
- * Fixed: Variable Product issue
718
- * Fixed: Unlink temp file error
719
-
720
- = 2.1.12(2017-07-24) =
721
- * Fixed: product count error
722
-
723
- = 2.1.10(2017-07-24) =
724
- * Added: New Option added to feed configuration view
725
- * Added: Plugin Setting menu
726
-
727
- = 2.1.9(2017-07-09) =
728
- * Fixed: Feed execution failed error.
729
-
730
- = 2.1.8(2017-07-09) =
731
- * Fixed: 200 products issue of Auto Feed Update
732
-
733
- = 2.1.7(2017-07-03) =
734
- * Added: Auto Feed Update
735
-
736
- = 2.1.6(2017-05-27) =
737
- * Duplicate Product Issue fixed.
738
- * Removed Product variations for Facebook Template.
739
- * 0 Price issue for Parent product of variation fixed.
740
-
741
- = 2.1.4(2017-05-22) =
742
- * New attribute added for External Product URL
743
-
744
- = 2.1.3(2017-05-12) =
745
- * Solved the output 0 issue for empty attribute value
746
-
747
- = 2.1.2(2017-05-09) =
748
- * Frontend JS conflict issue fixed
749
-
750
- = 2.1.1(2017-05-08) =
751
- * Additional Images error fixed
752
-
753
- = 2.1.0(2017-05-07) =
754
- * Fixed: The blank screen or 500 page not found error
755
- * Added: Sale price value wil return current price
756
- * Added: Support Grouped Product
757
- * Added: Compatible with WooCommerce 3.0+
758
- * Added: Ajax Feed making
759
- * Improved: Auto feed updating functionality
760
- * Added: Comma Separated Additional Images Attribute for Google and Facebook template
761
-
762
- = 2.0.16(2017-05-02) =
763
- * Fixed: Additional Image issue google shopping template
764
-
765
- = 2.0.15(2017-04-27) =
766
- * Fixed the issue: Call to undefined method WC_Product_Variation::get_gallery_image_ids()
767
-
768
- = 2.0.14(2017-04-27) =
769
- * Fixed: Additional Image issue google shopping template
770
-
771
- = 2.0.13(2017-04-09) =
772
- * Added the functionality to make feed for External/Affiliate Product
773
-
774
- = 2.0.12(2017-03-27) =
775
- * Removed default space from after suffix and before prefix.
776
- * Fixed the number_format command issue and documentation updated.
777
- * Fixed last version errors.
778
-
779
- = 2.0.11(2017-03-20) =
780
- * Fixed the zero output error
781
-
782
- = 2.0.10(2017-03-18) =
783
- * Amazon Jewelry Template added
784
-
785
- = 2.0.9(2017-03-16) =
786
- * Fixed the issue to output attribute value 0
787
-
788
- = 2.0.8(2017-03-02) =
789
- * Amazon template error fixed
790
-
791
- = 2.0.7(2017-03-01) =
792
- * Shipping attribute information error and image required issue fixed
793
-
794
- = 2.0.6(2017-02-25) =
795
- * Error fixed for Amazon camera and photo category template
796
-
797
- = 2.0.5(2017-02-20) =
798
- * Code modified for faster feed making
799
-
800
- = 2.0.4(2017-02-08) =
801
- * For Google Shopping template: identifier_exist status value updated from TRUE and FALSE to yes and no according to Google Merchant requirements.
802
-
803
- = 2.0.3(2017-02-06) =
804
- * Fixed: sale price effective date formatting
805
-
806
- = 2.0.2(2017-01-12) =
807
- * Fixed: xmlParseEntityRef: no name for Google Shopping Class
808
-
809
- = 2.0.1(2017-01-12) =
810
- * Fixed: TXT feed encoding error
811
- * Modified: Bing template modified according to new Bing requirements.
812
- * Added: Amazon Inventory template by Category added
813
-
814
- = 2.0.0(2017-01-05) =
815
- * identifier_exist attribute value will be automatically set according to feed configuration for Google Shopping Template.
816
-
817
- = 1.5.36(2016-11-28) =
818
- * Removed Promotional Message
819
-
820
- = 1.5.35(2016-11-27) =
821
- * Added: Functionality to Include Extra header information into feed
822
-
823
- = 1.5.34(2016-11-23) =
824
- * Fixed: Remove non UTF-8 character from attribute output value
825
- * Added: Remove Short Codes from Product Description
826
-
827
- = 1.5.33(2016-11-01) =
828
- * Fixed: Output product category according to category hierarchy
829
-
830
- = 1.5.32(2016-11-01) =
831
- * Fixed: Removed the space between link attribute and suffix. For example, It's possible to add tracking code into url.
832
-
833
- = 1.5.31(2016-10-14) =
834
- * Added: Google Ad words Feed template
835
- * Added: Shopbot feed template
836
- * Added: Remove special character from the attribute output value
837
-
838
- = 1.5.30(2016-10-10) =
839
- * Added the difference between premium and free version
840
-
841
- = 1.5.29(2016-10-04) =
842
- * replace product description line break with space
843
-
844
- = 1.5.28(2016-09-22) =
845
- * class-woo-feed-error-message.php committed
846
-
847
- = 1.5.27(2016-09-22) =
848
- * Show error message if WordPress Upload directory is not writable
849
-
850
- = 1.5.26(2016-09-10) =
851
- * Remove space from beginning and ending of strings for CSV and TXT feed
852
-
853
- = 1.5.25(2016-09-03) =
854
- * Fixed: CSRF Security Vulnerability
855
-
856
- = 1.5.24(2016-09-02) =
857
- * Modified: Hex character encoding error for XML feed
858
- * Fixed: CSRF Security Vulnerability
859
-
860
- = 1.5.23(2016-08-26) =
861
- * Modified: Hex character encoding error for XML feed
862
-
863
- = 1.5.22(2016-08-23) =
864
- * Fixed: Hex character encoding error for XML feed
865
-
866
- = 1.5.21(2016-08-03) =
867
- * Added: is_object checking for global variable product
868
-
869
- = 1.5.20(2016-07-26) =
870
- * Fixed: hard coded db query for product count
871
-
872
- = 1.5.19(2016-07-25) =
873
- * Fixed: return custom attribute value instead of slug
874
-
875
- = 1.5.18(2016-07-21) =
876
- * g:shipping_region attribute added to google merchant class.
877
-
878
- = 1.5.17(2016-07-03) =
879
- * Fixed: Fatal error: Call to a member function is_type()
880
-
881
- = 1.5.16(2016-06-13) =
882
- * Fixed: Blank Screen Error
883
- * Improved: Feed Making Process
884
-
885
- = 1.5.15(2016-05-27) =
886
- * Fixed: Compatible with PHP version 5.3
887
- * Improved: Pre Configured Template Loading Time
888
-
889
- = 1.5.14(2016-05-11) =
890
- * Fixed: List Table Syntax Error. Now compatible with PHP version 5.3
891
- * Fixed: Pre Configured Template Loading Error
892
- * Solved: CSV None enclosure.
893
-
894
- = 1.5.13(2016-04-29) =
895
- * Fixed: Cron Job Auto Feed Update
896
-
897
- = 1.5.12(2016-04-25) =
898
- * Fixed: Custom template update problem
899
- * Added: Template added for Shopbot.com
900
-
901
- = 1.5.11(2016-04-12) =
902
- * Fixed: Blank product and image url
903
- * Fixed: WP List Table Screen error solved
904
- * Variation checking added for parent product export
905
-
906
- = 1.5.10 =
907
- * Google Adwords Template Added
908
- * Top Pro Version Message Removed
909
- * Add New Row dropdown field error fixed
910
-
911
- = 1.5.9 =
912
- * Facebook XML Feed Space Error Fixed
913
- * Google XML Feed Space Error Fixed
914
-
915
- = 1.5.8 =
916
- * Amazon Template Added
917
- * Multiple Regenerate error fixed
918
- * Support Empty Attributes
919
- * Support Dynamic Attribute Reuse
920
- * Support Category Mapping Reuse
921
-
922
- = 1.5.7 =
923
- * Faster Feed Processing Modified
924
- * JS Feed Update Status Conflict Fixed
925
- * Product Filtering Module Modified
926
- * Feed Edit Template Modified
927
-
928
- = 1.5.6 =
929
- * Faster Feed Processing
930
- * Ajax Feed Processing Status Error Fixed
931
-
932
- = 1.5.5 =
933
- * Feed edit error fixed
934
- * Facebook edit template error fixed
935
- * Pattern Output error fixed
936
- * Add New button error fixed
937
- * Feed making progress error fixed
938
- * Custom taxonomy added to value dropdown into feed template (pro)
939
-
940
- = 1.5.4 =
941
- * jQuery Shortable error fixed
942
-
943
- = 1.5.3 =
944
- * Google and Facebook Single item wrapper issue fixed
945
- * Shipping attribute added for Google and Facebook Template
946
- * Support and Docs section added
947
- * Feed making progress issue fixed
948
- * Sale Price start and end date attribute added
949
- * Stock quantity issue fixed
950
-
951
- = 1.5.2 =
952
- * Feed making progress status added
953
-
954
- = 1.5.1 =
955
- * Data Validation Improved
956
-
957
- = 1.5.0 =
958
- * 10 pre configured Template
959
-
960
- = 1.0.0 =
961
- * First Release.
962
-
963
- == Upgrade Notice ==
964
- = 1.5.3 =
965
- This is a major release. Please update to version 1.5.3 . Lots of issue solved and some modification added. If any problem occurred while update then reactivate the plugin. Its a good practice to make a backup of your database before update.
 
 
 
 
1
+ === WooCommerce Product Feed for Google, Bing, eBay and Many More ===
2
+ Contributors: wahid0003
3
+ 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.37
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ WooCommerce Product Feed Generator for Google Merchant (Shopping), Faccebook Catalog, eBay, Bing, PriceSpy, Idealo and More. Support 100+ Merchants.
12
+
13
+ == Description ==
14
+
15
+ **WooCommerce Product Feed** (Woo Feed) generate product feed or data feed to Sync your products with your merchant center like Google Shopping,Facebook Product Ads,Bing Ads, eBay, Amazon etc. The main target of this plugin is to generate product feed, automatically update product information into feed file according to given schedule and sync your product to different shopping engines via HTTP or FTP so that real buyer can get your product into shopping engines like Google Shopping, pricegrabber, pricerunner, nextag,ebay and many more.<br/><br/> Compatible with WooCommerce 3.0+
16
+ <blockquote>
17
+ <h4>Free version support unlimited feed with up to 2000 products including variations.</h4>
18
+ <br/>
19
+ <h4><b><a target="_blank" href="http://webappick.com/plugin/woocommerce-product-feed-pro/">Premium Version</a></b> have some additional awesome features which are not included into free version</h4>
20
+ <br/>
21
+ <h4><b>Premium version also support WooCommerce <a target="_blank" href="https://woocommerce.com/products/composite-products/">Composite</a> and <a target="_blank" href="https://woocommerce.com/products/product-bundles/">Bundle</a></b> Products</h4>
22
+ <br/>
23
+ </blockquote>
24
+ **WHAT IS PRODUCT FEED?**
25
+
26
+ A product feed is a .TXT, CSV, EXCEL or XML file which contain a list of products and their attributes (id, title, description, price, image, link and other attributes) in an organized way so that each product can be displayed into search engines, compared uniquely and can be advertised.
27
+
28
+ **WHY DO I NEED PRODUCT FEED?**
29
+
30
+ You need product feed if you are a merchant with an ecommerce store and want to get you product into search engine or price comparison website or into affiliate network. Product feed supply your product information to those online marketing channel so that buyer can easily find your products.
31
+
32
+ **WHAT IS COMPARISON SHOPPING ENGINE?**
33
+
34
+ A shopping engine or comparison shopping engine is a type of website where shopper can search products based on price, feature and other criteria and compare. Most popular Comparison Shopping Engines are Google Shopping, Pricegrabber, Pricewatch, Shopzilla, Nextag, eBay Commerce Network.
35
+
36
+ <blockquote>
37
+ <h4><a target="_blank" href="http://webappick.helpscoutdocs.com/">Read Documentation and FAQ</a></h4>
38
+ <br/>
39
+ <h4>For Support Email to support@webappick.com </h4>
40
+ <br/>
41
+ </blockquote>
42
+ **WHY SHOULD I CHOSE THIS PLUGIN?**
43
+
44
+ In one word WooCommerce Product Feed is a revolution. Yah, it’s a revolution of woocommerce tech because there are no any modules or extensions that generate automatic or manual feeds those can be synchronized flexibility to shopping places that can be maintained by the people having not much technical knowledge of wordpress coding. Among the thousands reasons of choosing this wordpress plugin we are mentioning a few of them below.
45
+
46
+ [youtube https://www.youtube.com/watch?v=xw3R4v1LMe4]
47
+
48
+ **Google Merchant Feed Upload**
49
+ [youtube https://www.youtube.com/watch?v=PTUYgF7DwEo]
50
+
51
+ **AVAILABLE FEATURES:**
52
+
53
+ * It is highly customizable, having access to 100+ merchant sites & also very responsive of user commands.
54
+ * 10+ pre configured template for Google Shopping,Google Adword,Facebook,Nextag.com,pricegrabber.com,Shopping.com,
55
+ become.com,conexity.com,shopmania.com,shopzilla.com,bing.com
56
+ * You can post your product feeds either manually from your site to shopping engines
57
+ or you can also set FTP to post your feeds automatically to your desired engines.
58
+ * Feeds are also accessible via HTTP or HTTPS. So that merchant can easily and automatically fetch product feed using given Feed URL.
59
+ * There are 3 supported file formats for feeds. They are: XML, TXT, CSV.
60
+ * Attribute Prefix and Suffix. You can easily add Marketing or Promo Text with Product Title, Description And its also possible to add Price symbol,currency code with price.
61
+ * Output formatting using Strip Tags,UTF-8 encode,Remove Space,CDATA,Htmentities,Price and Number format
62
+ * Output Limitation. You can Limit output length according to your merchant feed specification.
63
+ * Scheduled Feed Update
64
+ * Auto Feed upload via FTP
65
+ * Supported Merchants
66
+ * <a target="_blank" href="https://www.google.com/retail/merchant-center/">Google Shopping </a>
67
+ * <a target="_blank" href="https://www.google.com/adwords/">Google Adwords </a>
68
+ * <a target="_blank" href="https://www.facebook.com/business/a/online-sales/dynamic-product-ads"> Facebook Catalog Feed</a>
69
+ * <a target="_blank" href="https://help.pinterest.com/en/business/article/data-source-specification"> Pinterest Catalog Feed </a>
70
+ * <a target="_blank" href="https://advertising.amazon.com/">Amazon Seller Ad </a>
71
+ * <a target="_blank" href="http://www.ebaycommercenetwork.com/">eBay Commerce Network </a>
72
+ * <a target="_blank" href="http://www.nextag.com/">Nextag.com </a>
73
+ * <a target="_blank" href="http://www.pricegrabber.com/">Pricegrabber.com </a>
74
+ * <a target="_blank" href="https://www.kelkoo.com/">Kelkoo.com </a>
75
+ * <a target="_blank" href="http://www.houzz.com/">Houzz.com </a>
76
+ * <a target="_blank" href="http://www.dealtime.com">Dealtime.com </a>
77
+ * <a target="_blank" href="http://www.affiliatewindow.com/uk/">Affiliatewindow.com </a>
78
+ * <a target="_blank" href="http://advertise.bingads.microsoft.com/en-uk/home">Bing Ads </a>
79
+ * <a target="_blank" href="http://www.idealo.de/">Idealo.de </a>
80
+ * <a target="_blank" href="https://www.beslist.nl/">Beslist.nl</a>
81
+ * <a target="_blank" href="https://www.ffshoppen.nl/">ffshoppen.nl</a>
82
+ * <a target="_blank" href="https://www.vergelijk.nl/">vergelijk.nl</a>
83
+ * <a target="_blank" href="https://siroop.ch/">siroop.ch</a>
84
+ * <a target="_blank" href="https://jet.com/">Jet.com</a>
85
+ * <a target="_blank" href="https://www.wish.com/">Wish.com</a>
86
+ * <a target="_blank" href="http://www.bizrate.com/">bizrate.com</a>
87
+ * <a target="_blank" href="http://www.shopping.com/">Shopping.com</a>
88
+ * <a target="_blank" href="http://www.shopzilla.com/">Shopzilla.com</a>
89
+ * <a target="_blank" href="http://www.shopmania.com/">Shopmania.com</a>
90
+ * <a target="_blank" href="http://www.shop.com/">Shop.com</a>
91
+ * <a target="_blank" href="https://pricespy.co.uk/">Pricespy.co.uk</a>
92
+ * <a target="_blank" href="https://www.prisjakt.nu/">Prisjakt.nu</a>
93
+ * <a target="_blank" href="https://www.pricefalls.com/">Pricefalls.com</a>
94
+ * <a target="_blank" href="http://www.pricerunner.co.uk/">Pricerunner.co.uk</a>
95
+ * <a target="_blank" href="http://www.cj.com/">Comission Junction (cj.com)</a>
96
+ * <a target="_blank" href="http://www.polyvore.com/">Polyvore.com</a>
97
+ * <a target="_blank" href="https://www.fruugo.com/">Fruugo.com</a>
98
+ * <a target="_blank" href="https://www.fruugoaustralia.com/">Fruugoaustralia.com</a>
99
+ * <a target="_blank" href="http://opensky.com">Opensky.com</a>
100
+ * <a target="_blank" href="http://11Main.com">11Main.com</a>
101
+ * <a target="_blank" href="http://www.shopbot.ca/">Shopbot.ca</a>
102
+ * <a target="_blank" href="http://www.twenga.com/">Twenga.com/</a>
103
+ * <a target="_blank" href="http://www.wine-searcher.com/">Wine-searcher.com</a>
104
+ * <a target="_blank" href="http://ammoseek.com/">Ammoseek.com</a>
105
+ * <a target="_blank" href="http://www.avantlink.com/">Avantlink.com</a>
106
+ * <a target="_blank" href="http://connexity.com/">Connexity.com</a>
107
+ * <a target="_blank" href="http://www.linkshareuk.com/">Linkshareuk.com</a>
108
+ * <a target="_blank" href="http://www.bonanza.com/">Bonanza.com</a>
109
+ * <a target="_blank" href="https://www.pepperjam.com/">Pepperjam.com</a>
110
+ * <a target="_blank" href="http://www.criteo.com/">Criteo.com</a>
111
+ * <a target="_blank" href="https://www.pixlee.com/">Pixlee.com</a>
112
+ * <a target="_blank" href="https://www.adroll.com">Adroll.com</a>
113
+ * <a target="_blank" href="http://www.graziashop.com/">GraziaShop.com</a>
114
+ * <a target="_blank" href="http://www.leguide.com/">Leguide.com</a>
115
+ * <a target="_blank" href="http://nl.hardware.info/">Hardware.info</a>
116
+ * <a target="_blank" href="http://www.pricewatch.com/">Pricewatch.com</a>
117
+ * <a target="_blank" href="http://www.newegg.com/">Newegg.com</a>
118
+ * <a target="_blank" href="http://www.webgains.com/">Webgains.com</a>
119
+ * <a target="_blank" href="http://www.rakuten.com/">Rakuten.com</a>
120
+ * <a target="_blank" href="https://www.quicksales.com.au/">Quicksales.com.au</a>
121
+ * <a target="_blank" href="http://www.mysmartprice.com/">Mysmartprice.com</a>
122
+ * <a target="_blank" href="http://ae.pricena.com/en/">Pricena.com</a>
123
+ * <a target="_blank" href="http://www.pricejugaad.com/">Pricejugaad.com</a>
124
+ * <a target="_blank" href="https://yaoota.com/en-eg/">Yaoota.com</a>
125
+ * <a target="_blank" href="https://compare.buyhatke.com/">Buyhatke.com</a>
126
+ * <a target="_blank" href="https://www.comparekaro.pk/">Comparekaro.pk</a>
127
+ * <a target="_blank" href="http://site.adform.com">Adform.com</a>
128
+ * <a target="_blank" href="https://www.polyvore.com/">Polyvore.com</a>
129
+ * <a target="_blank" href="https://www.stylight.com/">Stylight.com</a>
130
+ * <a target="_blank" href="https://www.spartoo.co.uk/">Spartoo.co.uk</a>
131
+ * <a target="_blank" href="http://www.choozen.co.uk/">Choozen</a>
132
+ * <a target="_blank" href="https://www.ciao.co.uk/">Ciao</a>
133
+ * <a target="_blank" href="http://www.priceminister.com/">Priceminister.com</a>
134
+ * <a target="_blank" href="https://skinflint.co.uk/">Skinflint</a>
135
+ * <a target="_blank" href="https://www.rakuten.com/">Rakuten</a>
136
+ * <a target="_blank" href="https://www.bol.com/nl/index.html">Bol.com</a>
137
+ * <a target="_blank" href="https://www.crowdfox.com/">Crowdfox.com</a>
138
+ * <a target="_blank" href="https://www.real.de/">Real.de</a>
139
+ * <a target="_blank" href="http://incurvy.co.uk/">Incurvy.co.uk</a>
140
+ * <a target="_blank" href="https://de.allyouneed.com/de/">Allyouneed.com</a>
141
+ * <a target="_blank" href="https://www.apomio.de/">Apomio.de</a>
142
+ * <a target="_blank" href="https://www.billiger.de/">Billiger.de</a>
143
+ * <a target="_blank" href="https://www.domodi.de/">Domodi.de</a>
144
+ * <a target="_blank" href="https://www.fashiola.de/">Fashiola.de</a>
145
+ * <a target="_blank" href="https://geizhals.de/">Geizhals.de</a>
146
+ * <a target="_blank" href="http://www.guenstiger.de/">Guenstiger.de</a>
147
+ * <a target="_blank" href="https://www.hood.de/">Hood.de</a>
148
+ * <a target="_blank" href="https://www.ladenzeile.de/">Ladenzeile.de</a>
149
+ * <a target="_blank" href="https://www.livingo.de/">Livingo.de</a>
150
+ * <a target="_blank" href="https://www.medizinfuchs.de/">Medizinfuchs.de</a>
151
+ * <a target="_blank" href="https://www.moebel.de/">Moebel.de</a>
152
+ * <a target="_blank" href="https://www.mybestbrands.de/">Mybestbrands.de</a>
153
+ * <a target="_blank" href="http://www.preis.de/">Preis.de</a>
154
+ * <a target="_blank" href="https://www.restposten.de/">Restposten.de</a>
155
+ * <a target="_blank" href="https://www.sparmedo.de/">Sparmedo.de</a>
156
+ * <a target="_blank" href="https://www.stylelounge.de/">Stylelounge.de</a>
157
+ * <a target="_blank" href="http://www.stylefruits.de/">Stylefruits.de</a>
158
+ * <a target="_blank" href="https://www.marktplaats.nl/">Marktplaats.nl</a>
159
+ * <a target="_blank" href="http://spartoo.nl/">Spartoo.nl</a>
160
+ * <a target="_blank" href="https://www.ooshopping.nl/">Ooshopping.nl</a>
161
+ * <a target="_blank" href="https://www.vergelijk.nl/">Vergelijk.nl</a>
162
+ * <a target="_blank" href="https://www.kieskeurig.nl/">Kieskeurig.nl</a>
163
+ * <a target="_blank" href="https://tweakers.net/">Tweakers.net</a>
164
+ * <a target="_blank" href="https://www.kleding.nl/">Kleding.nl</a>
165
+ * <a target="_blank" href="https://www.shopalike.it/">Shopalike.it</a>
166
+ * <a target="_blank" href="https://www.trovaprezzi.it/">Trovaprezzi.it</a>
167
+ * <a target="_blank" href="https://www.skroutz.gr/">Skroutz.gr</a>
168
+ * <a target="_blank" href="https://www.manomano.fr/">Manomano.fr</a>
169
+ * <a target="_blank" href="https://www.cdiscount.com/">Cdiscount.com</a>
170
+ * <a target="_blank" href="https://www.fnac.com/">Fnac.com</a>
171
+ * <a target="_blank" href="https://www.comparer.be/">Comparer.be</a>
172
+ * <a target="_blank" href="https://www.cherchons.com/">Cherchons.com</a>
173
+ * <a target="_blank" href="http://www.miinto.com/">Miinto.com</a>
174
+ * <a target="_blank" href="https://www.ricardo.ch/">Ricardo.ch</a>
175
+ * <a target="_blank" href="https://www.kauftipp.ch/">Kauftipp.ch</a>
176
+ * <a target="_blank" href="https://zap.co.il/">Zap.co.il</a>
177
+ * <a target="_blank" href="https://smartly.io/">Smartly.io</a>
178
+ * <a target="_blank" href="https://www.stylight.com/">Stylight.com</a>
179
+ * <a target="_blank" href="https://developer.yahoo.com/nativeandsearch/guide/dynamic-product-ads/operations-dpa/">Yahoo Dynamic Product Ads</a>
180
+ * <a target="_blank" href="https://www.thenextad.com/">TheNextAd.com</a>
181
+ * <a target="_blank" href="https://modina.de/">Modina.de</a>
182
+
183
+ <blockquote>
184
+ <h4>If you like Free Version, you'll love the Pro Version</h4>
185
+ <br/>
186
+ </blockquote>
187
+
188
+ **<a target="_blank" href="http://webappick.com/plugin/woocommerce-product-feed-pro/">WooCommerce Product Feed Pro</a> gives you everything you'll find in free and some awesome functionalities:**
189
+
190
+ **SMART FILTER & CONDITIONS**
191
+
192
+ Smart Filters help you to exclude the non-profitable or out of season products you don’t want to share. Also Its high filtering options help users to filter products according to product titles, price, availability of stocks, user rating and other extensive product specifications.
193
+
194
+ **CATEGORY MAPPING (To Reach Your Buyer)**
195
+
196
+ Categories are the most important key to get products into search result. It is best practice to assign most matching shopping engine category to your store category for each product. During the creating of your feeds you can also create a category for that particular product. And after creating the category you’ll get an option to map it to your market place category so that you can make two categories aligned to each other. This process is totally dynamic by our plugin & you can map all of your categories to make it more relevant & reachable to buyers.
197
+
198
+ **DYNAMIC ATTRIBUTE**
199
+
200
+ The Dynamic Attribute combine the powerful features of the WooCommerce Product Feed Pro with the ability to set your own conditions for any types of attribute.There are different types of Woocommerce users have different types & classes of products and services. So, they may need varieties of custom values to demonstrate their products. And we are giving the options to make dynamic attributes as your need. Also it is possible to generate the data feed file according to the search engines requirements without changing the attributes in your store.
201
+
202
+ **CUSTOM TAXONOMY**
203
+
204
+ User can easily use any custom taxonomy or others woocommerce plugin or extensions taxonomy value into feed. For Example product Brand, Model No size etc. So you can easily use those value into your feed.
205
+
206
+ **FEED MAKING WITH BATCHES**
207
+
208
+ Due to PHP execution time and memory limit its not possible to process Thousands of products at a time. We have developed our plugin with the functionality to make feed with batches. User can easily set Limit and Offset to make feed. This functionality is compatible with any type of server your wordpress is installed and any amount of products you have into your site.
209
+
210
+ **WP OPTIONS**
211
+
212
+ It is possible to use any wp_options values into feed. Most of the plugins used to save data as option. So using premium version of our plugin user can use any other plugin data to make feed.
213
+
214
+ **MULTI LANGUAGE FEED**
215
+
216
+ WooCommerce Product Feed Pro is compatible with WPML WooCommerce plugin. And by supporting WPML this makes it possible for the e-commerce owners to create product feed in different languages. This enables the e-commerce owners the chance to globalize their business in minutes because you always have better chance of selling something if you are selling it in the native language.
217
+
218
+ **EXTENDED PRODUCT TITLE**
219
+
220
+ The first impression becomes the last impression! This is why your title of the product can build interest of the buyer to hit your product. In the e-commerce business, product title attracts customer to get on the link if they are satisfied with the search result. Extended Product Title feature allows the user to extend the title of a product by adding different attributes to it. Extended Product Title is a great way to differentiate the products according to their variations. Such as Size, Color, Custom Text, etc
221
+
222
+ **Support Multi-Vendor Plugins**
223
+
224
+ WooCommerce Product Feed Pro supports multi-vendor product feed generation. You can choose between multiple or single vendors while generating feeds or for all vendors. The multi-vendor platform is a great way to expand your e-commerce site, and our plugin gives you the freedom to control the vendors associated with your website. This plugin supports the most popular multi-vendor plugins WC Vendors, Dokan Multivendor Marketplace and YITH Woocommerce Multi-Vendor.
225
+
226
+ **OTHER IMPORTANT FEATURES**
227
+
228
+ * Supports automatic feed generation at a scheduled time.
229
+ * Supports feed sending to a remote FTP server.
230
+ * Supports Woocommerce composite product and Woocommerce bundle products.
231
+ * Flexibility to remove ‘out of stock’ products.
232
+ * Option to select either product variations or the parent product of the variations.
233
+ * Option to select minimum or maximum variation price for the variable product.
234
+ * Option to select first or minimum or maximum or the sum of the variation quantity for the variable product.
235
+ * Option to generate feed by product type.
236
+ * Option to make feed for specific categories.
237
+ * Lots of advanced commands to modify product information for feed.
238
+ * Current Price attribute – Current price attribute will return Sale Price if available else it will return Regular Price.
239
+ * Product Meta – It’s possible to add Product Meta to the feed.
240
+ * Product Taxonomies – It’s also possible to add Product Taxonomies into the feed.
241
+ * It’s also possible to add Brand Plugin Data (Perfect Woocommerce Brand, Woocommerce Brand, and others) into the feed.
242
+
243
+
244
+ **SUPPORT TEAM**
245
+
246
+ We’ve a dedicated team of coders and wordpress experts to make your journey to us friendlier & error free. So, if you want to use our plugin or if you are facing any problem with our plugin feel free to say us by emailing here: support@webappick.com.
247
+
248
+ == Installation ==
249
+
250
+ Before installing the plugin please make sure that
251
+
252
+ 1. Your php version is 5.4 or greater
253
+ 1. Wordpress version is 3.6 or greater
254
+ 1. WooCommerce version is 2.4 or greater
255
+
256
+ You can also check your system status and versions from WooCommerce > System Status
257
+
258
+ This section describes how to install the plugin and get it working.
259
+
260
+ e.g.
261
+
262
+ 1. Upload `webappick-product-feed-for-woocommerce` folder to the `/wp-content/plugins/` directory
263
+ 1. Activate the plugin through the 'Plugins' menu in WordPress
264
+ 1. Select 'Woo Feed' from admin menu, Click 'Make Feed'
265
+ 1. Select the template and make feed
266
+ 1. Done!
267
+
268
+ == Frequently Asked Questions ==
269
+
270
+ <blockquote>
271
+ <h4>Read <a target="_blank" href="http://webappick.helpscoutdocs.com/article/17-woocommerce-product-feed">Documentation and FAQ</a></h4>
272
+ <br/>
273
+ <h4>For Support Email to support@webappick.com</h4>
274
+ <br/>
275
+ </blockquote>
276
+
277
+ = which shopping engines are supported? =
278
+
279
+ This plugin support all the sopping engines.
280
+
281
+ = Does the plugin support product variation? =
282
+
283
+ Yes
284
+
285
+ = Is there any limitation to feed size? =
286
+
287
+ No, You can make unlimited number of feed
288
+
289
+ = What is the difference between Free and Pro Version? =
290
+
291
+ Free version include all the major functions but Pro version have some awesome functionality.
292
+
293
+ Using pro version:
294
+
295
+ * You can filter product using price, quantity, product name
296
+ * You can use custom taxonomies or other plugins taxonomy value into feed
297
+ * Using Category Mapping You can map your store category with your merchant category which is very useful for visitor to find out your product into merchant site.
298
+ * You can make different price for different merchant using Dynamic Attribute. Also it is possible to set different value for different product using Dynamic Attribute Conditions.
299
+
300
+ == Screenshots ==
301
+
302
+ 1. Feed Making
303
+ 2. FTP info config
304
+
305
+ == Changelog ==
306
+
307
+ = 3.1.37 (2019-10-17) =
308
+ * UI improvement
309
+ * Improve script dependency management
310
+
311
+ = 3.1.36 (2019-10-14) =
312
+ * Documentation Menu Added
313
+
314
+ = 3.1.35 (2019-10-10) =
315
+ * remove echo used with _e()
316
+ * fix generating new db entry on update feed config
317
+ * fix duplicate id on save/update button
318
+
319
+ = 3.1.34 (2019-10-9) =
320
+ * Resolve duplicate filename conflict.
321
+ * Fix undefined variable.
322
+ * Check if function exists before declaration (Resolve error on Pro Version activation.
323
+
324
+ = 3.1.33 (2019-10-7) =
325
+ * Add copy to clip board
326
+ * Fix performance issue on feed add/edit screen
327
+
328
+ = 3.1.32 (2019-10-6) =
329
+ * Fix parent sku not getting populated in feed data
330
+ * Set feed type to CSV for Pinterest
331
+
332
+ = 3.1.31 (2019-10-3) =
333
+ * Strip divi builder shortcode from product description and short-description.
334
+ * Delete old feed file before regenerate.
335
+
336
+ = 3.1.30 (2019-10-2) =
337
+ * Fix Feed doesn't include last product variation
338
+
339
+ = 3.1.29(2019-09-30) =
340
+ * Update Google Taxonomy list at the latest.
341
+ * Add Google Taxonomy in facebook and pinterest template.
342
+ * Google Taxonomy chooser directly in Feed Config without any popup.
343
+ * Optimize JavaScript.
344
+
345
+ = 3.1.28(2019-09-26) =
346
+ * Fix Google Taxonomy Popup with jquery sortable plugin.
347
+ * Fix row become invisible while dragging.
348
+
349
+ = 3.1.27(2019-09-11) =
350
+ * Added: criteo template added
351
+
352
+ = 3.1.26(2019-09-11) =
353
+ * Added: google attribute dropdown issue solved
354
+
355
+ = 3.1.25(2019-09-09) =
356
+ * Added: fyndiq.se template added
357
+
358
+ = 3.1.24(2019-09-03) =
359
+ * Added: miinto.nl template added
360
+
361
+ = 3.1.23(2019-08-28) =
362
+ * Added: fnac.fr template added
363
+
364
+ = 3.1.22(2019-08-25) =
365
+ * Added: missing template files added
366
+
367
+ = 3.1.21(2019-08-20) =
368
+ * Added: vertaa.fi template added
369
+
370
+ = 3.1.20(2019-08-19) =
371
+ * Added: fashiola template added
372
+
373
+ = 3.1.19(2019-08-08) =
374
+ * Added: walmart template added
375
+
376
+ = 3.1.18(2019-08-05) =
377
+ * Added: webmarchand template added
378
+
379
+ = 3.1.17(2019-07-29) =
380
+ * Fixed: feed files permission issue fixed
381
+
382
+ = 3.1.16(2019-07-25) =
383
+ * Fixed: google_attributes option issue fixed
384
+
385
+ = 3.1.15(2019-07-24) =
386
+ * Fixed: Cross-site scripting (XSS) vulnerability issue resolved
387
+
388
+ = 3.1.14(2019-07-23) =
389
+ * Added: modina.de template added
390
+
391
+ = 3.1.13(2019-07-22) =
392
+ * Modified: spartoo.fi template modified
393
+
394
+ = 3.1.12(2019-07-18) =
395
+ * Added: shareasale template added
396
+
397
+ = 3.1.11(2019-07-17) =
398
+ * Added: spartoo.fi template added
399
+
400
+ = 3.1.10(2019-07-15) =
401
+ * Fixed: google template slowly loading issue fixed
402
+
403
+ = 3.1.9(2019-07-11) =
404
+ * Added: shopalike.fr template added
405
+
406
+ = 3.1.8(2019-07-08) =
407
+ * Fixed: pinterest csv feed attribute underscore issue fixed
408
+
409
+ = 3.1.7(2019-07-07) =
410
+ * Added: strip tags set as default in the Output Type of kijiji.ca template
411
+
412
+ = 3.1.6(2019-07-05) =
413
+ * Added: kijiji.ca template added
414
+
415
+ = 3.1.5(2019-07-03) =
416
+ * Added: kieskeurig.nl template added
417
+
418
+ = 3.1.4(2019-06-30) =
419
+ * Added: incurvy template added
420
+
421
+ = 3.1.3(2019-06-27) =
422
+ * Added: CDiscount.fr template added
423
+
424
+ = 3.1.2(2019-06-26) =
425
+ * Fixed: Auto input field populate issue into feed making and edit page has fixed
426
+
427
+ = 3.1.1(2019-06-25) =
428
+ * Added: marktplaats.nl template added
429
+
430
+ = 3.1.0(2019-06-24) =
431
+ * Fixed: Pinterest csv feed issue fixed
432
+
433
+ = 3.0.40(2019-06-21) =
434
+ * Fixed: Make Feed view issue fixed
435
+
436
+ = 3.0.39(2019-06-20) =
437
+ * Fixed: Prefix & suffix with empty value and stripslash issue fixed
438
+ * Added: Override attribute added for facebook template
439
+
440
+ = 3.0.38(2019-06-18) =
441
+ * Added: Vergelijk.be & Comparer.be template added
442
+
443
+ = 3.0.37(2019-06-10) =
444
+ * Added: Rakuten template added
445
+
446
+ = 3.0.36(2019-06-03) =
447
+ * Tweak: Beslist.nl template modified
448
+
449
+ = 3.0.35(2019-05-29) =
450
+ * Tweak: CrowdFox template modified
451
+
452
+ = 3.0.34(2019-05-23) =
453
+ * Fixed: Product attribute empty space issue fixed
454
+
455
+ = 3.0.33(2019-05-21) =
456
+ * Fixed: Empty global attribute value for wc3.6 fixed.
457
+
458
+ = 3.0.32(2019-05-16) =
459
+ * Shipping Cost Comment attribute added for idealo template
460
+
461
+ = 3.0.31(2019-05-13) =
462
+ * Added: billiger.de template added
463
+
464
+ = 3.0.30(2019-05-08) =
465
+ * Added: tax_country,tax_region,tax_rate,tax_ship attribute added.
466
+ * Tweak: tax attribute deleted.
467
+
468
+ = 3.0.29(2019-05-06) =
469
+ * Added: Idealo template added
470
+
471
+ = 3.0.28(2019-04-30) =
472
+ * Tweak: Feed template folder structure change to reduce plugin size
473
+
474
+ = 3.0.27(2019-04-30) =
475
+ * Added: Hintaseuranta.fi template added
476
+
477
+ = 3.0.26(2019-04-29) =
478
+ * Added: SkinFlint.co.uk template added
479
+ * Wordpress 5.2 compatibility checked
480
+ * WooCommerce 3.6 compatibility checked
481
+
482
+ = 3.0.25(2019-04-26) =
483
+ * Added: TheNextAd template added
484
+
485
+ = 3.0.24(2019-04-25) =
486
+ * Fixed: cost_of_good_sold attribute issue fixed for Google & Facebook template
487
+ * Added: tax_category attribute added for Facebook template
488
+
489
+ = 3.0.23(2019-04-24) =
490
+ * Added: Yahoo NFA template added
491
+
492
+ = 3.0.22(2019-04-22) =
493
+ * Added: Stylight template added
494
+ * Added: Google & Facebook template will auto add currency code as suffix for price attribute
495
+
496
+ = 3.0.21(2019-04-18) =
497
+ * Added: Smartly.io template added
498
+
499
+ = 3.0.20(2019-04-16) =
500
+ * Fixed: Myshopping.com.au XML Category tag issue fixed
501
+ * Fixed: Myshopping.com.au recommended attributes added
502
+
503
+ = 3.0.19(2019-04-14) =
504
+ * Added: MyShopping.com.au template added
505
+
506
+ = 3.0.18(2019-04-11) =
507
+ * Added: Pinterest template added
508
+
509
+ = 3.0.17(2019-04-10) =
510
+ * Fixed: Template UI loading conflict with popup builder plugin
511
+
512
+ = 3.0.16(2019-04-08) =
513
+ * Added: fruugoaustralia.com template added
514
+ * Fixed: fruugo.com template updated
515
+
516
+ = 3.0.15(2019-04-04) =
517
+ * Fixed: Zap.co.il template header issue fixed
518
+
519
+ = 3.0.14(2019-04-01) =
520
+ * Added: Zap.co.il template added
521
+
522
+ = 3.0.13(2019-03-28) =
523
+ * Added: Google Local Product template added
524
+
525
+ = 3.0.12(2019-03-22) =
526
+ * Fixed: minor security bugs
527
+
528
+ = 3.0.11(2019-03-21) =
529
+ * Fixed: facebook variation description issue fixed
530
+
531
+ = 3.0.10(2019-03-18) =
532
+ * Fixed: product tags issue fixed
533
+ * Added: new Google Merchant attributes added
534
+
535
+ = 3.0.9(2019-03-15) =
536
+ * Added: Current Price attribute added. Current Price attribute will return sale price if sale price available else it will return regular price.
537
+ * WooCommerce v3.5+ compatibility checked
538
+
539
+ = 3.0.8(2019-03-12) =
540
+ * Added: Facebook template will contain product variations but it will add variation info at the end of the product description so that facebook can not reject variation which do not have short description.
541
+
542
+ = 3.0.7(2019-03-07) =
543
+ * Added: Bing Shipping attribute
544
+ * Fixed: Review notice show after 15 days of installation
545
+ * Fixed: ajax action hook conflicting issue fixed
546
+
547
+ = 3.0.6(2019-03-05) =
548
+ * Fixed: Facebook inventory attribute added
549
+
550
+ = 3.0.5(2019-02-27) =
551
+ * Fixed: Google Local Product Inventory feed template added
552
+
553
+ = 3.0.4(2019-02-25) =
554
+ * Fixed: Google & Facebook condition attribute value changed from New to new
555
+
556
+ = 3.0.3(2019-02-20) =
557
+ * Price with Tax attribute added
558
+ * Product date created and date updated attribute added
559
+ * Google Category notice bug fix
560
+
561
+ = 3.0.2(2019-02-15) =
562
+ * WordPress version 5.1 compatibility checked
563
+
564
+ = 3.0.1(2019-02-06) =
565
+ * Manufacturer attribute added to NexTag template
566
+
567
+ = 3.0.0(2019-01-31) =
568
+ * Minor bug fixing
569
+
570
+ = 2.2.33(2019-01-27) =
571
+ * Google Taxonomy modal issue fixed
572
+
573
+ = 2.2.32(2019-01-24) =
574
+ * Show message at feed generation if woocommerce product not found.
575
+
576
+ = 2.2.31(2019-01-22) =
577
+ * Used home_url() instead of site_url() into google feed header
578
+ * Review request admin message added
579
+
580
+ = 2.2.29(2019-01-20) =
581
+ * Added: SFTP file upload to remote server
582
+
583
+ = 2.2.28(2019-01-11) =
584
+ * Wordpress 5 compatibility checked
585
+ * Default cron interval set to 24 hours
586
+ * Minor bug fix
587
+
588
+ = 2.2.26(2018-11-17) =
589
+ * At First convert Short Codes and then Remove failed Short Codes from String
590
+
591
+ = 2.2.25(2018-11-07) =
592
+ * number_format error fixed
593
+
594
+ = 2.2.24(2018-11-05) =
595
+ * Minor issue fixed
596
+
597
+ = 2.2.23(2018-10-25) =
598
+ * Google Attribute cost_of_goods_sold added
599
+ * Visual Composer shortcode remove issue fixed
600
+
601
+ = 2.2.22(2018-10-10) =
602
+ * Variations missing issue fixed
603
+ * URL encoding issue with suffix fixed
604
+
605
+ = 2.2.21(2018-09-19) =
606
+ * Cron schedule added to update feed individually
607
+
608
+ = 2.2.19(2018-07-31) =
609
+ * Product description default limit set to 5000 for Google Merchant and Facebook template
610
+
611
+ = 2.2.18(2018-07-09) =
612
+ * Google Product category missing warning added for Google Merchant and Facebook template
613
+
614
+ = 2.2.17(2018-07-05) =
615
+ * All field added to amazon template
616
+
617
+ = 2.2.16(2018-07-02) =
618
+ * Strip tag added as default output type for Google and Facebook template
619
+
620
+ = 2.2.15(2018-06-09) =
621
+ * Documentation and Pro plugin link added under plugin activation links
622
+
623
+ = 2.2.14(2018-05-25) =
624
+ * Grouped product price issue fixed
625
+
626
+ = 2.2.11(2018-04-25) =
627
+ * Minor js error fixed
628
+
629
+ = 2.2.10(2018-04-25) =
630
+ * Google Product Category dropdown added for Google Shopping template
631
+
632
+ = 2.2.9(2018-03-23) =
633
+ * Product missing issue fixed
634
+ * Auto update active/inactive status added
635
+
636
+ = 2.2.8(2018-03-14) =
637
+ * Variable product price issue fixed
638
+ * Other minor issues about product are fixed
639
+
640
+ = 2.2.7(2018-03-01) =
641
+ * Product query code improved
642
+
643
+ = 2.2.6(2018-02-15) =
644
+ * Added: Jet.com Template added
645
+ * Added: Wish.com Template added
646
+
647
+ = 2.2.5(2018-02-05) =
648
+ * Fixed: Variations description issue
649
+ * Fixed: Remove shortcodes Automatically
650
+
651
+ = 2.2.4(2018-02-01) =
652
+ * Auto Remove ShortCodes from Product Description
653
+
654
+ = 2.2.3(2018-01-30) =
655
+ * Fixed: Variations description issue
656
+ * Added: Remove shortcodes function modified
657
+
658
+ = 2.2.2(2018-01-26) =
659
+ * removed variations for facebook
660
+
661
+ = 2.2.1(2018-01-25) =
662
+ * product variation issue fixed
663
+
664
+ = 2.2.0(2018-01-25) =
665
+ * WC 3.1+ compatibility extended
666
+
667
+ = 2.1.29(2018-01-09) =
668
+ * Added: Bonanza, Real, LeGuide and Crowdfox template added
669
+
670
+ = 2.1.28(2017-12-27) =
671
+ * Added: Pricerunner template added
672
+ * Added: AdForm template added
673
+
674
+ = 2.1.27(2017-12-25) =
675
+ * Added: Bol.com template added
676
+
677
+ = 2.1.26(2017-12-12) =
678
+ * Added: Polyvore template added
679
+
680
+ = 2.1.25(2017-12-03) =
681
+ * Added: Fruugo template added
682
+
683
+ = 2.1.24(2017-11-03) =
684
+ * Added: FTP port option
685
+
686
+ = 2.1.23(2017-10-23) =
687
+ * Added: Twenga product feed template added
688
+ * Fixed: Internal server error at the middle of feed making
689
+
690
+ = 2.1.22(2017-10-17) =
691
+ * Added: PriceSpy product feed template added
692
+ * Added: PrisJakt product feed template added
693
+
694
+ = 2.1.21(2017-10-08) =
695
+ * Added: Adroll.com product feed template added
696
+
697
+ = 2.1.20(2017-10-04) =
698
+ * Fixed: js typeahead error fixed.
699
+
700
+ = 2.1.19(2017-10-04) =
701
+ * Fixed: decimal issue of progress percent.
702
+
703
+ = 2.1.18(2017-09-28) =
704
+ * Fixed: Sale Price will be empty if not on sale
705
+
706
+ = 2.1.17(2017-09-20) =
707
+ * Fixed: FTP Connection issue
708
+
709
+ = 2.1.16(2017-09-01) =
710
+ * Fixed: XML error for Google and Facebook template
711
+
712
+ = 2.1.15(2017-08-27) =
713
+ * Fixed: array_merge error
714
+ * Added: Strip slashed manual input (Prefix, Suffix, and Pattern)
715
+ * Added: HTML entity decoded for Google and Facebook XML header
716
+
717
+ = 2.1.14(2017-08-09) =
718
+ * Fixed: Variable Product missing issue
719
+
720
+ = 2.1.13(2017-08-08) =
721
+ * Fixed: Variable Product issue
722
+ * Fixed: Unlink temp file error
723
+
724
+ = 2.1.12(2017-07-24) =
725
+ * Fixed: product count error
726
+
727
+ = 2.1.10(2017-07-24) =
728
+ * Added: New Option added to feed configuration view
729
+ * Added: Plugin Setting menu
730
+
731
+ = 2.1.9(2017-07-09) =
732
+ * Fixed: Feed execution failed error.
733
+
734
+ = 2.1.8(2017-07-09) =
735
+ * Fixed: 200 products issue of Auto Feed Update
736
+
737
+ = 2.1.7(2017-07-03) =
738
+ * Added: Auto Feed Update
739
+
740
+ = 2.1.6(2017-05-27) =
741
+ * Duplicate Product Issue fixed.
742
+ * Removed Product variations for Facebook Template.
743
+ * 0 Price issue for Parent product of variation fixed.
744
+
745
+ = 2.1.4(2017-05-22) =
746
+ * New attribute added for External Product URL
747
+
748
+ = 2.1.3(2017-05-12) =
749
+ * Solved the output 0 issue for empty attribute value
750
+
751
+ = 2.1.2(2017-05-09) =
752
+ * Frontend JS conflict issue fixed
753
+
754
+ = 2.1.1(2017-05-08) =
755
+ * Additional Images error fixed
756
+
757
+ = 2.1.0(2017-05-07) =
758
+ * Fixed: The blank screen or 500 page not found error
759
+ * Added: Sale price value wil return current price
760
+ * Added: Support Grouped Product
761
+ * Added: Compatible with WooCommerce 3.0+
762
+ * Added: Ajax Feed making
763
+ * Improved: Auto feed updating functionality
764
+ * Added: Comma Separated Additional Images Attribute for Google and Facebook template
765
+
766
+ = 2.0.16(2017-05-02) =
767
+ * Fixed: Additional Image issue google shopping template
768
+
769
+ = 2.0.15(2017-04-27) =
770
+ * Fixed the issue: Call to undefined method WC_Product_Variation::get_gallery_image_ids()
771
+
772
+ = 2.0.14(2017-04-27) =
773
+ * Fixed: Additional Image issue google shopping template
774
+
775
+ = 2.0.13(2017-04-09) =
776
+ * Added the functionality to make feed for External/Affiliate Product
777
+
778
+ = 2.0.12(2017-03-27) =
779
+ * Removed default space from after suffix and before prefix.
780
+ * Fixed the number_format command issue and documentation updated.
781
+ * Fixed last version errors.
782
+
783
+ = 2.0.11(2017-03-20) =
784
+ * Fixed the zero output error
785
+
786
+ = 2.0.10(2017-03-18) =
787
+ * Amazon Jewelry Template added
788
+
789
+ = 2.0.9(2017-03-16) =
790
+ * Fixed the issue to output attribute value 0
791
+
792
+ = 2.0.8(2017-03-02) =
793
+ * Amazon template error fixed
794
+
795
+ = 2.0.7(2017-03-01) =
796
+ * Shipping attribute information error and image required issue fixed
797
+
798
+ = 2.0.6(2017-02-25) =
799
+ * Error fixed for Amazon camera and photo category template
800
+
801
+ = 2.0.5(2017-02-20) =
802
+ * Code modified for faster feed making
803
+
804
+ = 2.0.4(2017-02-08) =
805
+ * For Google Shopping template: identifier_exist status value updated from TRUE and FALSE to yes and no according to Google Merchant requirements.
806
+
807
+ = 2.0.3(2017-02-06) =
808
+ * Fixed: sale price effective date formatting
809
+
810
+ = 2.0.2(2017-01-12) =
811
+ * Fixed: xmlParseEntityRef: no name for Google Shopping Class
812
+
813
+ = 2.0.1(2017-01-12) =
814
+ * Fixed: TXT feed encoding error
815
+ * Modified: Bing template modified according to new Bing requirements.
816
+ * Added: Amazon Inventory template by Category added
817
+
818
+ = 2.0.0(2017-01-05) =
819
+ * identifier_exist attribute value will be automatically set according to feed configuration for Google Shopping Template.
820
+
821
+ = 1.5.36(2016-11-28) =
822
+ * Removed Promotional Message
823
+
824
+ = 1.5.35(2016-11-27) =
825
+ * Added: Functionality to Include Extra header information into feed
826
+
827
+ = 1.5.34(2016-11-23) =
828
+ * Fixed: Remove non UTF-8 character from attribute output value
829
+ * Added: Remove Short Codes from Product Description
830
+
831
+ = 1.5.33(2016-11-01) =
832
+ * Fixed: Output product category according to category hierarchy
833
+
834
+ = 1.5.32(2016-11-01) =
835
+ * Fixed: Removed the space between link attribute and suffix. For example, It's possible to add tracking code into url.
836
+
837
+ = 1.5.31(2016-10-14) =
838
+ * Added: Google Ad words Feed template
839
+ * Added: Shopbot feed template
840
+ * Added: Remove special character from the attribute output value
841
+
842
+ = 1.5.30(2016-10-10) =
843
+ * Added the difference between premium and free version
844
+
845
+ = 1.5.29(2016-10-04) =
846
+ * replace product description line break with space
847
+
848
+ = 1.5.28(2016-09-22) =
849
+ * class-woo-feed-error-message.php committed
850
+
851
+ = 1.5.27(2016-09-22) =
852
+ * Show error message if WordPress Upload directory is not writable
853
+
854
+ = 1.5.26(2016-09-10) =
855
+ * Remove space from beginning and ending of strings for CSV and TXT feed
856
+
857
+ = 1.5.25(2016-09-03) =
858
+ * Fixed: CSRF Security Vulnerability
859
+
860
+ = 1.5.24(2016-09-02) =
861
+ * Modified: Hex character encoding error for XML feed
862
+ * Fixed: CSRF Security Vulnerability
863
+
864
+ = 1.5.23(2016-08-26) =
865
+ * Modified: Hex character encoding error for XML feed
866
+
867
+ = 1.5.22(2016-08-23) =
868
+ * Fixed: Hex character encoding error for XML feed
869
+
870
+ = 1.5.21(2016-08-03) =
871
+ * Added: is_object checking for global variable product
872
+
873
+ = 1.5.20(2016-07-26) =
874
+ * Fixed: hard coded db query for product count
875
+
876
+ = 1.5.19(2016-07-25) =
877
+ * Fixed: return custom attribute value instead of slug
878
+
879
+ = 1.5.18(2016-07-21) =
880
+ * g:shipping_region attribute added to google merchant class.
881
+
882
+ = 1.5.17(2016-07-03) =
883
+ * Fixed: Fatal error: Call to a member function is_type()
884
+
885
+ = 1.5.16(2016-06-13) =
886
+ * Fixed: Blank Screen Error
887
+ * Improved: Feed Making Process
888
+
889
+ = 1.5.15(2016-05-27) =
890
+ * Fixed: Compatible with PHP version 5.3
891
+ * Improved: Pre Configured Template Loading Time
892
+
893
+ = 1.5.14(2016-05-11) =
894
+ * Fixed: List Table Syntax Error. Now compatible with PHP version 5.3
895
+ * Fixed: Pre Configured Template Loading Error
896
+ * Solved: CSV None enclosure.
897
+
898
+ = 1.5.13(2016-04-29) =
899
+ * Fixed: Cron Job Auto Feed Update
900
+
901
+ = 1.5.12(2016-04-25) =
902
+ * Fixed: Custom template update problem
903
+ * Added: Template added for Shopbot.com
904
+
905
+ = 1.5.11(2016-04-12) =
906
+ * Fixed: Blank product and image url
907
+ * Fixed: WP List Table Screen error solved
908
+ * Variation checking added for parent product export
909
+
910
+ = 1.5.10 =
911
+ * Google Adwords Template Added
912
+ * Top Pro Version Message Removed
913
+ * Add New Row dropdown field error fixed
914
+
915
+ = 1.5.9 =
916
+ * Facebook XML Feed Space Error Fixed
917
+ * Google XML Feed Space Error Fixed
918
+
919
+ = 1.5.8 =
920
+ * Amazon Template Added
921
+ * Multiple Regenerate error fixed
922
+ * Support Empty Attributes
923
+ * Support Dynamic Attribute Reuse
924
+ * Support Category Mapping Reuse
925
+
926
+ = 1.5.7 =
927
+ * Faster Feed Processing Modified
928
+ * JS Feed Update Status Conflict Fixed
929
+ * Product Filtering Module Modified
930
+ * Feed Edit Template Modified
931
+
932
+ = 1.5.6 =
933
+ * Faster Feed Processing
934
+ * Ajax Feed Processing Status Error Fixed
935
+
936
+ = 1.5.5 =
937
+ * Feed edit error fixed
938
+ * Facebook edit template error fixed
939
+ * Pattern Output error fixed
940
+ * Add New button error fixed
941
+ * Feed making progress error fixed
942
+ * Custom taxonomy added to value dropdown into feed template (pro)
943
+
944
+ = 1.5.4 =
945
+ * jQuery Shortable error fixed
946
+
947
+ = 1.5.3 =
948
+ * Google and Facebook Single item wrapper issue fixed
949
+ * Shipping attribute added for Google and Facebook Template
950
+ * Support and Docs section added
951
+ * Feed making progress issue fixed
952
+ * Sale Price start and end date attribute added
953
+ * Stock quantity issue fixed
954
+
955
+ = 1.5.2 =
956
+ * Feed making progress status added
957
+
958
+ = 1.5.1 =
959
+ * Data Validation Improved
960
+
961
+ = 1.5.0 =
962
+ * 10 pre configured Template
963
+
964
+ = 1.0.0 =
965
+ * First Release.
966
+
967
+ == Upgrade Notice ==
968
+ = 1.5.3 =
969
+ This is a major release. Please update to version 1.5.3 . Lots of issue solved and some modification added. If any problem occurred while update then reactivate the plugin. Its a good practice to make a backup of your database before update.
admin/class-woo-feed-admin.php CHANGED
@@ -1,170 +1,174 @@
1
- <?php
2
-
3
- /**
4
- * The admin-specific functionality of the plugin.
5
- *
6
- * @link https://webappick.com/
7
- * @since 1.0.0
8
- *
9
- * @package Woo_Feed
10
- * @subpackage Woo_Feed/admin
11
- * @author Ohidul Islam <wahid@webappick.com>
12
- */
13
- class Woo_Feed_Admin
14
- {
15
-
16
- /**
17
- * The ID of this plugin.
18
- *
19
- * @since 1.0.0
20
- * @access private
21
- * @var string $woo_feed The ID of this plugin.
22
- */
23
- private $woo_feed;
24
-
25
- /**
26
- * The version of this plugin.
27
- *
28
- * @since 1.0.0
29
- * @access private
30
- * @var string $version The current version of this plugin.
31
- */
32
- private $version;
33
-
34
- /**
35
- * Initialize the class and set its properties.
36
- *
37
- * @since 1.0.0
38
- *
39
- * @param string $woo_feed The name of this plugin.
40
- * @param string $version The version of this plugin.
41
- */
42
- public function __construct($woo_feed, $version)
43
- {
44
-
45
- $this->woo_feed = $woo_feed;
46
- $this->version = $version;
47
-
48
- }
49
-
50
- /**
51
- * Register the stylesheets for the admin area.
52
- *
53
- * @since 1.0.0
54
- */
55
- public function enqueue_styles()
56
- {
57
-
58
- /**
59
- * This function is provided for demonstration purposes only.
60
- *
61
- * An instance of this class should be passed to the run() function
62
- * defined in woo_feed_Loader as all of the hooks are defined
63
- * in that particular class.
64
- *
65
- * The woo_feed_Loader will then create the relationship
66
- * between the defined hooks and the functions defined in this
67
- * class.
68
- */
69
-
70
- wp_register_style($this->woo_feed, plugin_dir_url(__FILE__) . 'css/woo-feed-admin.css', array(), $this->version, 'all');
71
- wp_enqueue_style($this->woo_feed);
72
-
73
- wp_enqueue_style( 'selectize-css', plugin_dir_url(__FILE__) . 'css/selectize.css', array(),$this->version);
74
-
75
- }
76
-
77
- /**
78
- * Register the JavaScript for the admin area.
79
- *
80
- * @since 1.0.0
81
- */
82
- public function enqueue_scripts()
83
- {
84
-
85
- /**
86
- * This function is provided for demonstration purposes only.
87
- *
88
- * An instance of this class should be passed to the run() function
89
- * defined in Woo_Feed_Loader as all of the hooks are defined
90
- * in that particular class.
91
- *
92
- * The woo_feed_Loader will then create the relationship
93
- * between the defined hooks and the functions defined in this
94
- * class.
95
- */
96
-
97
-
98
- wp_register_script($this->woo_feed . "_jquery-selectize", plugin_dir_url(__FILE__) . 'js/selectize.min.js', array(), $this->version, false);
99
- wp_enqueue_script($this->woo_feed . "_jquery-selectize");
100
-
101
- wp_register_script($this->woo_feed . "_jvalidate", plugin_dir_url(__FILE__) . 'js/jquery.validate.min.js', array(), $this->version, false);
102
- wp_enqueue_script($this->woo_feed . "_jvalidate");
103
- wp_register_script($this->woo_feed . "_jvalidateadition", plugin_dir_url(__FILE__) . 'js/additional-methods.min.js', array(), $this->version, false);
104
- wp_enqueue_script($this->woo_feed . "_jvalidateadition");
105
-
106
- wp_register_script($this->woo_feed . "_shortable", plugin_dir_url(__FILE__) . 'js/jquery-sortable.js', array(), $this->version, false);
107
- wp_enqueue_script($this->woo_feed . "_shortable");
108
-
109
- wp_register_script($this->woo_feed, plugin_dir_url(__FILE__) . 'js/woo-feed-admin.js', array( 'jquery', 'clipboard' ), $this->version, false);
110
-
111
- $wpf_feed_nonce = wp_create_nonce('wpf_feed_nonce');
112
- wp_localize_script($this->woo_feed, 'wpf_ajax_obj', array(
113
- 'wpf_ajax_url' => admin_url('admin-ajax.php'),
114
- 'nonce' => $wpf_feed_nonce,
115
- ));
116
-
117
- wp_enqueue_script($this->woo_feed);
118
-
119
- }
120
-
121
- /**
122
- * Register the Plugin's Admin Pages for the admin area.
123
- *
124
- * @since 1.0.0
125
- */
126
- public function load_admin_pages() {
127
- /**
128
- * This function is provided for making admin pages into admin area.
129
- *
130
- * An instance of this class should be passed to the run() function
131
- * defined in WOO_FEED_Loader as all of the hooks are defined
132
- * in that particular class.
133
- *
134
- * The WOO_FEED_Loader will then create the relationship
135
- * between the defined hooks and the functions defined in this
136
- * class.
137
- */
138
- if ( function_exists('add_options_page') ) {
139
- add_menu_page( __('Woo Feed', 'woo-feed'), __('Woo Feed', 'woo-feed'), 'manage_woocommerce', 'webappick-manage-feeds', 'woo_feed_manage_feed', 'dashicons-rss' );
140
- add_submenu_page( 'webappick-manage-feeds', __('Manage Feeds', 'woo-feed'), __('Manage Feeds', 'woo-feed'), 'manage_woocommerce', 'webappick-manage-feeds', 'woo_feed_manage_feed' );
141
- add_submenu_page( 'webappick-manage-feeds', __('Make Feed', 'woo-feed'), __('Make Feed', 'woo-feed'), 'manage_woocommerce', 'webappick-new-feed', 'woo_feed_generate_feed' );
142
- add_submenu_page( 'webappick-manage-feeds', __('Settings', 'woo-feed'), __('Settings', 'woo-feed'), 'manage_woocommerce', 'webappick-feed-settings', 'woo_feed_config_feed' );
143
- add_submenu_page( 'webappick-manage-feeds', __('Documents', 'woo-feed'), '<span class="woo-feed-docs">' . __('Docs', 'woo-feed') . '</span>', 'manage_woocommerce', 'webappick-feed-docs', array( WooFeedDocs::getInstance(), 'woo_feed_docs' ) );
144
- add_submenu_page( 'webappick-manage-feeds', __('Premium', 'woo-feed'), __('Premium', 'woo-feed'), 'manage_woocommerce', 'webappick-feed-pro-vs-free', 'woo_feed_pro_vs_free' );
145
- }
146
- }
147
-
148
- /**
149
- * Redirect user to with new menu slug (if user browser any bookmarked url)
150
- * @since 3.1.7
151
- * @return void
152
- */
153
- public function handle_old_menu_slugs() {
154
- global $pagenow;
155
- // redirect user to new old slug => new slug
156
- $redirect_to = array(
157
- 'webappick-product-feed-for-woocommerce/admin/class-woo-feed-admin.php' => 'webappick-new-feed',
158
- 'woo_feed_manage_feed' => 'webappick-manage-feeds',
159
- 'woo_feed_config_feed' => 'webappick-feed-settings',
160
- 'woo_feed_pro_vs_free' => 'webappick-feed-pro-vs-free',
161
- );
162
- if( $pagenow === 'admin.php' && isset( $_GET['page'] ) && ! empty( $_GET['page'] ) ) {
163
- foreach( $redirect_to as $from => $to ) {
164
- if( $_GET['page'] !== $from ) continue;
165
- wp_redirect( admin_url( 'admin.php?page=' . $to ), 301 );
166
- die();
167
- }
168
- }
169
- }
170
- }
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * The admin-specific functionality of the plugin.
5
+ *
6
+ * @link https://webappick.com/
7
+ * @since 1.0.0
8
+ *
9
+ * @package Woo_Feed
10
+ * @subpackage Woo_Feed/admin
11
+ * @author Ohidul Islam <wahid@webappick.com>
12
+ */
13
+ class Woo_Feed_Admin
14
+ {
15
+
16
+ /**
17
+ * The ID of this plugin.
18
+ *
19
+ * @since 1.0.0
20
+ * @access private
21
+ * @var string $woo_feed The ID of this plugin.
22
+ */
23
+ private $woo_feed;
24
+
25
+ /**
26
+ * The version of this plugin.
27
+ *
28
+ * @since 1.0.0
29
+ * @access private
30
+ * @var string $version The current version of this plugin.
31
+ */
32
+ private $version;
33
+
34
+ /**
35
+ * Initialize the class and set its properties.
36
+ *
37
+ * @since 1.0.0
38
+ *
39
+ * @param string $woo_feed The name of this plugin.
40
+ * @param string $version The version of this plugin.
41
+ */
42
+ public function __construct($woo_feed, $version)
43
+ {
44
+
45
+ $this->woo_feed = $woo_feed;
46
+ $this->version = $version;
47
+
48
+ }
49
+
50
+ /**
51
+ * Register the stylesheets for the admin area.
52
+ *
53
+ * @since 1.0.0
54
+ */
55
+ public function enqueue_styles( $hook ) {
56
+
57
+ /**
58
+ * This function is provided for demonstration purposes only.
59
+ *
60
+ * An instance of this class should be passed to the run() function
61
+ * defined in woo_feed_Loader as all of the hooks are defined
62
+ * in that particular class.
63
+ *
64
+ * The woo_feed_Loader will then create the relationship
65
+ * between the defined hooks and the functions defined in this
66
+ * class.
67
+ */
68
+
69
+ wp_register_style( 'selectize', plugin_dir_url(__FILE__) . 'css/selectize.css', array(),$this->version );
70
+ wp_register_style( 'slick', plugin_dir_url(__FILE__) . 'css/slick.css', array(),$this->version );
71
+ wp_register_style( 'slick-theme', plugin_dir_url(__FILE__) . 'css/slick-theme.css', array(),$this->version );
72
+ $mainDeps = array( 'selectize' );
73
+ if( $hook == 'woo-feed_page_webappick-feed-pro-vs-free' ) {
74
+ $mainDeps = array_merge( $mainDeps, array('slick', 'slick-theme') );
75
+ }
76
+ wp_register_style( $this->woo_feed, plugin_dir_url(__FILE__) . 'css/woo-feed-admin.css', $mainDeps, $this->version, 'all' );
77
+
78
+ wp_enqueue_style( $this->woo_feed );
79
+
80
+ }
81
+
82
+ /**
83
+ * Register the JavaScript for the admin area.
84
+ *
85
+ * @since 1.0.0
86
+ */
87
+ public function enqueue_scripts( $hook ) {
88
+
89
+ /**
90
+ * This function is provided for demonstration purposes only.
91
+ *
92
+ * An instance of this class should be passed to the run() function
93
+ * defined in Woo_Feed_Loader as all of the hooks are defined
94
+ * in that particular class.
95
+ *
96
+ * The woo_feed_Loader will then create the relationship
97
+ * between the defined hooks and the functions defined in this
98
+ * class.
99
+ */
100
+
101
+
102
+ wp_register_script( "jquery-selectize", plugin_dir_url(__FILE__) . 'js/selectize.min.js', array( 'jquery' ), $this->version, false );
103
+ wp_register_script( "jquery-validate", plugin_dir_url(__FILE__) . 'js/jquery.validate.min.js', array( 'jquery' ), $this->version, false );
104
+ wp_register_script( "jquery-validate-additional-methods", plugin_dir_url(__FILE__) . 'js/additional-methods.min.js', array( 'jquery', 'jquery-validate' ), $this->version, false );
105
+ wp_register_script( "jquery-sortable", plugin_dir_url(__FILE__) . 'js/jquery-sortable.js', array( 'jquery' ), $this->version, false );
106
+ wp_register_script( "jquery-slick", plugin_dir_url(__FILE__) . 'js/slick.js', array( 'jquery' ), $this->version, false );
107
+
108
+ $mainDeps = array( 'jquery', 'clipboard', 'jquery-selectize', 'jquery-sortable', 'jquery-validate', 'jquery-validate-additional-methods' );
109
+ if( $hook == 'woo-feed_page_webappick-feed-pro-vs-free' ) {
110
+ $mainDeps[] = 'jquery-slick';
111
+ }
112
+
113
+ wp_register_script($this->woo_feed, plugin_dir_url(__FILE__) . 'js/woo-feed-admin.js', $mainDeps, $this->version, false);
114
+
115
+ $wpf_feed_nonce = wp_create_nonce('wpf_feed_nonce');
116
+ wp_localize_script($this->woo_feed, 'wpf_ajax_obj', array(
117
+ 'wpf_ajax_url' => admin_url('admin-ajax.php'),
118
+ 'nonce' => $wpf_feed_nonce,
119
+ ));
120
+
121
+ wp_enqueue_script($this->woo_feed);
122
+
123
+ }
124
+
125
+ /**
126
+ * Register the Plugin's Admin Pages for the admin area.
127
+ *
128
+ * @since 1.0.0
129
+ */
130
+ public function load_admin_pages() {
131
+ /**
132
+ * This function is provided for making admin pages into admin area.
133
+ *
134
+ * An instance of this class should be passed to the run() function
135
+ * defined in WOO_FEED_Loader as all of the hooks are defined
136
+ * in that particular class.
137
+ *
138
+ * The WOO_FEED_Loader will then create the relationship
139
+ * between the defined hooks and the functions defined in this
140
+ * class.
141
+ */
142
+ if ( function_exists('add_options_page') ) {
143
+ add_menu_page( __('Woo Feed', 'woo-feed'), __('Woo Feed', 'woo-feed'), 'manage_woocommerce', 'webappick-manage-feeds', 'woo_feed_manage_feed', 'dashicons-rss' );
144
+ add_submenu_page( 'webappick-manage-feeds', __('Manage Feeds', 'woo-feed'), __('Manage Feeds', 'woo-feed'), 'manage_woocommerce', 'webappick-manage-feeds', 'woo_feed_manage_feed' );
145
+ add_submenu_page( 'webappick-manage-feeds', __('Make Feed', 'woo-feed'), __('Make Feed', 'woo-feed'), 'manage_woocommerce', 'webappick-new-feed', 'woo_feed_generate_feed' );
146
+ add_submenu_page( 'webappick-manage-feeds', __('Settings', 'woo-feed'), __('Settings', 'woo-feed'), 'manage_woocommerce', 'webappick-feed-settings', 'woo_feed_config_feed' );
147
+ add_submenu_page( 'webappick-manage-feeds', __('Documents', 'woo-feed'), '<span class="woo-feed-docs">' . __('Docs', 'woo-feed') . '</span>', 'manage_woocommerce', 'webappick-feed-docs', array( WooFeedDocs::getInstance(), 'woo_feed_docs' ) );
148
+ add_submenu_page( 'webappick-manage-feeds', __('Premium', 'woo-feed'), __('Premium', 'woo-feed'), 'manage_woocommerce', 'webappick-feed-pro-vs-free', 'woo_feed_pro_vs_free' );
149
+ }
150
+ }
151
+
152
+ /**
153
+ * Redirect user to with new menu slug (if user browser any bookmarked url)
154
+ * @since 3.1.7
155
+ * @return void
156
+ */
157
+ public function handle_old_menu_slugs() {
158
+ global $pagenow;
159
+ // redirect user to new old slug => new slug
160
+ $redirect_to = array(
161
+ 'webappick-product-feed-for-woocommerce/admin/class-woo-feed-admin.php' => 'webappick-new-feed',
162
+ 'woo_feed_manage_feed' => 'webappick-manage-feeds',
163
+ 'woo_feed_config_feed' => 'webappick-feed-settings',
164
+ 'woo_feed_pro_vs_free' => 'webappick-feed-pro-vs-free',
165
+ );
166
+ if( $pagenow === 'admin.php' && isset( $_GET['page'] ) && ! empty( $_GET['page'] ) ) {
167
+ foreach( $redirect_to as $from => $to ) {
168
+ if( $_GET['page'] !== $from ) continue;
169
+ wp_redirect( admin_url( 'admin.php?page=' . $to ), 301 );
170
+ die();
171
+ }
172
+ }
173
+ }
174
+ }
admin/class-woo-feed-manage-list.php CHANGED
@@ -1,538 +1,538 @@
1
- <?php ob_start();
2
-
3
- /**
4
- * Feed List
5
- *
6
- * @link https://webappick.com/
7
- * @since 1.0.0
8
- *
9
- * @package Woo_Feed_DAttribute_list
10
- * @author Ohidul Islam <wahid@webappick.com>
11
- */
12
- class Woo_Feed_Manage_list extends Woo_Feed_List_Table
13
- {
14
-
15
- /** ************************************************************************
16
- * Normally we would be querying data from a database and manipulating that
17
- * for use in your list table. For this example, we're going to simplify it
18
- * slightly and create a pre-built array. Think of this as the data that might
19
- * be returned by $wpdb->query()
20
- *
21
- * In a real-world scenario, you would make your own custom query inside
22
- * this class' prepare_items() method.
23
- *
24
- * @var array
25
- **************************************************************************/
26
-
27
-
28
- /** ************************************************************************
29
- * REQUIRED. Set up a constructor that references the parent constructor. We
30
- * use the parent reference to set some default configs.
31
- ***************************************************************************/
32
- function __construct()
33
- {
34
- global $status, $page;
35
-
36
- //Set parent defaults
37
- parent::__construct(array(
38
- 'singular' => __('feed'), //singular name of the listed records
39
- 'plural' => __('feeds'), //plural name of the listed records
40
- 'ajax' => false //does this table support ajax?
41
- ));
42
-
43
- }
44
-
45
-
46
- /** ************************************************************************
47
- * Recommended. This method is called when the parent class can't find a method
48
- * specifically build for a given column. Generally, it's recommended to include
49
- * one method for each column you want to render, keeping your package class
50
- * neat and organized. For example, if the class needs to process a column
51
- * named 'title', it would first see if a method named $this->column_title()
52
- * exists - if it does, that method will be used. If it doesn't, this one will
53
- * be used. Generally, you should try to use custom column methods as much as
54
- * possible.
55
- *
56
- * Since we have defined a column_title() method later on, this method doesn't
57
- * need to concern itself with any column with a name of 'title'. Instead, it
58
- * needs to handle everything else.
59
- *
60
- * For more detailed insight into how columns are handled, take a look at
61
- * WP_List_Table::single_row_columns()
62
- *
63
- * @param array $item A singular item (one full row's worth of data)
64
- * @param string $column_name The name/slug of the column to be processed
65
- * @return string Text or HTML to be placed inside the column <td>
66
- *
67
- **************************************************************************/
68
- function column_default($item, $column_name) {
69
- $getItem = $item['option_name'];
70
- $statusId = $item['option_id'];
71
- $itemInfo = unserialize(get_option($getItem));
72
- switch ($column_name) {
73
- case 'option_name':
74
- $name = $item[$column_name];
75
- return str_replace("wf_feed_", "", $name);
76
- case 'status':
77
- if(!isset($itemInfo['status']) || $itemInfo['status'] == 1){
78
- return ' <div class="wf_status_wrap"><input style="display: none;" data-index='.$statusId.' id='.$statusId.' checked class="woo_feed_status_input" type="checkbox" value="'.$getItem.'"/>
79
- <label for='.$statusId.' class= "woo-feed_active_status"></label></div>';
80
- }else{
81
- return ' <div class="wf_status_wrap"> <input style="display: none;" data-index='.$statusId.' id='.$statusId.' class="woo_feed_status_input" type="checkbox" value="'.$getItem.'"/>
82
- <label for='.$statusId.' class= "woo-feed_active_status"></label> </div>';
83
- }
84
- case 'provider':
85
- /** @noinspection SpellCheckingInspection */
86
- $provider = $itemInfo['feedrules']['provider'];
87
- return ucwords(str_replace("_", " ", $provider));
88
- case 'type':
89
- /** @noinspection SpellCheckingInspection */
90
- $feedType = $itemInfo['feedrules']['feedType'];
91
- return strtoupper(str_replace("_", " ", $feedType));
92
- case 'url':
93
- /** @noinspection HtmlUnknownAttribute,SpellCheckingInspection */
94
- return sprintf(
95
- '<span class="toClipboard" data-clipboard-target="#_url%1$s" id="_url%1$s">%2$s</span><span class="toClipboard" data-clipboard-target="#_url%1$s">%3$s</span>',
96
- $statusId,
97
- $itemInfo[ $column_name ],
98
- '<img src="data:image/svg+xml,%0A%3Csvg height=\'1024\' width=\'896\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M128 768h256v64H128v-64z m320-384H128v64h320v-64z m128 192V448L384 640l192 192V704h320V576H576z m-288-64H128v64h160v-64zM128 704h160v-64H128v64z m576 64h64v128c-1 18-7 33-19 45s-27 18-45 19H64c-35 0-64-29-64-64V192c0-35 29-64 64-64h192C256 57 313 0 384 0s128 57 128 128h192c35 0 64 29 64 64v320h-64V320H64v576h640V768zM128 256h512c0-35-29-64-64-64h-64c-35 0-64-29-64-64s-29-64-64-64-64 29-64 64-29 64-64 64h-64c-35 0-64 29-64 64z\' /%3E%3C/svg%3E%0A" alt="' . __( 'Copy To Clipboard') . '" class="clippy">' );
99
- case 'last_updated':
100
- return $itemInfo[$column_name];
101
- case 'view':
102
- $view = $itemInfo['url'];
103
- /** @noinspection HtmlUnknownTarget */
104
- return sprintf(
105
- '<a href="%1$s" class="button" target="_blank">%2$s</a>&nbsp;
106
- <input type="button" id="%3$s" value="%4$s" class="button wpf_regenerate">&nbsp;
107
- <a href="%1$s" class="button" target="_blank" download>%5$s</a>',
108
- $view, __( 'View' ), $getItem, __( 'Regenerate' ), __( 'Download' ) );
109
- default:
110
- return false;
111
- }
112
- }
113
-
114
-
115
- /** ************************************************************************
116
- * Recommended. This is a custom column method and is responsible for what
117
- * is rendered in any column with a name/slug of 'title'. Every time the class
118
- * needs to render a column, it first looks for a method named
119
- * column_{$column_title} - if it exists, that method is run. If it doesn't
120
- * exist, column_default() is called instead.
121
- *
122
- * This example also illustrates how to implement rollover actions. Actions
123
- * should be an associative array formatted as 'slug'=>'link html' - and you
124
- * will need to generate the URLs yourself. You could even ensure the links
125
- *
126
- *
127
- * @see WP_List_Table::::single_row_columns()
128
- * @param array $item A singular item (one full row's worth of data)
129
- * @return string Text to be placed inside the column <td> (movie title only)
130
- **************************************************************************/
131
- function column_option_name($item)
132
- {
133
- //Build row actions
134
- $edit_nonce = wp_create_nonce('wf_edit_feed');
135
- $delete_nonce = wp_create_nonce('wf_delete_feed');
136
- //$title = '<strong>' . $item['option_name'] . '</strong>';
137
-
138
- $actions = array(
139
- 'edit' => sprintf('<a href="?page=%s&action=%s&feed=%s&_wpnonce=%s">' . __('Edit', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'edit-feed', $item['option_name'], $edit_nonce),
140
- 'delete' => sprintf('<a val="?page=%s&action=%s&feed=%s&_wpnonce=%s" class="single-feed-delete" style="cursor: pointer;">' . __('Delete', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'delete-feed', absint($item['option_id']), $delete_nonce)
141
- );
142
-
143
- //Return the title contents
144
- $name = str_replace("wf_feed_", "", $item['option_name']);
145
- return sprintf('%1$s <span style="color:silver">(id:%2$s)</span>%3$s',
146
- /*$1%s*/
147
- $name,
148
- /*$2%s*/
149
- $item['option_id'],
150
- /*$3%s*/
151
- $this->row_actions($actions)
152
- );
153
- }
154
-
155
- public static function get_feeds($search = "")
156
- {
157
- global $wpdb;
158
- $var = "wf_feed_";
159
- $query = $wpdb->prepare("SELECT * FROM $wpdb->options WHERE option_name LIKE %s ORDER BY option_id DESC;", $var . "%");
160
- $result = $wpdb->get_results($query, 'ARRAY_A');
161
-
162
- return $result;
163
- }
164
-
165
- /**
166
- * Delete a Feed.
167
- *
168
- * @param int $id Feed ID
169
- * @return false|int
170
- */
171
- public static function delete_feed($id)
172
- {
173
- global $wpdb;
174
- self::delete_feed_file($id);
175
- return $wpdb->delete(
176
- "{$wpdb->prefix}options",array('option_id'=>$id), array('%d')
177
- );
178
- }
179
-
180
- /**
181
- * Delete a Feed File.
182
- *
183
- * @param int $id customer ID
184
- * @return false|int
185
- */
186
- public static function delete_feed_file($id)
187
- {
188
- global $wpdb;
189
- $mylink = $wpdb->get_row("SELECT * FROM {$wpdb->prefix}options WHERE option_id = $id");
190
- $option_name = $mylink->option_name;
191
- $feedInfo = unserialize(get_option($option_name));
192
-
193
- $upload_dir = wp_upload_dir();
194
- $base = $upload_dir['basedir'];
195
- $path = $base . "/woo-feed/" . $feedInfo['feedrules']['provider'] . "/" . $feedInfo['feedrules']['feedType'];
196
- $file = $path . "/" . $feedInfo['feedrules']['filename'] . "." . $feedInfo['feedrules']['feedType'];
197
- unlink($file);
198
- }
199
-
200
- /**
201
- * Returns the count of records in the database.
202
- *
203
- * @return null|string
204
- */
205
- public static function record_count()
206
- {
207
- global $wpdb;
208
- $sql = "SELECT * FROM {$wpdb->prefix}options WHERE option_name like 'wf_feed_%'";
209
- return $wpdb->get_var($sql);
210
- }
211
-
212
- /** Text displayed when no data is available */
213
- public function no_items()
214
- {
215
- _e('No feed available.', 'woo-feed');
216
- }
217
-
218
-
219
- /** ************************************************************************
220
- * REQUIRED if displaying checkboxes or using bulk actions! The 'cb' column
221
- * is given special treatment when columns are processed. It ALWAYS needs to
222
- * have it's own method.
223
- *
224
- * @see WP_List_Table::::single_row_columns()
225
- * @param array $item A singular item (one full row's worth of data)
226
- * @return string Text to be placed inside the column <td> (movie title only)
227
- **************************************************************************/
228
- function column_cb($item)
229
- {
230
- return sprintf(
231
- '<input type="checkbox" name="%1$s[]" value="%2$s" />',
232
- /*$1%s*/
233
- $this->_args['singular'], //Let's simply repurpose the table's singular label ("movie")
234
- /*$2%s*/
235
- $item['option_id'] //The value of the checkbox should be the record's id
236
- );
237
- }
238
-
239
-
240
- function column_name($item)
241
- {
242
- $edit_nonce = wp_create_nonce('wf_edit_feed');
243
- $delete_nonce = wp_create_nonce('wf_delete_feed');
244
- $title = '<strong>' . $item['option_name'] . '</strong>';
245
- $actions = array(
246
- 'edit' => sprintf('<a href="?page=%s&action=%s&feed=%s&_wpnonce=%s">' . __('Edit', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'edit-feed', absint($item['option_id']), $edit_nonce),
247
- 'delete' => sprintf('<a val="?page=%s&action=%s&feed=%s&_wpnonce=%s" class="single-feed-delete" style="cursor: pointer;">' . __('Delete', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'delete-feed', absint($item['option_id']), $delete_nonce)
248
- );
249
- return $title . $this->row_actions($actions);
250
- }
251
-
252
- /** ************************************************************************
253
- * REQUIRED! This method dictates the table's columns and titles. This should
254
- * return an array where the key is the column slug (and class) and the value
255
- * is the column's title text. If you need a checkbox for bulk actions, refer
256
- * to the $columns array below.
257
- *
258
- * The 'cb' column is treated differently than the rest. If including a checkbox
259
- * column in your table you must create a column_cb() method. If you don't need
260
- * bulk actions or checkboxes, simply leave the 'cb' entry out of your array.
261
- *
262
- * @see WP_List_Table::::single_row_columns()
263
- * @return array An associative array containing column information: 'slugs'=>'Visible Titles'
264
- **************************************************************************/
265
- function get_columns()
266
- {
267
- $columns = array(
268
- 'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
269
- 'status' => __('Status'),
270
- 'option_name' => __('File Name'),
271
- 'provider' => __('Provider'),
272
- 'type' => __('Type'),
273
- 'url' => __("Feed URL"),
274
- 'last_updated' => __("Last Updated"),
275
- 'view' => __("View")
276
- );
277
- return $columns;
278
- }
279
-
280
-
281
- /** ************************************************************************
282
- * Optional. If you want one or more columns to be sortable (ASC/DESC toggle),
283
- * you will need to register it here. This should return an array where the
284
- * key is the column that needs to be sortable, and the value is db column to
285
- * sort by. Often, the key and value will be the same, but this is not always
286
- * the case (as the value is a column name from the database, not the list table).
287
- *
288
- * This method merely defines which columns should be sortable and makes them
289
- * clickable - it does not handle the actual sorting. You still need to detect
290
- * the ORDERBY and ORDER querystring variables within prepare_items() and sort
291
- * your data accordingly (usually by modifying your query).
292
- *
293
- * @return array An associative array containing all the columns that should be sortable: 'slugs'=>array('data_values',bool)
294
- **************************************************************************/
295
- function get_sortable_columns()
296
- {
297
- $sortable_columns = array(
298
- 'option_name' => array('option_name', false)
299
- );
300
- return $sortable_columns;
301
- }
302
-
303
-
304
- /** ************************************************************************
305
- * Optional. If you need to include bulk actions in your list table, this is
306
- * the place to define them. Bulk actions are an associative array in the format
307
- * 'slug'=>'Visible Title'
308
- *
309
- * If this method returns an empty value, no bulk action will be rendered. If
310
- * you specify any bulk actions, the bulk actions box will be rendered with
311
- * the table automatically on display().
312
- *
313
- * Also note that list tables are not automatically wrapped in <form> elements,
314
- * so you will need to create those manually in order for bulk actions to function.
315
- *
316
- * @return array An associative array containing all the bulk actions: 'slugs'=>'Visible Titles'
317
- **************************************************************************/
318
- function get_bulk_actions()
319
- {
320
- $actions = array(
321
- 'bulk-delete' => __('Delete')
322
- );
323
- return $actions;
324
- }
325
-
326
-
327
- /** ************************************************************************
328
- * Optional. You can handle your bulk actions anywhere or anyhow you prefer.
329
- * For this example package, we will handle it in the class to keep things
330
- * clean and organized.
331
- *
332
- * @see $this->prepare_items()
333
- **************************************************************************/
334
- public function process_bulk_action()
335
- {
336
- //Detect when a bulk action is being triggered...
337
- if ('delete-feed' === $this->current_action()) {
338
- // In our file that handles the request, verify the nonce.
339
- $nonce = esc_attr($_REQUEST['_wpnonce']);
340
- if (!wp_verify_nonce($nonce, 'wf_delete_feed')) {
341
- update_option('wpf_message', 'Failed To Delete Feed. You do not have sufficient permission to delete.');
342
- wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=error"));
343
- } else {
344
- if (self::delete_feed(absint($_GET['feed']))) {
345
-
346
- update_option('wpf_message', 'Feed Deleted Successfully');
347
- wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=success"));
348
- } else {
349
- update_option('wpf_message', 'Failed To Delete Feed');
350
- wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=error"));
351
- }
352
-
353
- }
354
- }
355
- //Detect when a bulk action is being triggered...
356
- if ('edit-feed' === $this->current_action()) {
357
- // In our file that handles the request, verify the nonce.
358
- $nonce = esc_attr($_REQUEST['_wpnonce']);
359
- if (!wp_verify_nonce($nonce, 'wf_edit_feed')) {
360
- die(_e('You do not have sufficient permission to delete!'));
361
- }
362
- }
363
-
364
-
365
- // If the delete bulk action is triggered
366
- if ((isset($_POST['feed'])) && (isset($_POST['action']) && $_POST['action'] == 'bulk-delete')
367
- || (isset($_POST['action2']) && $_POST['action2'] == 'bulk-delete')
368
- ) {
369
- if ('bulk-delete' === $this->current_action()) {
370
- $nonce = esc_attr($_REQUEST['_wpnonce']);
371
- if (!wp_verify_nonce($nonce, "bulk-" . $this->_args['plural'])) {
372
- die(_e('You do not have sufficient permission to delete!'));
373
- } else {
374
- $delete_ids = esc_sql($_POST['feed']);
375
- // loop over the array of record IDs and delete them
376
- if (count($delete_ids)) {
377
- foreach ($delete_ids as $id) {
378
- self::delete_feed($id);
379
-
380
- }
381
- update_option('wpf_message', 'Feed Deleted Successfully');
382
- wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=success"));
383
- }
384
- }
385
- }
386
- }
387
- }
388
-
389
-
390
- /** ************************************************************************
391
- * REQUIRED! This is where you prepare your data for display. This method will
392
- * usually be used to query the database, sort and filter the data, and generally
393
- * get it ready to be displayed. At a minimum, we should set $this->items and
394
- * $this->set_pagination_args(), although the following properties and methods
395
- * are frequently interacted with here...
396
- *
397
- * @global WPDB $wpdb
398
- * @uses $this->_column_headers
399
- * @uses $this->items
400
- * @uses $this->get_columns()
401
- * @uses $this->get_sortable_columns()
402
- * @uses $this->get_pagenum()
403
- * @uses $this->set_pagination_args()
404
- **************************************************************************/
405
- function prepare_items()
406
- {
407
- global $wpdb; //This is used only if making any database queries
408
-
409
- /**
410
- * First, lets decide how many records per page to show
411
- */
412
- $per_page = 10;
413
-
414
-
415
- /**
416
- * REQUIRED. Now we need to define our column headers. This includes a complete
417
- * array of columns to be displayed (slugs & titles), a list of columns
418
- * to keep hidden, and a list of columns that are sortable. Each of these
419
- * can be defined in another method (as we've done here) before being
420
- * used to build the value for our _column_headers property.
421
- */
422
- $columns = $this->get_columns();
423
- $hidden = array();
424
- $sortable = $this->get_sortable_columns();
425
-
426
-
427
- /**
428
- * REQUIRED. Finally, we build an array to be used by the class for column
429
- * headers. The $this->_column_headers property takes an array which contains
430
- * 3 other arrays. One for all columns, one for hidden columns, and one
431
- * for sortable columns.
432
- */
433
- $this->_column_headers = array($columns, $hidden, $sortable);
434
-
435
-
436
- /**
437
- * Optional. You can handle your bulk actions however you see fit. In this
438
- * case, we'll handle them within our package just to keep things clean.
439
- */
440
- $this->process_bulk_action();
441
-
442
-
443
- /**
444
- * Instead of querying a database, we're going to fetch the example data
445
- * property we created for use in this plugin. This makes this example
446
- * package slightly different than one you might build on your own. In
447
- * this example, we'll be using array manipulation to sort and paginate
448
- * our data. In a real-world implementation, you will probably want to
449
- * use sort and pagination data to build a custom query instead, as you'll
450
- * be able to use your precisely-queried data immediately.
451
- */
452
- if (isset($_POST['s'])) {
453
- $data = $this->get_feeds($_POST['s']);
454
- } else {
455
- $data = $this->get_feeds();
456
- }
457
-
458
-
459
- /**
460
- * This checks for sorting input and sorts the data in our array accordingly.
461
- *
462
- * In a real-world situation involving a database, you would probably want
463
- * to handle sorting by passing the 'orderby' and 'order' values directly
464
- * to a custom query. The returned data will be pre-sorted, and this array
465
- * sorting technique would be unnecessary.
466
- */
467
- function usort_reorder($a, $b)
468
- {
469
- $orderby = (!empty($_REQUEST['orderby'])) ? $_REQUEST['orderby'] : 'option_name'; //If no sort, default to title
470
- $order = (!empty($_REQUEST['order'])) ? $_REQUEST['order'] : 'asc'; //If no order, default to asc
471
- $result = strcmp($a[$orderby], $b[$orderby]); //Determine sort order
472
- return ($order === 'asc') ? $result : -$result; //Send final sort direction to usort
473
- }
474
-
475
- usort($data, 'usort_reorder');
476
-
477
-
478
- /***********************************************************************
479
- * ---------------------------------------------------------------------
480
- * vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
481
- *
482
- * In a real-world situation, this is where you would place your query.
483
- *
484
- * For information on making queries in WordPress, see this Codex entry:
485
- * http://codex.wordpress.org/Class_Reference/wpdb
486
- *
487
- * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
488
- * ---------------------------------------------------------------------
489
- **********************************************************************/
490
-
491
-
492
- /**
493
- * REQUIRED for pagination. Let's figure out what page the user is currently
494
- * looking at. We'll need this later, so you should always include it in
495
- * your own package classes.
496
- */
497
- $current_page = $this->get_pagenum();
498
-
499
- /**
500
- * REQUIRED for pagination. Let's check how many items are in our data array.
501
- * In real-world use, this would be the total number of items in your database,
502
- * without filtering. We'll need this later, so you should always include it
503
- * in your own package classes.
504
- */
505
- $total_items = count($data);
506
-
507
-
508
- /**
509
- * The WP_List_Table class does not handle pagination for us, so we need
510
- * to ensure that the data is trimmed to only the current page. We can use
511
- * array_slice() to
512
- */
513
- $data = array_slice($data, (($current_page - 1) * $per_page), $per_page);
514
-
515
-
516
- /**
517
- * REQUIRED. We also have to register our pagination options & calculations.
518
- */
519
- $this->set_pagination_args(array(
520
- 'total_items' => $total_items, //WE have to calculate the total number of items
521
- 'per_page' => $per_page, //WE have to determine how many items to show on a page
522
- 'total_pages' => ceil($total_items / $per_page) //WE have to calculate the total number of pages
523
- ));
524
-
525
- // $this->set_pagination_args( array(
526
- // 'total_items' => $total_items, //WE have to calculate the total number of items
527
- // 'per_page' => $per_page //WE have to determine how many items to show on a page
528
- // ) );
529
-
530
- /**
531
- * REQUIRED. Now we can add our *sorted* data to the items property, where
532
- * it can be used by the rest of the class.
533
- */
534
- $this->items = $data;
535
- }
536
-
537
-
538
  }
1
+ <?php ob_start();
2
+
3
+ /**
4
+ * Feed List
5
+ *
6
+ * @link https://webappick.com/
7
+ * @since 1.0.0
8
+ *
9
+ * @package Woo_Feed_DAttribute_list
10
+ * @author Ohidul Islam <wahid@webappick.com>
11
+ */
12
+ class Woo_Feed_Manage_list extends Woo_Feed_List_Table
13
+ {
14
+
15
+ /** ************************************************************************
16
+ * Normally we would be querying data from a database and manipulating that
17
+ * for use in your list table. For this example, we're going to simplify it
18
+ * slightly and create a pre-built array. Think of this as the data that might
19
+ * be returned by $wpdb->query()
20
+ *
21
+ * In a real-world scenario, you would make your own custom query inside
22
+ * this class' prepare_items() method.
23
+ *
24
+ * @var array
25
+ **************************************************************************/
26
+
27
+
28
+ /** ************************************************************************
29
+ * REQUIRED. Set up a constructor that references the parent constructor. We
30
+ * use the parent reference to set some default configs.
31
+ ***************************************************************************/
32
+ function __construct()
33
+ {
34
+ global $status, $page;
35
+
36
+ //Set parent defaults
37
+ parent::__construct(array(
38
+ 'singular' => __('feed'), //singular name of the listed records
39
+ 'plural' => __('feeds'), //plural name of the listed records
40
+ 'ajax' => false //does this table support ajax?
41
+ ));
42
+
43
+ }
44
+
45
+
46
+ /** ************************************************************************
47
+ * Recommended. This method is called when the parent class can't find a method
48
+ * specifically build for a given column. Generally, it's recommended to include
49
+ * one method for each column you want to render, keeping your package class
50
+ * neat and organized. For example, if the class needs to process a column
51
+ * named 'title', it would first see if a method named $this->column_title()
52
+ * exists - if it does, that method will be used. If it doesn't, this one will
53
+ * be used. Generally, you should try to use custom column methods as much as
54
+ * possible.
55
+ *
56
+ * Since we have defined a column_title() method later on, this method doesn't
57
+ * need to concern itself with any column with a name of 'title'. Instead, it
58
+ * needs to handle everything else.
59
+ *
60
+ * For more detailed insight into how columns are handled, take a look at
61
+ * WP_List_Table::single_row_columns()
62
+ *
63
+ * @param array $item A singular item (one full row's worth of data)
64
+ * @param string $column_name The name/slug of the column to be processed
65
+ * @return string Text or HTML to be placed inside the column <td>
66
+ *
67
+ **************************************************************************/
68
+ function column_default($item, $column_name) {
69
+ $getItem = $item['option_name'];
70
+ $statusId = $item['option_id'];
71
+ $itemInfo = unserialize(get_option($getItem));
72
+ switch ($column_name) {
73
+ case 'option_name':
74
+ $name = $item[$column_name];
75
+ return str_replace("wf_feed_", "", $name);
76
+ case 'status':
77
+ if(!isset($itemInfo['status']) || $itemInfo['status'] == 1){
78
+ return ' <div class="wf_status_wrap"><input style="display: none;" data-index='.$statusId.' id='.$statusId.' checked class="woo_feed_status_input" type="checkbox" value="'.$getItem.'"/>
79
+ <label for='.$statusId.' class= "woo-feed_active_status"></label></div>';
80
+ }else{
81
+ return ' <div class="wf_status_wrap"> <input style="display: none;" data-index='.$statusId.' id='.$statusId.' class="woo_feed_status_input" type="checkbox" value="'.$getItem.'"/>
82
+ <label for='.$statusId.' class= "woo-feed_active_status"></label> </div>';
83
+ }
84
+ case 'provider':
85
+ /** @noinspection SpellCheckingInspection */
86
+ $provider = $itemInfo['feedrules']['provider'];
87
+ return ucwords(str_replace("_", " ", $provider));
88
+ case 'type':
89
+ /** @noinspection SpellCheckingInspection */
90
+ $feedType = $itemInfo['feedrules']['feedType'];
91
+ return strtoupper(str_replace("_", " ", $feedType));
92
+ case 'url':
93
+ /** @noinspection HtmlUnknownAttribute,SpellCheckingInspection */
94
+ return sprintf(
95
+ '<span class="toClipboard" data-clipboard-target="#_url%1$s" id="_url%1$s">%2$s</span><span class="toClipboard" data-clipboard-target="#_url%1$s">%3$s</span>',
96
+ $statusId,
97
+ $itemInfo[ $column_name ],
98
+ '<img src="data:image/svg+xml,%0A%3Csvg height=\'1024\' width=\'896\' xmlns=\'http://www.w3.org/2000/svg\'%3E%3Cpath d=\'M128 768h256v64H128v-64z m320-384H128v64h320v-64z m128 192V448L384 640l192 192V704h320V576H576z m-288-64H128v64h160v-64zM128 704h160v-64H128v64z m576 64h64v128c-1 18-7 33-19 45s-27 18-45 19H64c-35 0-64-29-64-64V192c0-35 29-64 64-64h192C256 57 313 0 384 0s128 57 128 128h192c35 0 64 29 64 64v320h-64V320H64v576h640V768zM128 256h512c0-35-29-64-64-64h-64c-35 0-64-29-64-64s-29-64-64-64-64 29-64 64-29 64-64 64h-64c-35 0-64 29-64 64z\' /%3E%3C/svg%3E%0A" alt="' . __( 'Copy To Clipboard') . '" class="clippy">' );
99
+ case 'last_updated':
100
+ return $itemInfo[$column_name];
101
+ case 'view':
102
+ $view = $itemInfo['url'];
103
+ /** @noinspection HtmlUnknownTarget */
104
+ return sprintf(
105
+ '<a href="%1$s" class="button" target="_blank">%2$s</a>&nbsp;
106
+ <input type="button" id="%3$s" value="%4$s" class="button wpf_regenerate">&nbsp;
107
+ <a href="%1$s" class="button" target="_blank" download>%5$s</a>',
108
+ $view, __( 'View' ), $getItem, __( 'Regenerate' ), __( 'Download' ) );
109
+ default:
110
+ return false;
111
+ }
112
+ }
113
+
114
+
115
+ /** ************************************************************************
116
+ * Recommended. This is a custom column method and is responsible for what
117
+ * is rendered in any column with a name/slug of 'title'. Every time the class
118
+ * needs to render a column, it first looks for a method named
119
+ * column_{$column_title} - if it exists, that method is run. If it doesn't
120
+ * exist, column_default() is called instead.
121
+ *
122
+ * This example also illustrates how to implement rollover actions. Actions
123
+ * should be an associative array formatted as 'slug'=>'link html' - and you
124
+ * will need to generate the URLs yourself. You could even ensure the links
125
+ *
126
+ *
127
+ * @see WP_List_Table::::single_row_columns()
128
+ * @param array $item A singular item (one full row's worth of data)
129
+ * @return string Text to be placed inside the column <td> (movie title only)
130
+ **************************************************************************/
131
+ function column_option_name($item)
132
+ {
133
+ //Build row actions
134
+ $edit_nonce = wp_create_nonce('wf_edit_feed');
135
+ $delete_nonce = wp_create_nonce('wf_delete_feed');
136
+ //$title = '<strong>' . $item['option_name'] . '</strong>';
137
+
138
+ $actions = array(
139
+ 'edit' => sprintf('<a href="?page=%s&action=%s&feed=%s&_wpnonce=%s">' . __('Edit', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'edit-feed', $item['option_name'], $edit_nonce),
140
+ 'delete' => sprintf('<a val="?page=%s&action=%s&feed=%s&_wpnonce=%s" class="single-feed-delete" style="cursor: pointer;">' . __('Delete', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'delete-feed', absint($item['option_id']), $delete_nonce)
141
+ );
142
+
143
+ //Return the title contents
144
+ $name = str_replace("wf_feed_", "", $item['option_name']);
145
+ return sprintf('%1$s <span style="color:silver">(id:%2$s)</span>%3$s',
146
+ /*$1%s*/
147
+ $name,
148
+ /*$2%s*/
149
+ $item['option_id'],
150
+ /*$3%s*/
151
+ $this->row_actions($actions)
152
+ );
153
+ }
154
+
155
+ public static function get_feeds($search = "")
156
+ {
157
+ global $wpdb;
158
+ $var = "wf_feed_";
159
+ $query = $wpdb->prepare("SELECT * FROM $wpdb->options WHERE option_name LIKE %s ORDER BY option_id DESC;", $var . "%");
160
+ $result = $wpdb->get_results($query, 'ARRAY_A');
161
+
162
+ return $result;
163
+ }
164
+
165
+ /**
166
+ * Delete a Feed.
167
+ *
168
+ * @param int $id Feed ID
169
+ * @return false|int
170
+ */
171
+ public static function delete_feed($id)
172
+ {
173
+ global $wpdb;
174
+ self::delete_feed_file($id);
175
+ return $wpdb->delete(
176
+ "{$wpdb->prefix}options",array('option_id'=>$id), array('%d')
177
+ );
178
+ }
179
+
180
+ /**
181
+ * Delete a Feed File.
182
+ *
183
+ * @param int $id customer ID
184
+ * @return false|int
185
+ */
186
+ public static function delete_feed_file($id)
187
+ {
188
+ global $wpdb;
189
+ $mylink = $wpdb->get_row("SELECT * FROM {$wpdb->prefix}options WHERE option_id = $id");
190
+ $option_name = $mylink->option_name;
191
+ $feedInfo = unserialize(get_option($option_name));
192
+
193
+ $upload_dir = wp_upload_dir();
194
+ $base = $upload_dir['basedir'];
195
+ $path = $base . "/woo-feed/" . $feedInfo['feedrules']['provider'] . "/" . $feedInfo['feedrules']['feedType'];
196
+ $file = $path . "/" . $feedInfo['feedrules']['filename'] . "." . $feedInfo['feedrules']['feedType'];
197
+ unlink($file);
198
+ }
199
+
200
+ /**
201
+ * Returns the count of records in the database.
202
+ *
203
+ * @return null|string
204
+ */
205
+ public static function record_count()
206
+ {
207
+ global $wpdb;
208
+ $sql = "SELECT * FROM {$wpdb->prefix}options WHERE option_name like 'wf_feed_%'";
209
+ return $wpdb->get_var($sql);
210
+ }
211
+
212
+ /** Text displayed when no data is available */
213
+ public function no_items()
214
+ {
215
+ _e('No feed available.', 'woo-feed');
216
+ }
217
+
218
+
219
+ /** ************************************************************************
220
+ * REQUIRED if displaying checkboxes or using bulk actions! The 'cb' column
221
+ * is given special treatment when columns are processed. It ALWAYS needs to
222
+ * have it's own method.
223
+ *
224
+ * @see WP_List_Table::::single_row_columns()
225
+ * @param array $item A singular item (one full row's worth of data)
226
+ * @return string Text to be placed inside the column <td> (movie title only)
227
+ **************************************************************************/
228
+ function column_cb($item)
229
+ {
230
+ return sprintf(
231
+ '<input type="checkbox" name="%1$s[]" value="%2$s" />',
232
+ /*$1%s*/
233
+ $this->_args['singular'], //Let's simply repurpose the table's singular label ("movie")
234
+ /*$2%s*/
235
+ $item['option_id'] //The value of the checkbox should be the record's id
236
+ );
237
+ }
238
+
239
+
240
+ function column_name($item)
241
+ {
242
+ $edit_nonce = wp_create_nonce('wf_edit_feed');
243
+ $delete_nonce = wp_create_nonce('wf_delete_feed');
244
+ $title = '<strong>' . $item['option_name'] . '</strong>';
245
+ $actions = array(
246
+ 'edit' => sprintf('<a href="?page=%s&action=%s&feed=%s&_wpnonce=%s">' . __('Edit', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'edit-feed', absint($item['option_id']), $edit_nonce),
247
+ 'delete' => sprintf('<a val="?page=%s&action=%s&feed=%s&_wpnonce=%s" class="single-feed-delete" style="cursor: pointer;">' . __('Delete', 'woo-feed') . '</a>', esc_attr($_REQUEST['page']), 'delete-feed', absint($item['option_id']), $delete_nonce)
248
+ );
249
+ return $title . $this->row_actions($actions);
250
+ }
251
+
252
+ /** ************************************************************************
253
+ * REQUIRED! This method dictates the table's columns and titles. This should
254
+ * return an array where the key is the column slug (and class) and the value
255
+ * is the column's title text. If you need a checkbox for bulk actions, refer
256
+ * to the $columns array below.
257
+ *
258
+ * The 'cb' column is treated differently than the rest. If including a checkbox
259
+ * column in your table you must create a column_cb() method. If you don't need
260
+ * bulk actions or checkboxes, simply leave the 'cb' entry out of your array.
261
+ *
262
+ * @see WP_List_Table::::single_row_columns()
263
+ * @return array An associative array containing column information: 'slugs'=>'Visible Titles'
264
+ **************************************************************************/
265
+ function get_columns()
266
+ {
267
+ $columns = array(
268
+ 'cb' => '<input type="checkbox" />', //Render a checkbox instead of text
269
+ 'status' => __('Status'),
270
+ 'option_name' => __('File Name'),
271
+ 'provider' => __('Provider'),
272
+ 'type' => __('Type'),
273
+ 'url' => __("Feed URL"),
274
+ 'last_updated' => __("Last Updated"),
275
+ 'view' => __("View")
276
+ );
277
+ return $columns;
278
+ }
279
+
280
+
281
+ /** ************************************************************************
282
+ * Optional. If you want one or more columns to be sortable (ASC/DESC toggle),
283
+ * you will need to register it here. This should return an array where the
284
+ * key is the column that needs to be sortable, and the value is db column to
285
+ * sort by. Often, the key and value will be the same, but this is not always
286
+ * the case (as the value is a column name from the database, not the list table).
287
+ *
288
+ * This method merely defines which columns should be sortable and makes them
289
+ * clickable - it does not handle the actual sorting. You still need to detect
290
+ * the ORDERBY and ORDER querystring variables within prepare_items() and sort
291
+ * your data accordingly (usually by modifying your query).
292
+ *
293
+ * @return array An associative array containing all the columns that should be sortable: 'slugs'=>array('data_values',bool)
294
+ **************************************************************************/
295
+ function get_sortable_columns()
296
+ {
297
+ $sortable_columns = array(
298
+ 'option_name' => array('option_name', false)
299
+ );
300
+ return $sortable_columns;
301
+ }
302
+
303
+
304
+ /** ************************************************************************
305
+ * Optional. If you need to include bulk actions in your list table, this is
306
+ * the place to define them. Bulk actions are an associative array in the format
307
+ * 'slug'=>'Visible Title'
308
+ *
309
+ * If this method returns an empty value, no bulk action will be rendered. If
310
+ * you specify any bulk actions, the bulk actions box will be rendered with
311
+ * the table automatically on display().
312
+ *
313
+ * Also note that list tables are not automatically wrapped in <form> elements,
314
+ * so you will need to create those manually in order for bulk actions to function.
315
+ *
316
+ * @return array An associative array containing all the bulk actions: 'slugs'=>'Visible Titles'
317
+ **************************************************************************/
318
+ function get_bulk_actions()
319
+ {
320
+ $actions = array(
321
+ 'bulk-delete' => __('Delete')
322
+ );
323
+ return $actions;
324
+ }
325
+
326
+
327
+ /** ************************************************************************
328
+ * Optional. You can handle your bulk actions anywhere or anyhow you prefer.
329
+ * For this example package, we will handle it in the class to keep things
330
+ * clean and organized.
331
+ *
332
+ * @see $this->prepare_items()
333
+ **************************************************************************/
334
+ public function process_bulk_action()
335
+ {
336
+ //Detect when a bulk action is being triggered...
337
+ if ('delete-feed' === $this->current_action()) {
338
+ // In our file that handles the request, verify the nonce.
339
+ $nonce = esc_attr($_REQUEST['_wpnonce']);
340
+ if (!wp_verify_nonce($nonce, 'wf_delete_feed')) {
341
+ update_option('wpf_message', 'Failed To Delete Feed. You do not have sufficient permission to delete.');
342
+ wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=error"));
343
+ } else {
344
+ if (self::delete_feed(absint($_GET['feed']))) {
345
+
346
+ update_option('wpf_message', 'Feed Deleted Successfully');
347
+ wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=success"));
348
+ } else {
349
+ update_option('wpf_message', 'Failed To Delete Feed');
350
+ wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=error"));
351
+ }
352
+
353
+ }
354
+ }
355
+ //Detect when a bulk action is being triggered...
356
+ if ('edit-feed' === $this->current_action()) {
357
+ // In our file that handles the request, verify the nonce.
358
+ $nonce = esc_attr($_REQUEST['_wpnonce']);
359
+ if (!wp_verify_nonce($nonce, 'wf_edit_feed')) {
360
+ die(_e('You do not have sufficient permission to delete!'));
361
+ }
362
+ }
363
+
364
+
365
+ // If the delete bulk action is triggered
366
+ if ((isset($_POST['feed'])) && (isset($_POST['action']) && $_POST['action'] == 'bulk-delete')
367
+ || (isset($_POST['action2']) && $_POST['action2'] == 'bulk-delete')
368
+ ) {
369
+ if ('bulk-delete' === $this->current_action()) {
370
+ $nonce = esc_attr($_REQUEST['_wpnonce']);
371
+ if (!wp_verify_nonce($nonce, "bulk-" . $this->_args['plural'])) {
372
+ die(_e('You do not have sufficient permission to delete!'));
373
+ } else {
374
+ $delete_ids = esc_sql($_POST['feed']);
375
+ // loop over the array of record IDs and delete them
376
+ if (count($delete_ids)) {
377
+ foreach ($delete_ids as $id) {
378
+ self::delete_feed($id);
379
+
380
+ }
381
+ update_option('wpf_message', 'Feed Deleted Successfully');
382
+ wp_redirect(admin_url("admin.php?page=woo_feed_manage_feed&wpf_message=success"));
383
+ }
384
+ }
385
+ }
386
+ }
387
+ }
388
+
389
+
390
+ /** ************************************************************************
391
+ * REQUIRED! This is where you prepare your data for display. This method will
392
+ * usually be used to query the database, sort and filter the data, and generally
393
+ * get it ready to be displayed. At a minimum, we should set $this->items and
394
+ * $this->set_pagination_args(), although the following properties and methods
395
+ * are frequently interacted with here...
396
+ *
397
+ * @global WPDB $wpdb
398
+ * @uses $this->_column_headers
399
+ * @uses $this->items
400
+ * @uses $this->get_columns()
401
+ * @uses $this->get_sortable_columns()
402
+ * @uses $this->get_pagenum()
403
+ * @uses $this->set_pagination_args()
404
+ **************************************************************************/
405
+ function prepare_items()
406
+ {
407
+ global $wpdb; //This is used only if making any database queries
408
+
409
+ /**
410
+ * First, lets decide how many records per page to show
411
+ */
412
+ $per_page = 10;
413
+
414
+
415
+ /**
416
+ * REQUIRED. Now we need to define our column headers. This includes a complete
417
+ * array of columns to be displayed (slugs & titles), a list of columns
418
+ * to keep hidden, and a list of columns that are sortable. Each of these
419
+ * can be defined in another method (as we've done here) before being
420
+ * used to build the value for our _column_headers property.
421
+ */
422
+ $columns = $this->get_columns();
423
+ $hidden = array();
424
+ $sortable = $this->get_sortable_columns();
425
+
426
+
427
+ /**
428
+ * REQUIRED. Finally, we build an array to be used by the class for column
429
+ * headers. The $this->_column_headers property takes an array which contains
430
+ * 3 other arrays. One for all columns, one for hidden columns, and one
431
+ * for sortable columns.
432
+ */
433
+ $this->_column_headers = array($columns, $hidden, $sortable);
434
+
435
+
436
+ /**
437
+ * Optional. You can handle your bulk actions however you see fit. In this
438
+ * case, we'll handle them within our package just to keep things clean.
439
+ */
440
+ $this->process_bulk_action();
441
+
442
+
443
+ /**
444
+ * Instead of querying a database, we're going to fetch the example data
445
+ * property we created for use in this plugin. This makes this example
446
+ * package slightly different than one you might build on your own. In
447
+ * this example, we'll be using array manipulation to sort and paginate
448
+ * our data. In a real-world implementation, you will probably want to
449
+ * use sort and pagination data to build a custom query instead, as you'll
450
+ * be able to use your precisely-queried data immediately.
451
+ */
452
+ if (isset($_POST['s'])) {
453
+ $data = $this->get_feeds($_POST['s']);
454
+ } else {
455
+ $data = $this->get_feeds();
456
+ }
457
+
458
+
459
+ /**
460
+ * This checks for sorting input and sorts the data in our array accordingly.
461
+ *
462
+ * In a real-world situation involving a database, you would probably want
463
+ * to handle sorting by passing the 'orderby' and 'order' values directly
464
+ * to a custom query. The returned data will be pre-sorted, and this array
465
+ * sorting technique would be unnecessary.
466
+ */
467
+ function usort_reorder($a, $b)
468
+ {
469
+ $orderby = (!empty($_REQUEST['orderby'])) ? $_REQUEST['orderby'] : 'option_name'; //If no sort, default to title
470
+ $order = (!empty($_REQUEST['order'])) ? $_REQUEST['order'] : 'asc'; //If no order, default to asc
471
+ $result = strcmp($a[$orderby], $b[$orderby]); //Determine sort order
472
+ return ($order === 'asc') ? $result : -$result; //Send final sort direction to usort
473
+ }
474
+
475
+ usort($data, 'usort_reorder');
476
+
477
+
478
+ /***********************************************************************
479
+ * ---------------------------------------------------------------------
480
+ * vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
481
+ *
482
+ * In a real-world situation, this is where you would place your query.
483
+ *
484
+ * For information on making queries in WordPress, see this Codex entry:
485
+ * http://codex.wordpress.org/Class_Reference/wpdb
486
+ *
487
+ * ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
488
+ * ---------------------------------------------------------------------
489
+ **********************************************************************/
490
+
491
+
492
+ /**
493
+ * REQUIRED for pagination. Let's figure out what page the user is currently
494
+ * looking at. We'll need this later, so you should always include it in
495
+ * your own package classes.
496
+ */
497
+ $current_page = $this->get_pagenum();
498
+
499
+ /**
500
+ * REQUIRED for pagination. Let's check how many items are in our data array.
501
+ * In real-world use, this would be the total number of items in your database,
502
+ * without filtering. We'll need this later, so you should always include it
503
+ * in your own package classes.
504
+ */
505
+ $total_items = count($data);
506
+
507
+
508
+ /**
509
+ * The WP_List_Table class does not handle pagination for us, so we need
510
+ * to ensure that the data is trimmed to only the current page. We can use
511
+ * array_slice() to
512
+ */
513
+ $data = array_slice($data, (($current_page - 1) * $per_page), $per_page);
514
+
515
+
516
+ /**
517
+ * REQUIRED. We also have to register our pagination options & calculations.
518
+ */
519
+ $this->set_pagination_args(array(
520
+ 'total_items' => $total_items, //WE have to calculate the total number of items
521
+ 'per_page' => $per_page, //WE have to determine how many items to show on a page
522
+ 'total_pages' => ceil($total_items / $per_page) //WE have to calculate the total number of pages
523
+ ));
524
+
525
+ // $this->set_pagination_args( array(
526
+ // 'total_items' => $total_items, //WE have to calculate the total number of items
527
+ // 'per_page' => $per_page //WE have to determine how many items to show on a page
528
+ // ) );
529
+
530
+ /**
531
+ * REQUIRED. Now we can add our *sorted* data to the items property, where
532
+ * it can be used by the rest of the class.
533
+ */
534
+ $this->items = $data;
535
+ }
536
+
537
+
538
  }
admin/css/woo-feed-admin.css CHANGED
@@ -663,6 +663,237 @@ input[class=woo_feed_status_input]:checked + label:before{
663
  border-left-color: rgba(255,255,255,.8)
664
  }
665
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
666
 
667
 
668
 
@@ -674,7 +905,6 @@ input[class=woo_feed_status_input]:checked + label:before{
674
  margin: 0 auto;
675
  width: 100%;
676
  }
677
-
678
  .woo_feed_screenshort{
679
  max-width: 100%;
680
  width: 1000px;
@@ -682,20 +912,17 @@ input[class=woo_feed_status_input]:checked + label:before{
682
  display: block;
683
  margin: 0 auto;
684
  }
685
-
686
  .woo-feed-screen-shot-title{
687
  font-size: 36px;
688
  text-align: center;
689
  box-sizing: content-box;
690
  color: #00b9eb;
691
  }
692
-
693
  .woo_feed_screen {
694
  background: #fff;
695
  padding: 25px 20px;
696
  margin-bottom: 20px;
697
  }
698
-
699
  .woo_feed_screen_des{
700
  text-align: center;
701
  margin: 20px 50px 20px 50px;
@@ -709,35 +936,567 @@ input[class=woo_feed_status_input]:checked + label:before{
709
  color: #32373c;
710
  }
711
 
712
- /** Admin Page Wrapper **/
713
- .wapk-admin, .wapk-admin * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
714
- .wapk-admin { position: relative; display: block; margin: 0 auto; padding: 0 20px 0 0; width: 100%; }
715
 
716
- /** PostBox **/
717
- .wp-submenu li span.woo-feed-docs { font-weight: bold; color: #f18500; }
718
- .wp-submenu li:hover span.woo-feed-docs,
719
- .wp-submenu li.current span.woo-feed-docs { color: #ce7304; }
720
- .wapk-admin .wapk-wrapper {margin-top: 15px;position: relative;display: block;float: left;width: 100%;}
721
- .wapk-admin .postbox { width: 355px; margin-right: 20px; display: inline-block; vertical-align: top; }
722
- @media only screen and (max-width: 850px) {
723
- .wapk-admin .postbox { display: block; width: auto; float: none; margin-right: auto; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
724
  }
725
- .wapk-admin .postbox .hndle { font-size: 14px; padding: 8px 12px; margin: 0; line-height: 1.4; cursor: default; }
726
- .wapk-admin .postbox .dashicons { color: #ccc }
727
- .wapk-admin .postbox a { text-decoration: none; }
728
- .wapk-admin .postbox .inside,
729
- .wapk-admin .postbox ul { margin-bottom: 0; }
730
- .wapk-admin .postbox .toggle-indicator:before { content: "\F142"; display: inline-block; font: 400 20px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-decoration: none!important; }
731
- .wapk-admin .postbox.closed .toggle-indicator:before { content: "\F140"; }
732
 
733
- /** Admin Call-To-Action **/
734
- .wapk-cta { position: relative; display: flex; width: 100%; padding: 15px; background: #c2efef; justify-content: center; align-items: center; }
735
- .wapk-cta-icon .dashicons { font-size: 100px; width: 100px; height: auto; margin: 0 10px -8px 0; color: #0085ba; }
736
- .wapk-cta-content {width: 50%;}
737
- .wapk-cta-content h2 { font-size: 2em; margin: 0.5em 0; }
738
- .wapk-cta-action {}
739
- .wapk-cta-action a.button { font-size: 24px; height: auto !important; padding: 10px 20px; }
740
- @media (max-width: 600px) {
741
- .wapk-cta { display: block; text-align: center; padding: 2em 0; }
742
- .wapk-cta-content { width: 100%; margin: 2em 0; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
743
  }
663
  border-left-color: rgba(255,255,255,.8)
664
  }
665
 
666
+ /** Admin Page Wrapper **/
667
+ .wapk-admin, .wapk-admin * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
668
+ .wapk-admin {
669
+ position: relative;
670
+ display: block;
671
+ -webkit-hyphens: manual;
672
+ -ms-hyphens: manual;
673
+ hyphens: manual;
674
+ color: #1B2730;
675
+ margin: 0 0 0 -10px;
676
+ }
677
+ .wapk-admin h1, .wapk-admin h2, .wapk-admin h3, .wapk-admin h4, .wapk-admin h5, .wapk-admin h6, .wapk-admin p {
678
+ color: #1B2730;
679
+ }
680
+ .wapk-admin sup {
681
+ vertical-align: baseline;
682
+ position: relative;
683
+ top: -6px;
684
+ }
685
+ .wapk-admin sub {
686
+ vertical-align: baseline;
687
+ position: relative;
688
+ top: 4px;
689
+ }
690
+ .wapk-admin .wapk-section { margin-top: 15px; position: relative; display: block; }
691
+
692
+ /** Extend WP Core UI PostBox **/
693
+ .wapk-admin .postbox { width: 355px; margin-right: 20px; display: inline-block; vertical-align: top; }
694
+ @media only screen and (max-width: 850px) {
695
+ .wapk-admin .postbox { display: block; width: auto; float: none; margin-right: auto; }
696
+ }
697
+ .wapk-admin .postbox .hndle { font-size: 14px; padding: 8px 12px; margin: 0; line-height: 1.4; }
698
+ .wapk-admin .postbox .dashicons { color: #ccc }
699
+ .wapk-admin .postbox a { text-decoration: none; }
700
+ .wapk-admin .postbox .inside,
701
+ .wapk-admin .postbox ul { margin-bottom: 0; }
702
+ .wapk-admin .postbox .toggle-indicator:before { content: "\F142"; display: inline-block; font: 400 20px/1 dashicons; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-decoration: none!important; }
703
+ .wapk-admin .postbox.closed .toggle-indicator:before { content: "\F140"; }
704
+
705
+ /** Admin Feed Help Docs **/
706
+ .wp-submenu li span.woo-feed-docs { font-weight: bold; color: #f18500; }
707
+ .wp-submenu li:hover span.woo-feed-docs,
708
+ .wp-submenu li.current span.woo-feed-docs { color: #ce7304; }
709
+ .wapk-admin .wapk-feed-docs { margin: 15px 15px 0 15px; }
710
+ .wapk-admin .wapk-feed-docs .postbox .hndle { cursor: default; }
711
+
712
+ /** Admin Call-To-Action **/
713
+ .wapk-cta { position: relative; display: flex; width: 100%; padding: 100px 15px; background: linear-gradient(45deg, #6CD5FF 33%, #c2efef 100%); justify-content: center; align-items: center; }
714
+ .wapk-cta-icon .dashicons { font-size: 100px; width: 100px; height: auto; margin: 0 10px -8px 0; color: #02658c; }
715
+ .wapk-cta-content {width: 50%;}
716
+ .wapk-cta-content h2 { font-size: 2em; margin: 0.5em 0; }
717
+ .wapk-cta-action {}
718
+ .wapk-cta-action a.button { font-size: 24px; height: auto !important; padding: 10px 20px; }
719
+ @media (max-width: 600px) {
720
+ .wapk-cta { display: block; text-align: center; padding: 4em 0; }
721
+ .wapk-cta-content { width: 100%; margin: 2em 0; }
722
+ }
723
+
724
+ /** Override .wp-core-ui .button styles with prefix .wapk-admin **/
725
+ /* @TODO refactor with scss */
726
+ /* Button Skin */
727
+ .wapk-admin .button,
728
+ .wapk-admin .button-secondary {
729
+ color: #00D4D4;
730
+ border-color: #00D4D4;
731
+ }
732
+ .wapk-admin .button > svg,
733
+ .wapk-admin .button-secondary > svg {
734
+ width: 15px;
735
+ margin-left: 5px;
736
+ fill: #00D4D4;
737
+ }
738
+ .wapk-admin .button > .dashicons,
739
+ .wapk-admin .button-secondary > .dashicons {
740
+ color: #00D4D4;
741
+ }
742
+ .wapk-admin .button.hover,
743
+ .wapk-admin .button:hover,
744
+ .wapk-admin .button-secondary:hover,
745
+ .wapk-admin .button.focus,
746
+ .wapk-admin .button:focus,
747
+ .wapk-admin .button-secondary:focus {
748
+ border-color: #00bbbb;
749
+ color: #00bbbb;
750
+ }
751
+ .wapk-admin .button.hover > svg,
752
+ .wapk-admin .button:hover > svg,
753
+ .wapk-admin .button-secondary:hover > svg,
754
+ .wapk-admin .button.focus > svg,
755
+ .wapk-admin .button:focus > svg,
756
+ .wapk-admin .button-secondary:focus > svg {
757
+ fill: #00bbbb;
758
+ }
759
+ .wapk-admin .button.hover > .dashicons,
760
+ .wapk-admin .button:hover > .dashicons,
761
+ .wapk-admin .button-secondary:hover > .dashicons,
762
+ .wapk-admin .button.focus > .dashicons,
763
+ .wapk-admin .button:focus > .dashicons,
764
+ .wapk-admin .button-secondary:focus > .dashicons {
765
+ color: #00bbbb;
766
+ }
767
+ .wapk-admin .button.focus,
768
+ .wapk-admin .button:focus,
769
+ .wapk-admin .button-secondary:focus {
770
+ border-color: #00D4D4;
771
+ color: #00bbbb;
772
+ box-shadow: 0 0 0 1px #00D4D4;
773
+ }
774
+ .wapk-admin .button.focus > svg,
775
+ .wapk-admin .button:focus > svg,
776
+ .wapk-admin .button-secondary:focus > svg {
777
+ fill: #00bbbb;
778
+ }
779
+ .wapk-admin .button.focus > .dashicons,
780
+ .wapk-admin .button:focus > .dashicons,
781
+ .wapk-admin .button-secondary:focus > .dashicons {
782
+ color: #00bbbb;
783
+ }
784
+ .wapk-admin .button:active {
785
+ background: #00bbbb;
786
+ border-color: #00bbbb;
787
+ }
788
+ .wapk-admin .button.active,
789
+ .wapk-admin .button.active:focus,
790
+ .wapk-admin .button.active:hover {
791
+ border-color: #00bbbb;
792
+ color: #00bbbb;
793
+ box-shadow: inset 0 2px 5px -3px #00bbbb;
794
+ }
795
+ .wapk-admin .button.active > svg,
796
+ .wapk-admin .button.active:focus > svg,
797
+ .wapk-admin .button.active:hover > svg {
798
+ fill: #00bbbb;
799
+ }
800
+ .wapk-admin .button.active > .dashicons,
801
+ .wapk-admin .button.active:focus > .dashicons,
802
+ .wapk-admin .button.active:hover > .dashicons {
803
+ color: #00bbbb;
804
+ }
805
+ .wapk-admin .button-primary {
806
+ background: #00D4D4;
807
+ border-color: #00D4D4;
808
+ color: #fff;
809
+ box-shadow: 0 1px 0 #00bbbb;
810
+ text-shadow: 0 -1px 1px #00bbbb, 1px 0 1px #00bbbb, 0 1px 1px #00bbbb, -1px 0 1px #00bbbb;
811
+ }
812
+ .wapk-admin .button-primary > svg {
813
+ fill: #fff;
814
+ }
815
+ .wapk-admin .button-primary:hover, .wapk-admin .button-primary:focus {
816
+ background: #00e3e3;
817
+ border-color: #00c5c5;
818
+ color: #fff;
819
+ }
820
+ .wapk-admin .button-primary:hover > svg, .wapk-admin .button-primary:focus > svg {
821
+ fill: #fff;
822
+ }
823
+ .wapk-admin .button-primary:focus {
824
+ box-shadow: 0 0 0 1px #fff, 0 0 0 3px #00D4D4;
825
+ }
826
+ .wapk-admin .button-primary:active {
827
+ background: #00bbbb;
828
+ border-color: #00bbbb;
829
+ color: #fff;
830
+ }
831
+ .wapk-admin .button-primary:active > svg {
832
+ fill: #fff;
833
+ }
834
+ .wapk-admin .button-primary.active, .wapk-admin .button-primary.active:focus, .wapk-admin .button-primary.active:hover {
835
+ background: #00D4D4;
836
+ color: #fff;
837
+ border-color: #008888;
838
+ box-shadow: inset 0 2px 5px -3px black;
839
+ }
840
+ .wapk-admin .button-primary.active > svg, .wapk-admin .button-primary.active:focus > svg, .wapk-admin .button-primary.active:hover > svg {
841
+ fill: #fff;
842
+ }
843
+ .wapk-admin .button-primary[disabled], .wapk-admin .button-primary:disabled, .wapk-admin .button-primary.button-primary-disabled, .wapk-admin .button-primary.disabled {
844
+ color: #c7d1d1 !important;
845
+ background: #22ffff !important;
846
+ border-color: #22ffff !important;
847
+ text-shadow: none !important;
848
+ }
849
+ .wapk-admin .button-primary[disabled] > svg, .wapk-admin .button-primary:disabled > svg, .wapk-admin .button-primary.button-primary-disabled > svg, .wapk-admin .button-primary.disabled > svg {
850
+ fill: #c7d1d1 !important;
851
+ }
852
+ .wapk-admin .button.button-primary.button-hero {
853
+ box-shadow: 0 2px 0 #00bbbb;
854
+ }
855
+ .wapk-admin .button.button-primary.button-hero:focus {
856
+ box-shadow: 0 2px 0 #00bbbb, 0 1px 0 #00c5c5, 0 0 2px 1px #00eeee;
857
+ }
858
+ .wapk-admin .button.button-primary.button-hero.active, .wapk-admin .button.button-primary.button-hero.active:hover, .wapk-admin .button.button-primary.button-hero.active:focus, .wapk-admin .button.button-primary.button-hero:active {
859
+ box-shadow: inset 0 3px 0 #00a1a1;
860
+ }
861
+ .wapk-admin .button-group > .button.active {
862
+ border-color: #00D4D4;
863
+ }
864
+
865
+ /* Button Sizes */
866
+ .wapk-admin .button.button-xl,
867
+ .wapk-admin .button-group.button-xl .button {
868
+ height: 30px;
869
+ line-height: 28px;
870
+ padding: 0 12px 2px;
871
+ }
872
+ .wapk-admin .button.button-hero,
873
+ .wapk-admin .button-group.button-hero .button {
874
+ font-size: 18px;
875
+ height: 50px;
876
+ line-height: 48px;
877
+ padding: 0 36px;
878
+ }
879
+ @media screen and (max-width: 782px) {
880
+ .wapk-admin .button.button-xl {
881
+ padding: 6px 14px;
882
+ line-height: normal;
883
+ font-size: 14px;
884
+ vertical-align: middle;
885
+ height: auto;
886
+ margin-bottom: 4px;
887
+ }
888
+ }
889
+
890
+
891
+
892
+
893
+
894
+
895
+
896
+
897
 
898
 
899
 
905
  margin: 0 auto;
906
  width: 100%;
907
  }
 
908
  .woo_feed_screenshort{
909
  max-width: 100%;
910
  width: 1000px;
912
  display: block;
913
  margin: 0 auto;
914
  }
 
915
  .woo-feed-screen-shot-title{
916
  font-size: 36px;
917
  text-align: center;
918
  box-sizing: content-box;
919
  color: #00b9eb;
920
  }
 
921
  .woo_feed_screen {
922
  background: #fff;
923
  padding: 25px 20px;
924
  margin-bottom: 20px;
925
  }
 
926
  .woo_feed_screen_des{
927
  text-align: center;
928
  margin: 20px 50px 20px 50px;
936
  color: #32373c;
937
  }
938
 
 
 
 
939
 
940
+ .wapk-admin .wapk-feed-upgrade {
941
+ font-family: 'Open Sans', sans-serif;
942
+ margin: -10px -20px 0 -22px;
943
+ }
944
+ .wapk-admin .wapk-feed-upgrade a {
945
+ transition: all 0.2s ease;
946
+ }
947
+ .wapk-admin .section-title {
948
+ text-align: center;
949
+ font-size: 30px;
950
+ line-height: 1.5em;
951
+ font-weight: 400;
952
+ position: relative;
953
+ margin: 0 0 58px;
954
+ }
955
+ .wapk-admin .section-title:after {
956
+ content: '';
957
+ position: absolute;
958
+ bottom: -21px;
959
+ left: 50%;
960
+ transform: translateX(-50%);
961
+ width: 38px;
962
+ height: 5px;
963
+ border-radius: 3px;
964
+ background-color: #00D4D4;
965
+ }
966
+ .wapk-admin .section-title .section-sub-title {
967
+ font-size: 22px;
968
+ font-weight: 300;
969
  }
 
 
 
 
 
 
 
970
 
971
+ .wapk-admin .wapk-banner {
972
+ background-color: #f2f2f2;
973
+ font-size: 16px;
974
+ display: flex;
975
+ align-items: center;
976
+ padding: 50px 8%;
977
+ border-bottom: 1px solid #eee;
978
+ }
979
+ .wapk-admin .wapk-banner .wapk-banner__graphics {
980
+ width: 100%;
981
+ }
982
+ .wapk-admin .wapk-banner .wapk-banner__content h1 {
983
+ font-size: 27px;
984
+ line-height: 1.5em;
985
+ }
986
+ .wapk-admin .wapk-banner .wapk-banner__content p {
987
+ font-size: 16px;
988
+ line-height: 1.5em;
989
+ font-weight: 300;
990
+ margin: 0;
991
+ /*noinspection CssFloatPxLength*/
992
+ letter-spacing: 0.5px;
993
+ }
994
+
995
+ .wapk-admin .feed-features,
996
+ .wapk-admin .wapk-testimonial,
997
+ .wapk-admin .feed-pricing {
998
+ text-align: center;
999
+ padding: 75px 30px 85px;
1000
+ background-color: #f7f8f9;
1001
+ }
1002
+ .wapk-admin .feed-features .feed-feature__list {
1003
+ display: flex;
1004
+ flex-wrap: wrap;
1005
+ align-items: flex-start;
1006
+ justify-content: center;
1007
+ }
1008
+ .wapk-admin .feed-features .feed-features__more {
1009
+ margin-top: 25px;
1010
+ }
1011
+ .feed-feature__item {
1012
+ flex: 0 0 28.9%;
1013
+ margin: 0 2.2% 4.4% 2.2%;
1014
+ text-align: center;
1015
+ border-radius: 5px;
1016
+ background-color: #ffffff;
1017
+ transition: all 100ms linear;
1018
+ overflow: hidden;
1019
+ }
1020
+ .feed-feature__item:hover {
1021
+ box-shadow: 5px 4px 32px -16px rgba(0, 0, 0, 0.63 );
1022
+ }
1023
+ .feed-feature__thumb {
1024
+ overflow: hidden;
1025
+ }
1026
+ .feed-feature__item .feed-feature__thumb img {
1027
+ border-radius: 5px 5px 0 0;
1028
+ max-width: 100%;
1029
+ width: 100%;
1030
+ -webkit-transition: all 100ms linear;
1031
+ -moz-transition: all 100ms linear;
1032
+ -ms-transition: all 100ms linear;
1033
+ -o-transition: all 100ms linear;
1034
+ transition: all 100ms linear;
1035
+ }
1036
+ .feed-feature__item:hover .feed-feature__thumb img {
1037
+ transform: scale( 1.05 );
1038
+ }
1039
+ .feed-feature__item .feed-feature__description {
1040
+ padding: 20px 15px 25px;
1041
+ }
1042
+ .feed-feature__item .feed-feature__description h3 {
1043
+ font-size: 15px;
1044
+ line-height: 1.5em;
1045
+ font-weight: 300;
1046
+ margin: 0;
1047
+ }
1048
+
1049
+ .wapk-admin .feed-pro-comparison {
1050
+ background-color: #f1f1f1;
1051
+ padding: 75px;
1052
+ }
1053
+ .wapk-admin .feed-features .section-title h2,
1054
+ .wapk-admin .wapk-testimonial .section-title h2,
1055
+ .wapk-admin .feed-pro-comparison .section-title h2,
1056
+ .wapk-admin .feed-pricing .section-title h2 {
1057
+ margin-top: 0;
1058
+ margin-bottom: 0;
1059
+ }
1060
+ .wapk-admin .comparison-table {
1061
+ display: flex;
1062
+ justify-content: space-between;
1063
+ }
1064
+ .wapk-admin .comparison-table .comparison {
1065
+ flex: 0 0 48%;
1066
+ background-color: #fff;
1067
+ border: 1px solid #e0e9ec;
1068
+ border-radius: 5px;
1069
+ box-shadow: 0 1px 2px 0 rgba(0,0,0,.05);
1070
+ padding: 50px;
1071
+ box-sizing: border-box;
1072
+ }
1073
+ .wapk-admin .comparison .product-header {
1074
+ margin-bottom: 58px;
1075
+ position: relative;
1076
+ }
1077
+ .wapk-admin .comparison .product-header:after {
1078
+ content: "";
1079
+ position: absolute;
1080
+ bottom: -23px;
1081
+ left: 0;
1082
+ width: 38px;
1083
+ height: 5px;
1084
+ border-radius: 3px;
1085
+ background-color: #d7d7d7;
1086
+ }
1087
+ .wapk-admin .comparison .product-header img {
1088
+ max-width: 160px;
1089
+ width: 100%;
1090
+ }
1091
+ .wapk-admin .comparison .product-features {
1092
+ margin: 0;
1093
+ }
1094
+ .wapk-admin .comparison li {
1095
+ position: relative;
1096
+ display: flex;
1097
+ margin-bottom: 15px;
1098
+ padding-left: 30px;
1099
+ font-size: 14px;
1100
+ line-height: 1.3em;
1101
+ font-weight: 300;
1102
+ align-items: center;
1103
+ }
1104
+ .wapk-admin .comparison li.unavailable {
1105
+ color: #CED2D6;
1106
+ }
1107
+ .wapk-admin .comparison li span.dashicons {
1108
+ position: absolute;
1109
+ top: 1px;
1110
+ left: 6px;
1111
+ width: 18px;
1112
+ height: 18px;
1113
+ border-radius: 100%;
1114
+ background: #00D4D4;
1115
+ color: #FFF;
1116
+ line-height: 22px;
1117
+ font-size: 14px;
1118
+ text-align: center;
1119
+ }
1120
+ .wapk-admin .comparison li.unavailable {
1121
+ color: #CED2D6;
1122
+ }
1123
+ .wapk-admin .comparison li.unavailable span.dashicons {
1124
+ background: #CED2D6;
1125
+ }
1126
+ .wapk-admin .comparison li span.dashicons-no {
1127
+ font-size: 12px;
1128
+ }
1129
+ .wapk-admin .comparison li span.dashicons-no:before {
1130
+ left: 0;
1131
+ }
1132
+ .wapk-admin .comparison li span.dashicons:before {
1133
+ position: relative;
1134
+ left: -0.5px;
1135
+ top: -2px;
1136
+ }
1137
+ .wapk-admin .comparison li img {
1138
+ width: 18px;
1139
+ margin-right: 12px;
1140
+ }
1141
+ .wapk-admin .feed-pricing {}
1142
+ .wapk-pricing__table {
1143
+ width: 100%;
1144
+ display: -webkit-box;
1145
+ display: -webkit-flex;
1146
+ display: -ms-flexbox;
1147
+ display: flex;
1148
+ -webkit-flex-wrap: wrap;
1149
+ -ms-flex-wrap: wrap;
1150
+ flex-wrap: wrap;
1151
+ -webkit-align-content: flex-start;
1152
+ -ms-flex-line-pack: start;
1153
+ align-content: flex-start;
1154
+ justify-content: center;
1155
+ }
1156
+ .wapk-pricing__table__item {
1157
+ position: relative;
1158
+ flex: 0 0 23%;
1159
+ }
1160
+ .wapk-price__table__wrapper {
1161
+ position: relative;
1162
+ padding: 10px;
1163
+ }
1164
+ .wapk-price__table {
1165
+ text-align: center;
1166
+ display: block;
1167
+ width: 100%;
1168
+ padding: 10px;
1169
+ background-color: #fff;
1170
+ border-radius: 8px 8px 8px 8px;
1171
+ box-shadow: 0 0 25px 0 rgba(0,0,0,.1);
1172
+ overflow: hidden;
1173
+ -webkit-transition: background .3s,border .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s;
1174
+ transition: background .3s,border .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s;
1175
+ -o-transition: background .3s,border .3s,border-radius .3s,box-shadow .3s;
1176
+ transition: background .3s,border .3s,border-radius .3s,box-shadow .3s;
1177
+ transition: background .3s,border .3s,border-radius .3s,box-shadow .3s,-webkit-border-radius .3s,-webkit-box-shadow .3s;
1178
+ }
1179
+ .wapk-price__table__header {
1180
+ background-color: #fff;
1181
+ padding: 40px 0 0;
1182
+ }
1183
+ .wapk-price__table__heading {
1184
+ color: #6d7882;
1185
+ font-size: 17px;
1186
+ font-weight: 500;
1187
+ text-transform: uppercase;
1188
+ letter-spacing: 10px;
1189
+ font-family: sans-serif;
1190
+ margin: 0;
1191
+ padding: 0;
1192
+ line-height: 1.2;
1193
+ }
1194
+ .wapk-price__table__price {
1195
+ font-family: sans-serif;
1196
+ font-weight: 600;
1197
+ padding: 30px 0 10px;
1198
+ display: -webkit-box;
1199
+ display: -ms-flexbox;
1200
+ display: flex;
1201
+ -webkit-box-pack: center;
1202
+ -ms-flex-pack: center;
1203
+ justify-content: center;
1204
+ -webkit-box-align: center;
1205
+ -ms-flex-align: center;
1206
+ align-items: center;
1207
+ -ms-flex-wrap: wrap;
1208
+ flex-wrap: wrap;
1209
+ -webkit-box-orient: horizontal;
1210
+ -webkit-box-direction: normal;
1211
+ -ms-flex-direction: row;
1212
+ flex-direction: row;
1213
+ color: #434363;
1214
+ font-size: 45px;
1215
+ }
1216
+ .wapk-price__table__amount {}
1217
+ .wapk-price__table__currency {
1218
+ align-self: flex-start;
1219
+ color: #434363;
1220
+ line-height: 1;
1221
+ font-size: .3em;
1222
+ margin-right: 3px;
1223
+ }
1224
+ .wapk-price__table__amount .free,
1225
+ .wapk-price__table__amount .integer-part {
1226
+ color: #434363;
1227
+ line-height: .8;
1228
+ }
1229
+ .wapk-price__table__amount .decimal-part {
1230
+ font-size: 14px;
1231
+ font-weight: 400;
1232
+ }
1233
+ .wapk-price__table__amount .period {
1234
+ font-size: 14px;
1235
+ font-weight: 400;
1236
+ }
1237
+ .wapk-price__table__amount___legend {
1238
+ width: 100%;
1239
+ color: #FF4B4B;
1240
+ font-size: 18px;
1241
+ font-weight: 500;
1242
+ line-height: 2.5em;
1243
+ }
1244
+ .wapk-price__table__features {
1245
+ list-style-type: none;
1246
+ margin: 0;
1247
+ padding: 0;
1248
+ line-height: 1;
1249
+ color: #697279;
1250
+ text-align: left;
1251
+ }
1252
+ .wapk-price__table__features li.item {
1253
+ list-style-type: none;
1254
+ margin: 0;
1255
+ padding: 0;
1256
+ font-size: 13px;
1257
+ line-height: 1.5em;
1258
+ }
1259
+ .wapk-price__table__features li:not(:first-child):before {
1260
+ content: "";
1261
+ display: block;
1262
+ /* border: 0 solid hsla(0,0%,48%,.3); */
1263
+ margin: 10px 12.5%;
1264
+ }
1265
+ .wapk-price__table__feature {
1266
+ display: block;
1267
+ margin-left: calc(((100% - 80%)/2) + 20px );
1268
+ margin-right: calc((100% - 80%)/2);
1269
+ }
1270
+ span.wapk-price__table__feature span.dashicons {
1271
+ margin-left: -20px;
1272
+ top: 2px;
1273
+ position: relative;
1274
+ }
1275
+
1276
+ .wapk-price__table__footer {
1277
+ padding: 40px 0;
1278
+ }
1279
+ .wapk-price__table__footer a {
1280
+ font-size: 14px;
1281
+ text-transform: uppercase;
1282
+ letter-spacing: 3px;
1283
+ background-color: #23d378;
1284
+ border-radius: 100px 100px 100px 100px;
1285
+ padding: 16px 42px;
1286
+ transition: all 250ms;
1287
+ }
1288
+ .wapk-price__table__footer a:hover,
1289
+ .wapk-price__table__footer a:focus,
1290
+ .wapk-price__table__footer a:active {
1291
+ background-color: #ef2e5e;
1292
+ transform: scale(1.02) !important;
1293
+ }
1294
+ .wapk-price__table__ribbon {
1295
+ pointer-events: none;
1296
+ touch-action: none;
1297
+ -webkit-user-select: none;
1298
+ -moz-user-select: none;
1299
+ -ms-user-select: none;
1300
+ user-select: none;
1301
+ position: absolute;
1302
+ top: 10px;
1303
+ left: auto;
1304
+ right: 10px;
1305
+ -webkit-transform: rotate(90deg);
1306
+ -ms-transform: rotate(90deg);
1307
+ transform: rotate(90deg);
1308
+ width: 150px;
1309
+ overflow: hidden;
1310
+ height: 150px;
1311
+ }
1312
+ .wapk-price__table__ribbon__inner {
1313
+ background: #FF4B4B;
1314
+ font-family: sans-serif;
1315
+ font-weight: 500;
1316
+ color: #fff;
1317
+ font-size: 11px;
1318
+ /*noinspection CssFloatPxLength*/
1319
+ letter-spacing: 1.1px;
1320
+ box-shadow: 0 0 30px 0 rgba(0,0,0,.21);
1321
+ text-align: center;
1322
+ left: 0;
1323
+ width: 200%;
1324
+ -webkit-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
1325
+ -ms-transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
1326
+ transform: translateY(-50%) translateX(-50%) translateX(35px) rotate(-45deg);
1327
+ margin-top: 35px;
1328
+ line-height: 2;
1329
+ text-transform: uppercase;
1330
+ }
1331
+
1332
+ .wapk-admin .wapk-payment {
1333
+ display: flex;
1334
+ background: #fff;
1335
+ justify-content: space-between;
1336
+ padding: 85px 65px 85px;
1337
+ align-items: center;
1338
+ }
1339
+ .wapk-payment .payment-guarantee {
1340
+ display: flex;
1341
+ flex: 0 0 63%;
1342
+ align-content: center;
1343
+ align-items: center;
1344
+ position: relative;
1345
+ }
1346
+ .wapk-payment .payment-guarantee:after {
1347
+ content: "";
1348
+ position: absolute;
1349
+ right: -18px;
1350
+ top: 50%;
1351
+ transform: translateY(-50%);
1352
+ width: 5px;
1353
+ height: 38px;
1354
+ border-radius: 3px;
1355
+ background: #00D4D4;
1356
+ }
1357
+ .wapk-payment .payment-guarantee .guarantee-seal img {
1358
+ max-width: 100%;
1359
+ width: 280px;
1360
+ }
1361
+ .wapk-payment .payment-guarantee .guarantee-detail {
1362
+ padding-left: 25px;
1363
+ }
1364
+ .wapk-payment .payment-guarantee .guarantee-detail h2 {
1365
+ font-size: 24px;
1366
+ line-height: 1.5em;
1367
+ font-weight: 400;
1368
+ margin: 0;
1369
+ }
1370
+ .wapk-payment .payment-guarantee .guarantee-detail p {
1371
+ font-size: 15px;
1372
+ line-height: 1.5em;
1373
+ font-weight: 300;
1374
+ margin: 5px 0 20px;
1375
+ }
1376
+ .wapk-payment .payment-guarantee .guarantee-detail a {
1377
+ color: #00D4D4;
1378
+ font-size: 15px;
1379
+ line-height: 1.5em;
1380
+ text-decoration: none;
1381
+ }
1382
+ .wapk-payment .payment-guarantee .guarantee-detail a span.dashicons,
1383
+ .wapk-payment .payment-guarantee .guarantee-detail a img {
1384
+ width: 18px;
1385
+ margin-right: 4px;
1386
+ margin-top: 1px;
1387
+ }
1388
+ .wapk-payment .payment-options {
1389
+ flex-grow: 0.5;
1390
+ }
1391
+ .wapk-payment .payment-options h3 {
1392
+ font-size: 15px;
1393
+ font-weight: 300;
1394
+ margin: 0 0 17px;
1395
+ }
1396
+ .wapk-payment .payment-options .options {}
1397
+ .wapk-payment .payment-options .options h4{
1398
+ color: #CED2D6;
1399
+ }
1400
+ .wapk-payment .payment-options .options li {
1401
+ float: left;
1402
+ overflow: hidden;
1403
+ }
1404
+ .wapk-payment .payment-options .options li img {
1405
+ height: 20px;
1406
+ margin-right: 5px;
1407
+ }
1408
+
1409
+ /** Testimonial **/
1410
+ .wapk-admin .wapk-testimonials {}
1411
+ .wapk-admin .wapk-testimonial-wrapper:before {
1412
+ content: '';
1413
+ position: absolute;
1414
+ left: 79px;
1415
+ top: -15px;
1416
+ width: 80px;
1417
+ height: 56px;
1418
+ border-radius: 3px;
1419
+ background: transparent url(../images/block-quote.svg) no-repeat;
1420
+ background-size: cover;
1421
+ }
1422
+ .wapk-admin .wapk-testimonial-wrapper {
1423
+ position: relative;
1424
+ display: block;
1425
+ width: 80%;
1426
+ margin: 0 auto;
1427
+ padding: 0;
1428
+ text-align: center;
1429
+ }
1430
+ .testimonial-item__user .avatar {
1431
+ width: 100px;
1432
+ height: 100px;
1433
+ margin: 0 auto;
1434
+ border-radius: 100%;
1435
+ border: 3px solid #efefef;
1436
+ overflow: hidden;
1437
+ }
1438
+ .testimonial-item {
1439
+ margin-bottom: 25px;
1440
+ }
1441
+ .testimonial-item__user .avatar img {
1442
+ max-width: 100%;
1443
+ width: 100%;
1444
+ margin: 0 auto;
1445
+ padding: 0;
1446
+ display: block;
1447
+ }
1448
+
1449
+ .testimonial-item__comment {
1450
+ position: relative;
1451
+ display: block;
1452
+ width: 70%;
1453
+ margin: 0 auto 30px;
1454
+ }
1455
+
1456
+ .testimonial-item__user h4.author-name {
1457
+ font-size: 25px;
1458
+ font-weight: 300;
1459
+ margin: 10px auto;
1460
+ }
1461
+
1462
+ .testimonial-item__user span.author-meta {
1463
+ font-size: 16px;
1464
+ font-weight: 300;
1465
+ }
1466
+
1467
+ @media screen and (min-width: 1281px) {
1468
+ .wapk-admin .wapk-banner,
1469
+ .wapk-admin .feed-features {
1470
+ padding-left: 20%;
1471
+ padding-right: 20%;
1472
+ }
1473
+ .wapk-admin .wapk-payment {
1474
+ padding-left: 15%;
1475
+ padding-right: 15%;
1476
+ }
1477
+ .wapk-admin .feed-pro-comparison {
1478
+ padding-left: 21.2%;
1479
+ padding-right: 21.2%;
1480
+ }
1481
+ .wapk-admin .wapk-testimonial-wrapper {
1482
+ width: 55%;
1483
+ }
1484
+ }
1485
+ @media screen and (min-width: 783px) {
1486
+ .wapk-admin {
1487
+ margin: 0 0 0 -20px;
1488
+ }
1489
+ }
1490
+
1491
+ .wapk-feed-pro-upgrade .wapk-feed-cta,
1492
+ .wapk-admin .feed-pro-comparison,
1493
+ .wapk-admin .wapk-payment,
1494
+ .wapk-admin .feed-features,
1495
+ .wapk-admin .wapk-testimonial,
1496
+ .wapk-admin .wapk-feed-banner {
1497
+ margin: 0;
1498
+ }
1499
+ .wapk-feed-banner .wapk-banner {
1500
+ margin: 0;
1501
+ padding: 0;
1502
  }
admin/js/woo-feed-admin.js CHANGED
@@ -1,4 +1,4 @@
1
- (function ($, window, document, opts) {
2
  "use strict";
3
  /**
4
  * All of the code for your admin-facing JavaScript source
@@ -71,6 +71,18 @@
71
  showTooltip( event.trigger, 'Copied!' );
72
  } );
73
  }
 
 
 
 
 
 
 
 
 
 
 
 
74
  });
75
 
76
 
@@ -416,4 +428,4 @@
416
  }
417
  });
418
  });
419
- }( jQuery, window, document, wpf_ajax_obj ));
1
+ ( function ($, window, document, opts) {
2
  "use strict";
3
  /**
4
  * All of the code for your admin-facing JavaScript source
71
  showTooltip( event.trigger, 'Copied!' );
72
  } );
73
  }
74
+ var sliders = $('.wapk-slider');
75
+ if( sliders.length ) {
76
+ sliders.slick({
77
+ autoplay: true,
78
+ dots: true,
79
+ centerMode: true,
80
+ arrows: false,
81
+ slidesToShow: 1,
82
+ slidesToScroll: 1,
83
+ lazyLoad: 'progressive'
84
+ });
85
+ }
86
  });
87
 
88
 
428
  }
429
  });
430
  });
431
+ }( jQuery, window, document, wpf_ajax_obj ) );
admin/partials/templates/adform_add-feed.php CHANGED
@@ -1,345 +1,345 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_id"/>
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('id'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- <tr>
72
- <td>
73
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
- </td>
75
- <td>
76
- <input type="text" name="mattributes[]" autocomplete="off" required
77
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_name"/>
78
- </td>
79
- <td>
80
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
81
- </td>
82
- <td>
83
- <select name="type[]" class="attr_type wfnoempty">
84
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
85
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
- </select>
87
- </td>
88
- <td>
89
- <select name="attributes[]" required="required"
90
- class="wf_validate_attr wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown('title'); ?>
92
- </select>
93
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
- style=" display: none;"/>
95
- </td>
96
- <td>
97
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
- </td>
99
- <td>
100
- <select name="output_type[][]" class="outputType wfnoempty">
101
- <option value="1">Default</option>
102
- <option value="2">Strip Tags</option>
103
- <option value="3">UTF-8 Encode</option>
104
- <option value="4">htmlentities</option>
105
- <option value="5">Integer</option>
106
- <option value="6">Price</option>
107
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
- <option value="8">CDATA</option>
109
- </select>
110
- <i class="dashicons dashicons-editor-expand expandType"></i>
111
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
- </td>
113
- <td>
114
- <input type="text" name="limit[]" class="wf_ps"/>
115
- </td>
116
- <td>
117
- <i class="delRow dashicons dashicons-trash"></i>
118
- </td>
119
- </tr>
120
- <tr>
121
- <td>
122
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
- </td>
124
- <td>
125
- <input type="text" name="mattributes[]" autocomplete="off" required
126
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_category_id"/>
127
- </td>
128
- <td>
129
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
- </td>
131
- <td>
132
- <select name="type[]" class="attr_type wfnoempty">
133
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
- </select>
136
- </td>
137
- <td>
138
- <select name="attributes[]" required="required"
139
- class="wf_validate_attr wf_attr wf_attributes">
140
- <?php echo $product->attributeDropdown('product_type'); ?>
141
- </select>
142
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
- style=" display: none;"/>
144
- </td>
145
- <td>
146
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
- </td>
148
- <td>
149
- <select name="output_type[][]" class="outputType wfnoempty">
150
- <option value="1">Default</option>
151
- <option value="2">Strip Tags</option>
152
- <option value="3">UTF-8 Encode</option>
153
- <option value="4">htmlentities</option>
154
- <option value="5">Integer</option>
155
- <option value="6">Price</option>
156
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
- <option value="8">CDATA</option>
158
- </select>
159
- <i class="dashicons dashicons-editor-expand expandType"></i>
160
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
- </td>
162
- <td>
163
- <input type="text" name="limit[]" class="wf_ps"/>
164
- </td>
165
- <td>
166
- <i class="delRow dashicons dashicons-trash"></i>
167
- </td>
168
- </tr>
169
- <tr>
170
- <td>
171
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
- </td>
173
- <td>
174
- <input type="text" name="mattributes[]" autocomplete="off" required
175
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_deeplink"/>
176
- </td>
177
- <td>
178
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
- </td>
180
- <td>
181
- <select name="type[]" class="attr_type wfnoempty">
182
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
183
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
- </select>
185
- </td>
186
- <td>
187
- <select name="attributes[]" required="required"
188
- class="wf_validate_attr wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown('link'); ?>
190
- </select>
191
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
- style=" display: none;"/>
193
- </td>
194
- <td>
195
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
- </td>
197
- <td>
198
- <select name="output_type[][]" class="outputType wfnoempty">
199
- <option value="1">Default</option>
200
- <option value="2">Strip Tags</option>
201
- <option value="3">UTF-8 Encode</option>
202
- <option value="4">htmlentities</option>
203
- <option value="5">Integer</option>
204
- <option value="6">Price</option>
205
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
- <option value="8">CDATA</option>
207
- </select>
208
- <i class="dashicons dashicons-editor-expand expandType"></i>
209
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
- </td>
211
- <td>
212
- <input type="text" name="limit[]" class="wf_ps"/>
213
- </td>
214
- <td>
215
- <i class="delRow dashicons dashicons-trash"></i>
216
- </td>
217
- </tr>
218
- <tr>
219
- <td>
220
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
- </td>
222
- <td>
223
- <input type="text" name="mattributes[]" autocomplete="off" required
224
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_image"/>
225
- </td>
226
- <td>
227
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
228
- </td>
229
- <td>
230
- <select name="type[]" class="attr_type wfnoempty">
231
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
232
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
- </select>
234
- </td>
235
- <td>
236
- <select name="attributes[]" required="required"
237
- class="wf_validate_attr wf_attr wf_attributes">
238
- <?php echo $product->attributeDropdown('image'); ?>
239
- </select>
240
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
- style=" display: none;"/>
242
- </td>
243
- <td>
244
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
- </td>
246
- <td>
247
- <select name="output_type[][]" class="outputType wfnoempty">
248
- <option value="1">Default</option>
249
- <option value="2">Strip Tags</option>
250
- <option value="3">UTF-8 Encode</option>
251
- <option value="4">htmlentities</option>
252
- <option value="5">Integer</option>
253
- <option value="6">Price</option>
254
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
- <option value="8">CDATA</option>
256
- </select>
257
- <i class="dashicons dashicons-editor-expand expandType"></i>
258
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
- </td>
260
- <td>
261
- <input type="text" name="limit[]" class="wf_ps"/>
262
- </td>
263
- <td>
264
- <i class="delRow dashicons dashicons-trash"></i>
265
- </td>
266
- </tr>
267
- <tr>
268
- <td>
269
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
- </td>
271
- <td>
272
- <input type="text" name="mattributes[]" autocomplete="off" required
273
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_price"/>
274
- </td>
275
- <td>
276
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
277
- </td>
278
- <td>
279
- <select name="type[]" class="attr_type wfnoempty">
280
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
281
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
282
- </select>
283
- </td>
284
- <td>
285
- <select name="attributes[]" required="required"
286
- class="wf_validate_attr wf_attr wf_attributes">
287
- <?php echo $product->attributeDropdown('price'); ?>
288
- </select>
289
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
- style=" display: none;"/>
291
- </td>
292
- <td>
293
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
- </td>
295
- <td>
296
- <select name="output_type[][]" class="outputType wfnoempty">
297
- <option value="1">Default</option>
298
- <option value="2">Strip Tags</option>
299
- <option value="3">UTF-8 Encode</option>
300
- <option value="4">htmlentities</option>
301
- <option value="5">Integer</option>
302
- <option value="6">Price</option>
303
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
- <option value="8">CDATA</option>
305
- </select>
306
- <i class="dashicons dashicons-editor-expand expandType"></i>
307
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
- </td>
309
- <td>
310
- <input type="text" name="limit[]" class="wf_ps"/>
311
- </td>
312
- <td>
313
- <i class="delRow dashicons dashicons-trash"></i>
314
- </td>
315
- </tr>
316
- </tbody>
317
- <tfoot>
318
- <tr>
319
- <td>
320
- <button type="button" class="button-small button-primary" id="wf_newRow">
321
- <?php _e('Add New Row', 'woo-feed'); ?>
322
- </button>
323
- </td>
324
- <td colspan="8">
325
-
326
- </td>
327
- </tr>
328
- </tfoot>
329
- </table>
330
- <table class=" widefat fixed">
331
- <tr>
332
- <td align="left" class="">
333
- <div class="makeFeedResponse"></div>
334
- <div class="makeFeedComplete"></div>
335
- </td>
336
- <td align="right">
337
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
338
- </td>
339
- </tr>
340
- </table>
341
- </div>
342
- </li>
343
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
344
-
345
  </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_id"/>
29
+ </td>
30
+ <td>
31
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
+ </td>
33
+ <td>
34
+ <select name="type[]" class="attr_type wfnoempty">
35
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('id'); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ <tr>
72
+ <td>
73
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
+ </td>
75
+ <td>
76
+ <input type="text" name="mattributes[]" autocomplete="off" required
77
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_name"/>
78
+ </td>
79
+ <td>
80
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
81
+ </td>
82
+ <td>
83
+ <select name="type[]" class="attr_type wfnoempty">
84
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
85
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" required="required"
90
+ class="wf_validate_attr wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('title'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" class="outputType wfnoempty">
101
+ <option value="1">Default</option>
102
+ <option value="2">Strip Tags</option>
103
+ <option value="3">UTF-8 Encode</option>
104
+ <option value="4">htmlentities</option>
105
+ <option value="5">Integer</option>
106
+ <option value="6">Price</option>
107
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
+ <option value="8">CDATA</option>
109
+ </select>
110
+ <i class="dashicons dashicons-editor-expand expandType"></i>
111
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
+ </td>
113
+ <td>
114
+ <input type="text" name="limit[]" class="wf_ps"/>
115
+ </td>
116
+ <td>
117
+ <i class="delRow dashicons dashicons-trash"></i>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
+ </td>
124
+ <td>
125
+ <input type="text" name="mattributes[]" autocomplete="off" required
126
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_category_id"/>
127
+ </td>
128
+ <td>
129
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
+ </td>
131
+ <td>
132
+ <select name="type[]" class="attr_type wfnoempty">
133
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" required="required"
139
+ class="wf_validate_attr wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown('product_type'); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" class="wf_ps"/>
164
+ </td>
165
+ <td>
166
+ <i class="delRow dashicons dashicons-trash"></i>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td>
171
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
+ </td>
173
+ <td>
174
+ <input type="text" name="mattributes[]" autocomplete="off" required
175
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_deeplink"/>
176
+ </td>
177
+ <td>
178
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
+ </td>
180
+ <td>
181
+ <select name="type[]" class="attr_type wfnoempty">
182
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
183
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" required="required"
188
+ class="wf_validate_attr wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('link'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" class="outputType wfnoempty">
199
+ <option value="1">Default</option>
200
+ <option value="2">Strip Tags</option>
201
+ <option value="3">UTF-8 Encode</option>
202
+ <option value="4">htmlentities</option>
203
+ <option value="5">Integer</option>
204
+ <option value="6">Price</option>
205
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
+ <option value="8">CDATA</option>
207
+ </select>
208
+ <i class="dashicons dashicons-editor-expand expandType"></i>
209
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="limit[]" class="wf_ps"/>
213
+ </td>
214
+ <td>
215
+ <i class="delRow dashicons dashicons-trash"></i>
216
+ </td>
217
+ </tr>
218
+ <tr>
219
+ <td>
220
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
+ </td>
222
+ <td>
223
+ <input type="text" name="mattributes[]" autocomplete="off" required
224
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_image"/>
225
+ </td>
226
+ <td>
227
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
228
+ </td>
229
+ <td>
230
+ <select name="type[]" class="attr_type wfnoempty">
231
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
232
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" required="required"
237
+ class="wf_validate_attr wf_attr wf_attributes">
238
+ <?php echo $product->attributeDropdown('image'); ?>
239
+ </select>
240
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
+ style=" display: none;"/>
242
+ </td>
243
+ <td>
244
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
+ </td>
246
+ <td>
247
+ <select name="output_type[][]" class="outputType wfnoempty">
248
+ <option value="1">Default</option>
249
+ <option value="2">Strip Tags</option>
250
+ <option value="3">UTF-8 Encode</option>
251
+ <option value="4">htmlentities</option>
252
+ <option value="5">Integer</option>
253
+ <option value="6">Price</option>
254
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
+ <option value="8">CDATA</option>
256
+ </select>
257
+ <i class="dashicons dashicons-editor-expand expandType"></i>
258
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
+ </td>
260
+ <td>
261
+ <input type="text" name="limit[]" class="wf_ps"/>
262
+ </td>
263
+ <td>
264
+ <i class="delRow dashicons dashicons-trash"></i>
265
+ </td>
266
+ </tr>
267
+ <tr>
268
+ <td>
269
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
+ </td>
271
+ <td>
272
+ <input type="text" name="mattributes[]" autocomplete="off" required
273
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_price"/>
274
+ </td>
275
+ <td>
276
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
277
+ </td>
278
+ <td>
279
+ <select name="type[]" class="attr_type wfnoempty">
280
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
281
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" required="required"
286
+ class="wf_validate_attr wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown('price'); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
+ style=" display: none;"/>
291
+ </td>
292
+ <td>
293
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
+ </td>
295
+ <td>
296
+ <select name="output_type[][]" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ </tbody>
317
+ <tfoot>
318
+ <tr>
319
+ <td>
320
+ <button type="button" class="button-small button-primary" id="wf_newRow">
321
+ <?php _e('Add New Row', 'woo-feed'); ?>
322
+ </button>
323
+ </td>
324
+ <td colspan="8">
325
+
326
+ </td>
327
+ </tr>
328
+ </tfoot>
329
+ </table>
330
+ <table class=" widefat fixed">
331
+ <tr>
332
+ <td align="left" class="">
333
+ <div class="makeFeedResponse"></div>
334
+ <div class="makeFeedComplete"></div>
335
+ </td>
336
+ <td align="right">
337
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
338
+ </td>
339
+ </tr>
340
+ </table>
341
+ </div>
342
+ </li>
343
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
344
+
345
  </ul>
admin/partials/templates/adroll_add-feed.php CHANGED
@@ -1,707 +1,707 @@
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 _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 _e( 'Attributes', 'woo-feed' ); ?></th>
12
- <th><?php _e( 'Prefix', 'woo-feed' ); ?></th>
13
- <th><?php _e( 'Type', 'woo-feed' ); ?></th>
14
- <th><?php _e( 'Value', 'woo-feed' ); ?></th>
15
- <th><?php _e( 'Suffix', 'woo-feed' ); ?></th>
16
- <th><?php _e( 'Output Type', 'woo-feed' ); ?></th>
17
- <th><?php _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
- <select name="mattributes[]" required class="wf_mattributes">
28
- <?php echo $dropDown->googleAttributesDropdown( 'id' ); ?>
29
- </select>
30
- </td>
31
- <td>
32
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
33
- </td>
34
- <td>
35
- <select name="type[]" class="attr_type wfnoempty">
36
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
37
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
38
- </select>
39
- </td>
40
- <td>
41
- <select name="attributes[]" class="wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown( 'id' ); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
77
- <?php echo $dropDown->googleAttributesDropdown( 'title' ); ?>
78
- </select>
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 _e( 'Attribute', 'woo-feed' ); ?></option>
86
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
87
- </select>
88
- </td>
89
- <td>
90
- <select name="attributes[]" class="wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown( 'title' ); ?>
92
- </select>
93
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
- style=" display: none;"/>
95
- </td>
96
- <td>
97
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
- </td>
99
- <td>
100
- <select name="output_type[][]" 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[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
126
- <?php echo $dropDown->googleAttributesDropdown( 'description' ); ?>
127
- </select>
128
- </td>
129
- <td>
130
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
131
- </td>
132
- <td>
133
- <select name="type[]" class="attr_type wfnoempty">
134
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
135
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
136
- </select>
137
- </td>
138
- <td>
139
- <select name="attributes[]" class="wf_attr wf_attributes">
140
- <?php echo $product->attributeDropdown( 'description' ); ?>
141
- </select>
142
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
- style=" display: none;"/>
144
- </td>
145
- <td>
146
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
- </td>
148
- <td>
149
- <select name="output_type[][]" class="outputType wfnoempty">
150
- <option value="1">Default</option>
151
- <option value="2">Strip Tags</option>
152
- <option value="3">UTF-8 Encode</option>
153
- <option value="4">htmlentities</option>
154
- <option value="5">Integer</option>
155
- <option value="6">Price</option>
156
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
- <option value="8">CDATA</option>
158
- </select>
159
- <i class="dashicons dashicons-editor-expand expandType"></i>
160
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
- </td>
162
- <td>
163
- <input type="text" name="limit[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
175
- <?php echo $dropDown->googleAttributesDropdown( 'item_group_id' ); ?>
176
- </select>
177
- </td>
178
- <td>
179
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
180
- </td>
181
- <td>
182
- <select name="type[]" class="attr_type wfnoempty">
183
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
184
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
185
- </select>
186
- </td>
187
- <td>
188
- <select name="attributes[]" class="wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown( 'item_group_id' ); ?>
190
- </select>
191
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
- style=" display: none;"/>
193
- </td>
194
- <td>
195
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
- </td>
197
- <td>
198
- <select name="output_type[][]" class="outputType wfnoempty">
199
- <option value="1">Default</option>
200
- <option value="2">Strip Tags</option>
201
- <option value="3">UTF-8 Encode</option>
202
- <option value="4">htmlentities</option>
203
- <option value="5">Integer</option>
204
- <option value="6">Price</option>
205
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
- <option value="8">CDATA</option>
207
- </select>
208
- <i class="dashicons dashicons-editor-expand expandType"></i>
209
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
- </td>
211
- <td>
212
- <input type="text" name="limit[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
224
- <?php echo $dropDown->googleAttributesDropdown( 'link' ); ?>
225
- </select>
226
- </td>
227
- <td>
228
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
229
- </td>
230
- <td>
231
- <select name="type[]" class="attr_type wfnoempty">
232
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
233
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
234
- </select>
235
- </td>
236
- <td>
237
- <select name="attributes[]" class="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[][]" 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[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
273
- <?php echo $dropDown->googleAttributesDropdown('product_type'); ?>
274
- </select>
275
- </td>
276
- <td>
277
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
278
- </td>
279
- <td>
280
- <select name="type[]" class="attr_type wfnoempty">
281
- <option value="attribute"><?php _e('Attribute','woo-feed');?></option>
282
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
283
- </select>
284
- </td>
285
- <td>
286
- <select name="attributes[]" class="wf_attr wf_attributes">
287
- <?php echo $product->attributeDropdown('product_type'); ?>
288
- </select>
289
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
- style=" display: none;"/>
291
- </td>
292
- <td>
293
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
- </td>
295
- <td>
296
- <select name="output_type[][]" class="outputType wfnoempty">
297
- <option value="1">Default</option>
298
- <option value="2">Strip Tags</option>
299
- <option value="3">UTF-8 Encode</option>
300
- <option value="4">htmlentities</option>
301
- <option value="5">Integer</option>
302
- <option value="6">Price</option>
303
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
- <option value="8">CDATA</option>
305
- </select>
306
- <i class="dashicons dashicons-editor-expand expandType"></i>
307
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
- </td>
309
- <td>
310
- <input type="text" name="limit[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
322
- <?php echo $dropDown->googleAttributesDropdown('current_category'); ?>
323
- </select>
324
- </td>
325
- <td>
326
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
327
- </td>
328
- <td>
329
- <select name="type[]" class="attr_type wfnoempty">
330
- <option value="attribute"><?php _e('Attribute','woo-feed');?></option>
331
- <option value="pattern" selected><?php _e('Pattern','woo-feed');?></option>
332
- </select>
333
- </td>
334
- <td>
335
- <select name="attributes[]" style=" display: none;" class="wf_attr wf_attributes">
336
- <?php echo $product->attributeDropdown(); ?>
337
- </select>
338
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" />
339
- <br><span style="font-size:x-small;"><a href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">Learn More..</a></span>
340
- </td>
341
- <td>
342
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
- </td>
344
- <td>
345
- <select name="output_type[][]" class="outputType wfnoempty">
346
- <option value="1">Default</option>
347
- <option value="2">Strip Tags</option>
348
- <option value="3">UTF-8 Encode</option>
349
- <option value="4">htmlentities</option>
350
- <option value="5">Integer</option>
351
- <option value="6">Price</option>
352
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
- <option value="8">CDATA</option>
354
- </select>
355
- <i class="dashicons dashicons-editor-expand expandType"></i>
356
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
- </td>
358
- <td>
359
- <input type="text" name="limit[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
371
- <?php echo $dropDown->googleAttributesDropdown( 'image' ); ?>
372
- </select>
373
- </td>
374
- <td>
375
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
376
- </td>
377
- <td>
378
- <select name="type[]" class="attr_type wfnoempty">
379
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
380
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
381
- </select>
382
- </td>
383
- <td>
384
- <select name="attributes[]" class="wf_attr wf_attributes">
385
- <?php echo $product->attributeDropdown( 'image' ); ?>
386
- </select>
387
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
- style=" display: none;"/>
389
- </td>
390
- <td>
391
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
- </td>
393
- <td>
394
- <select name="output_type[][]" class="outputType wfnoempty">
395
- <option value="1">Default</option>
396
- <option value="2">Strip Tags</option>
397
- <option value="3">UTF-8 Encode</option>
398
- <option value="4">htmlentities</option>
399
- <option value="5">Integer</option>
400
- <option value="6">Price</option>
401
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
- <option value="8">CDATA</option>
403
- </select>
404
- <i class="dashicons dashicons-editor-expand expandType"></i>
405
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
- </td>
407
- <td>
408
- <input type="text" name="limit[]" autocomplete="off" 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
- <select name="mattributes[]" required class="wf_mattributes">
420
- <?php echo $dropDown->googleAttributesDropdown( 'condition' ); ?>
421
- </select>
422
- </td>
423
- <td>
424
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
425
- </td>
426
- <td>
427
- <select name="type[]" class="attr_type wfnoempty">
428
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
429
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
430
- </select>
431
- </td>
432
- <td>
433
- <select name="attributes[]" class="wf_attr wf_attributes">
434
- <?php echo $product->attributeDropdown( 'condition' ); ?>
435
- </select>
436
- <input type="text" style=" display: none;" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
- />
438
- </td>
439
- <td>
440
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
- </td>
442
- <td>
443
- <select name="output_type[][]" class="outputType wfnoempty">
444
- <option value="1">Default</option>
445
- <option value="2">Strip Tags</option>
446
- <option value="3">UTF-8 Encode</option>
447
- <option value="4">htmlentities</option>
448
- <option value="5">Integer</option>
449
- <option value="6">Price</option>
450
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
- <option value="8">CDATA</option>
452
- </select>
453
- <i class="dashicons dashicons-editor-expand expandType"></i>
454
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
- </td>
456
- <td>
457
- <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
458
- </td>
459
- <td>
460
- <i class="delRow dashicons dashicons-trash"></i>
461
- </td>
462
- </tr>
463
- <tr>
464
- <td>
465
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
- </td>
467
- <td>
468
- <select name="mattributes[]" required class="wf_mattributes">
469
- <?php echo $dropDown->googleAttributesDropdown( 'availability' ); ?>
470
- </select>
471
- </td>
472
- <td>
473
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
474
- </td>
475
- <td>
476
- <select name="type[]" class="attr_type wfnoempty">
477
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
478
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
479
- </select>
480
- </td>
481
- <td>
482
- <select name="attributes[]" class="wf_attr wf_attributes">
483
- <?php echo $product->attributeDropdown( 'availability' ); ?>
484
- </select>
485
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
- style=" display: none;"/>
487
- </td>
488
- <td>
489
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
- </td>
491
- <td>
492
- <select name="output_type[][]" class="outputType wfnoempty">
493
- <option value="1">Default</option>
494
- <option value="2">Strip Tags</option>
495
- <option value="3">UTF-8 Encode</option>
496
- <option value="4">htmlentities</option>
497
- <option value="5">Integer</option>
498
- <option value="6">Price</option>
499
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
- <option value="8">CDATA</option>
501
- </select>
502
- <i class="dashicons dashicons-editor-expand expandType"></i>
503
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
- </td>
505
- <td>
506
- <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
507
- </td>
508
- <td>
509
- <i class="delRow dashicons dashicons-trash"></i>
510
- </td>
511
- </tr>
512
- <tr>
513
- <td>
514
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
- </td>
516
- <td>
517
- <select name="mattributes[]" required class="wf_mattributes">
518
- <?php echo $dropDown->googleAttributesDropdown( 'price' ); ?>
519
- </select>
520
- </td>
521
- <td>
522
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
523
- </td>
524
- <td>
525
- <select name="type[]" class="attr_type wfnoempty">
526
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
527
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
528
- </select>
529
- </td>
530
- <td>
531
- <select name="attributes[]" class="wf_attr wf_attributes">
532
- <?php echo $product->attributeDropdown( 'price' ); ?>
533
- </select>
534
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
- style=" display: none;"/>
536
- </td>
537
- <td>
538
- <input type="text" name="suffix[]" value="USD" autocomplete="off" class="wf_ps"/>
539
- </td>
540
- <td>
541
- <select name="output_type[][]" class="outputType wfnoempty">
542
- <option value="1">Default</option>
543
- <option value="2">Strip Tags</option>
544
- <option value="3">UTF-8 Encode</option>
545
- <option value="4">htmlentities</option>
546
- <option value="5">Integer</option>
547
- <option selected value="6">Price</option>
548
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
- <option value="8">CDATA</option>
550
- </select>
551
- <i class="dashicons dashicons-editor-expand expandType"></i>
552
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
- </td>
554
- <td>
555
- <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
556
- </td>
557
- <td>
558
- <i class="delRow dashicons dashicons-trash"></i>
559
- </td>
560
- </tr>
561
-
562
- <tr>
563
- <td>
564
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
565
- </td>
566
- <td>
567
- <select name="mattributes[]" required class="wf_mattributes">
568
- <?php echo $dropDown->googleAttributesDropdown( 'sku' ); ?>
569
- </select>
570
- </td>
571
- <td>
572
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
573
- </td>
574
- <td>
575
- <select name="type[]" class="attr_type wfnoempty">
576
- <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
577
- <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
578
- </select>
579
- </td>
580
- <td>
581
- <select name="attributes[]" class="wf_attr wf_attributes">
582
- <?php echo $product->attributeDropdown( 'sku' ); ?>
583
- </select>
584
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
585
- style=" display: none;"/>
586
- </td>
587
- <td>
588
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
589
- </td>
590
- <td>
591
- <select name="output_type[][]" class="outputType wfnoempty">
592
- <option value="1">Default</option>
593
- <option value="2">Strip Tags</option>
594
- <option value="3">UTF-8 Encode</option>
595
- <option value="4">htmlentities</option>
596
- <option value="5">Integer</option>
597
- <option value="6">Price</option>
598
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
599
- <option value="8">CDATA</option>
600
- </select>
601
- <i class="dashicons dashicons-editor-expand expandType"></i>
602
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
603
- </td>
604
- <td>
605
- <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
606
- </td>
607
- <td>
608
- <i class="delRow dashicons dashicons-trash"></i>
609
- </td>
610
- </tr>
611
- <tr>
612
- <td>
613
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
614
- </td>
615
- <td>
616
- <select name="mattributes[]" required class="wf_mattributes">
617
- <?php echo $dropDown->googleAttributesDropdown( 'brand' ); ?>
618
- </select>
619
- </td>
620
- <td>
621
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
622
- </td>
623
- <td>
624
- <select name="type[]" class="attr_type wfnoempty">
625
- <option value="attribute" ><?php _e( 'Attribute', 'woo-feed' ); ?></option>
626
- <option value="pattern" selected><?php _e( 'Pattern', 'woo-feed' ); ?></option>
627
- </select>
628
- </td>
629
- <td>
630
- <select name="attributes[]" style=" display: none;" class="wf_attr wf_attributes">
631
- <?php echo $product->attributeDropdown(); ?>
632
- </select>
633
- <?php
634
- $url = site_url();
635
- $WABrand="";
636
- // Remove all illegal characters from a url
637
- $url = filter_var($url, FILTER_SANITIZE_URL);
638
- // Validate url
639
- if (filter_var($url, FILTER_VALIDATE_URL) !== false) {
640
- $url=parse_url($url);
641
- if(array_key_exists('host',$url)){
642
- $arr = explode('.',$url['host']);
643
- $WABrand = $arr[count($arr) - 2];
644
- }
645
- }
646
-
647
- ?>
648
- <input type="text" name="default[]" value="<?php echo $WABrand; ?>" autocomplete="off" class="wf_default wf_attributes"/>
649
- </td>
650
- <td>
651
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
652
- </td>
653
- <td>
654
- <select name="output_type[][]" class="outputType wfnoempty">
655
- <option value="1">Default</option>
656
- <option value="2">Strip Tags</option>
657
- <option value="3">UTF-8 Encode</option>
658
- <option value="4">htmlentities</option>
659
- <option value="5">Integer</option>
660
- <option value="6">Price</option>
661
- <option value="7">Remove Space</option>
662
- <option value="10">Remove ShortCodes</option>
663
- <option value="9">Remove Special Character</option>
664
- <option value="8">CDATA</option>
665
- </select>
666
- <i class="dashicons dashicons-editor-expand expandType"></i>
667
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
668
- </td>
669
- <td>
670
- <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
671
- </td>
672
- <td>
673
- <i class="delRow dashicons dashicons-trash"></i>
674
- </td>
675
- </tr>
676
- </tbody>
677
- <tfoot>
678
- <tr>
679
- <td>
680
- <button type="button" class="button-small button-primary" id="wf_newRow">
681
- <?php _e( 'Add New Row', 'woo-feed' ); ?>
682
- </button>
683
- </td>
684
- <td colspan="8">
685
-
686
- </td>
687
- </tr>
688
- </tfoot>
689
- </table>
690
- <table class=" widefat fixed">
691
- <tr>
692
- <td align="left" class="">
693
- <div class="makeFeedResponse"></div>
694
- <div class="makeFeedComplete"></div>
695
- </td>
696
- <td align="right">
697
- <button type="submit" class="wfbtn">
698
- <?php _e( 'Save & Generate Feed', 'woo-feed' ); ?>
699
- </button>
700
- </td>
701
- </tr>
702
- </table>
703
- </div>
704
- </li>
705
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
706
-
707
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e( 'Attributes', 'woo-feed' ); ?></th>
12
+ <th><?php _e( 'Prefix', 'woo-feed' ); ?></th>
13
+ <th><?php _e( 'Type', 'woo-feed' ); ?></th>
14
+ <th><?php _e( 'Value', 'woo-feed' ); ?></th>
15
+ <th><?php _e( 'Suffix', 'woo-feed' ); ?></th>
16
+ <th><?php _e( 'Output Type', 'woo-feed' ); ?></th>
17
+ <th><?php _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
+ <select name="mattributes[]" required class="wf_mattributes">
28
+ <?php echo $dropDown->googleAttributesDropdown( 'id' ); ?>
29
+ </select>
30
+ </td>
31
+ <td>
32
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
33
+ </td>
34
+ <td>
35
+ <select name="type[]" class="attr_type wfnoempty">
36
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
37
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
38
+ </select>
39
+ </td>
40
+ <td>
41
+ <select name="attributes[]" class="wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown( 'id' ); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
77
+ <?php echo $dropDown->googleAttributesDropdown( 'title' ); ?>
78
+ </select>
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 _e( 'Attribute', 'woo-feed' ); ?></option>
86
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
87
+ </select>
88
+ </td>
89
+ <td>
90
+ <select name="attributes[]" class="wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown( 'title' ); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" 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[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
126
+ <?php echo $dropDown->googleAttributesDropdown( 'description' ); ?>
127
+ </select>
128
+ </td>
129
+ <td>
130
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
131
+ </td>
132
+ <td>
133
+ <select name="type[]" class="attr_type wfnoempty">
134
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
135
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
136
+ </select>
137
+ </td>
138
+ <td>
139
+ <select name="attributes[]" class="wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown( 'description' ); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
175
+ <?php echo $dropDown->googleAttributesDropdown( 'item_group_id' ); ?>
176
+ </select>
177
+ </td>
178
+ <td>
179
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
180
+ </td>
181
+ <td>
182
+ <select name="type[]" class="attr_type wfnoempty">
183
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
184
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
185
+ </select>
186
+ </td>
187
+ <td>
188
+ <select name="attributes[]" class="wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown( 'item_group_id' ); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" class="outputType wfnoempty">
199
+ <option value="1">Default</option>
200
+ <option value="2">Strip Tags</option>
201
+ <option value="3">UTF-8 Encode</option>
202
+ <option value="4">htmlentities</option>
203
+ <option value="5">Integer</option>
204
+ <option value="6">Price</option>
205
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
+ <option value="8">CDATA</option>
207
+ </select>
208
+ <i class="dashicons dashicons-editor-expand expandType"></i>
209
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="limit[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
224
+ <?php echo $dropDown->googleAttributesDropdown( 'link' ); ?>
225
+ </select>
226
+ </td>
227
+ <td>
228
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
229
+ </td>
230
+ <td>
231
+ <select name="type[]" class="attr_type wfnoempty">
232
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
233
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
234
+ </select>
235
+ </td>
236
+ <td>
237
+ <select name="attributes[]" class="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[][]" 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[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
273
+ <?php echo $dropDown->googleAttributesDropdown('product_type'); ?>
274
+ </select>
275
+ </td>
276
+ <td>
277
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
278
+ </td>
279
+ <td>
280
+ <select name="type[]" class="attr_type wfnoempty">
281
+ <option value="attribute"><?php _e('Attribute','woo-feed');?></option>
282
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
283
+ </select>
284
+ </td>
285
+ <td>
286
+ <select name="attributes[]" class="wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown('product_type'); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
+ style=" display: none;"/>
291
+ </td>
292
+ <td>
293
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
+ </td>
295
+ <td>
296
+ <select name="output_type[][]" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
322
+ <?php echo $dropDown->googleAttributesDropdown('current_category'); ?>
323
+ </select>
324
+ </td>
325
+ <td>
326
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
327
+ </td>
328
+ <td>
329
+ <select name="type[]" class="attr_type wfnoempty">
330
+ <option value="attribute"><?php _e('Attribute','woo-feed');?></option>
331
+ <option value="pattern" selected><?php _e('Pattern','woo-feed');?></option>
332
+ </select>
333
+ </td>
334
+ <td>
335
+ <select name="attributes[]" style=" display: none;" class="wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown(); ?>
337
+ </select>
338
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" />
339
+ <br><span style="font-size:x-small;"><a href="http://webappick.helpscoutdocs.com/article/19-how-to-map-store-category-with-merchant-category" target="_blank">Learn More..</a></span>
340
+ </td>
341
+ <td>
342
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
+ </td>
344
+ <td>
345
+ <select name="output_type[][]" class="outputType wfnoempty">
346
+ <option value="1">Default</option>
347
+ <option value="2">Strip Tags</option>
348
+ <option value="3">UTF-8 Encode</option>
349
+ <option value="4">htmlentities</option>
350
+ <option value="5">Integer</option>
351
+ <option value="6">Price</option>
352
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
+ <option value="8">CDATA</option>
354
+ </select>
355
+ <i class="dashicons dashicons-editor-expand expandType"></i>
356
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
+ </td>
358
+ <td>
359
+ <input type="text" name="limit[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
371
+ <?php echo $dropDown->googleAttributesDropdown( 'image' ); ?>
372
+ </select>
373
+ </td>
374
+ <td>
375
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
376
+ </td>
377
+ <td>
378
+ <select name="type[]" class="attr_type wfnoempty">
379
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
380
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
381
+ </select>
382
+ </td>
383
+ <td>
384
+ <select name="attributes[]" class="wf_attr wf_attributes">
385
+ <?php echo $product->attributeDropdown( 'image' ); ?>
386
+ </select>
387
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
+ style=" display: none;"/>
389
+ </td>
390
+ <td>
391
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
+ </td>
393
+ <td>
394
+ <select name="output_type[][]" class="outputType wfnoempty">
395
+ <option value="1">Default</option>
396
+ <option value="2">Strip Tags</option>
397
+ <option value="3">UTF-8 Encode</option>
398
+ <option value="4">htmlentities</option>
399
+ <option value="5">Integer</option>
400
+ <option value="6">Price</option>
401
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
+ <option value="8">CDATA</option>
403
+ </select>
404
+ <i class="dashicons dashicons-editor-expand expandType"></i>
405
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
+ </td>
407
+ <td>
408
+ <input type="text" name="limit[]" autocomplete="off" 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
+ <select name="mattributes[]" required class="wf_mattributes">
420
+ <?php echo $dropDown->googleAttributesDropdown( 'condition' ); ?>
421
+ </select>
422
+ </td>
423
+ <td>
424
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
425
+ </td>
426
+ <td>
427
+ <select name="type[]" class="attr_type wfnoempty">
428
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
429
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
430
+ </select>
431
+ </td>
432
+ <td>
433
+ <select name="attributes[]" class="wf_attr wf_attributes">
434
+ <?php echo $product->attributeDropdown( 'condition' ); ?>
435
+ </select>
436
+ <input type="text" style=" display: none;" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
+ />
438
+ </td>
439
+ <td>
440
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
+ </td>
442
+ <td>
443
+ <select name="output_type[][]" class="outputType wfnoempty">
444
+ <option value="1">Default</option>
445
+ <option value="2">Strip Tags</option>
446
+ <option value="3">UTF-8 Encode</option>
447
+ <option value="4">htmlentities</option>
448
+ <option value="5">Integer</option>
449
+ <option value="6">Price</option>
450
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
+ <option value="8">CDATA</option>
452
+ </select>
453
+ <i class="dashicons dashicons-editor-expand expandType"></i>
454
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
+ </td>
456
+ <td>
457
+ <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
458
+ </td>
459
+ <td>
460
+ <i class="delRow dashicons dashicons-trash"></i>
461
+ </td>
462
+ </tr>
463
+ <tr>
464
+ <td>
465
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
+ </td>
467
+ <td>
468
+ <select name="mattributes[]" required class="wf_mattributes">
469
+ <?php echo $dropDown->googleAttributesDropdown( 'availability' ); ?>
470
+ </select>
471
+ </td>
472
+ <td>
473
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
474
+ </td>
475
+ <td>
476
+ <select name="type[]" class="attr_type wfnoempty">
477
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
478
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
479
+ </select>
480
+ </td>
481
+ <td>
482
+ <select name="attributes[]" class="wf_attr wf_attributes">
483
+ <?php echo $product->attributeDropdown( 'availability' ); ?>
484
+ </select>
485
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
+ style=" display: none;"/>
487
+ </td>
488
+ <td>
489
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
+ </td>
491
+ <td>
492
+ <select name="output_type[][]" class="outputType wfnoempty">
493
+ <option value="1">Default</option>
494
+ <option value="2">Strip Tags</option>
495
+ <option value="3">UTF-8 Encode</option>
496
+ <option value="4">htmlentities</option>
497
+ <option value="5">Integer</option>
498
+ <option value="6">Price</option>
499
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
+ <option value="8">CDATA</option>
501
+ </select>
502
+ <i class="dashicons dashicons-editor-expand expandType"></i>
503
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
+ </td>
505
+ <td>
506
+ <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
507
+ </td>
508
+ <td>
509
+ <i class="delRow dashicons dashicons-trash"></i>
510
+ </td>
511
+ </tr>
512
+ <tr>
513
+ <td>
514
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
+ </td>
516
+ <td>
517
+ <select name="mattributes[]" required class="wf_mattributes">
518
+ <?php echo $dropDown->googleAttributesDropdown( 'price' ); ?>
519
+ </select>
520
+ </td>
521
+ <td>
522
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
523
+ </td>
524
+ <td>
525
+ <select name="type[]" class="attr_type wfnoempty">
526
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
527
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
528
+ </select>
529
+ </td>
530
+ <td>
531
+ <select name="attributes[]" class="wf_attr wf_attributes">
532
+ <?php echo $product->attributeDropdown( 'price' ); ?>
533
+ </select>
534
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
+ style=" display: none;"/>
536
+ </td>
537
+ <td>
538
+ <input type="text" name="suffix[]" value="USD" autocomplete="off" class="wf_ps"/>
539
+ </td>
540
+ <td>
541
+ <select name="output_type[][]" class="outputType wfnoempty">
542
+ <option value="1">Default</option>
543
+ <option value="2">Strip Tags</option>
544
+ <option value="3">UTF-8 Encode</option>
545
+ <option value="4">htmlentities</option>
546
+ <option value="5">Integer</option>
547
+ <option selected value="6">Price</option>
548
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
+ <option value="8">CDATA</option>
550
+ </select>
551
+ <i class="dashicons dashicons-editor-expand expandType"></i>
552
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
+ </td>
554
+ <td>
555
+ <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
556
+ </td>
557
+ <td>
558
+ <i class="delRow dashicons dashicons-trash"></i>
559
+ </td>
560
+ </tr>
561
+
562
+ <tr>
563
+ <td>
564
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
565
+ </td>
566
+ <td>
567
+ <select name="mattributes[]" required class="wf_mattributes">
568
+ <?php echo $dropDown->googleAttributesDropdown( 'sku' ); ?>
569
+ </select>
570
+ </td>
571
+ <td>
572
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
573
+ </td>
574
+ <td>
575
+ <select name="type[]" class="attr_type wfnoempty">
576
+ <option value="attribute"><?php _e( 'Attribute', 'woo-feed' ); ?></option>
577
+ <option value="pattern"><?php _e( 'Pattern', 'woo-feed' ); ?></option>
578
+ </select>
579
+ </td>
580
+ <td>
581
+ <select name="attributes[]" class="wf_attr wf_attributes">
582
+ <?php echo $product->attributeDropdown( 'sku' ); ?>
583
+ </select>
584
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
585
+ style=" display: none;"/>
586
+ </td>
587
+ <td>
588
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
589
+ </td>
590
+ <td>
591
+ <select name="output_type[][]" class="outputType wfnoempty">
592
+ <option value="1">Default</option>
593
+ <option value="2">Strip Tags</option>
594
+ <option value="3">UTF-8 Encode</option>
595
+ <option value="4">htmlentities</option>
596
+ <option value="5">Integer</option>
597
+ <option value="6">Price</option>
598
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
599
+ <option value="8">CDATA</option>
600
+ </select>
601
+ <i class="dashicons dashicons-editor-expand expandType"></i>
602
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
603
+ </td>
604
+ <td>
605
+ <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
606
+ </td>
607
+ <td>
608
+ <i class="delRow dashicons dashicons-trash"></i>
609
+ </td>
610
+ </tr>
611
+ <tr>
612
+ <td>
613
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
614
+ </td>
615
+ <td>
616
+ <select name="mattributes[]" required class="wf_mattributes">
617
+ <?php echo $dropDown->googleAttributesDropdown( 'brand' ); ?>
618
+ </select>
619
+ </td>
620
+ <td>
621
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
622
+ </td>
623
+ <td>
624
+ <select name="type[]" class="attr_type wfnoempty">
625
+ <option value="attribute" ><?php _e( 'Attribute', 'woo-feed' ); ?></option>
626
+ <option value="pattern" selected><?php _e( 'Pattern', 'woo-feed' ); ?></option>
627
+ </select>
628
+ </td>
629
+ <td>
630
+ <select name="attributes[]" style=" display: none;" class="wf_attr wf_attributes">
631
+ <?php echo $product->attributeDropdown(); ?>
632
+ </select>
633
+ <?php
634
+ $url = site_url();
635
+ $WABrand="";
636
+ // Remove all illegal characters from a url
637
+ $url = filter_var($url, FILTER_SANITIZE_URL);
638
+ // Validate url
639
+ if (filter_var($url, FILTER_VALIDATE_URL) !== false) {
640
+ $url=parse_url($url);
641
+ if(array_key_exists('host',$url)){
642
+ $arr = explode('.',$url['host']);
643
+ $WABrand = $arr[count($arr) - 2];
644
+ }
645
+ }
646
+
647
+ ?>
648
+ <input type="text" name="default[]" value="<?php echo $WABrand; ?>" autocomplete="off" class="wf_default wf_attributes"/>
649
+ </td>
650
+ <td>
651
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
652
+ </td>
653
+ <td>
654
+ <select name="output_type[][]" class="outputType wfnoempty">
655
+ <option value="1">Default</option>
656
+ <option value="2">Strip Tags</option>
657
+ <option value="3">UTF-8 Encode</option>
658
+ <option value="4">htmlentities</option>
659
+ <option value="5">Integer</option>
660
+ <option value="6">Price</option>
661
+ <option value="7">Remove Space</option>
662
+ <option value="10">Remove ShortCodes</option>
663
+ <option value="9">Remove Special Character</option>
664
+ <option value="8">CDATA</option>
665
+ </select>
666
+ <i class="dashicons dashicons-editor-expand expandType"></i>
667
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
668
+ </td>
669
+ <td>
670
+ <input type="text" name="limit[]" autocomplete="off" class="wf_ps"/>
671
+ </td>
672
+ <td>
673
+ <i class="delRow dashicons dashicons-trash"></i>
674
+ </td>
675
+ </tr>
676
+ </tbody>
677
+ <tfoot>
678
+ <tr>
679
+ <td>
680
+ <button type="button" class="button-small button-primary" id="wf_newRow">
681
+ <?php _e( 'Add New Row', 'woo-feed' ); ?>
682
+ </button>
683
+ </td>
684
+ <td colspan="8">
685
+
686
+ </td>
687
+ </tr>
688
+ </tfoot>
689
+ </table>
690
+ <table class=" widefat fixed">
691
+ <tr>
692
+ <td align="left" class="">
693
+ <div class="makeFeedResponse"></div>
694
+ <div class="makeFeedComplete"></div>
695
+ </td>
696
+ <td align="right">
697
+ <button type="submit" class="wfbtn">
698
+ <?php _e( 'Save & Generate Feed', 'woo-feed' ); ?>
699
+ </button>
700
+ </td>
701
+ </tr>
702
+ </table>
703
+ </div>
704
+ </li>
705
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
706
+
707
+ </ul>
admin/partials/templates/adwords_add-feed.php CHANGED
@@ -1,639 +1,639 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _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="ID"/>
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('id'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- <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="ID2"/>
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">
84
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
85
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
- </select>
87
- </td>
88
- <td>
89
- <select name="attributes[]" required="required"
90
- class="wf_validate_attr wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown('sku'); ?>
92
- </select>
93
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
- style=" display: none;"/>
95
- </td>
96
- <td>
97
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
- </td>
99
- <td>
100
- <select name="output_type[][]" class="outputType wfnoempty">
101
- <option value="1">Default</option>
102
- <option value="2">Strip Tags</option>
103
- <option value="3">UTF-8 Encode</option>
104
- <option value="4">htmlentities</option>
105
- <option value="5">Integer</option>
106
- <option value="6">Price</option>
107
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
- <option value="8">CDATA</option>
109
- </select>
110
- <i class="dashicons dashicons-editor-expand expandType"></i>
111
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
- </td>
113
- <td>
114
- <input type="text" name="limit[]" class="wf_ps"/>
115
- </td>
116
- <td>
117
- <i class="delRow dashicons dashicons-trash"></i>
118
- </td>
119
- </tr>
120
- <tr>
121
- <td>
122
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
- </td>
124
- <td>
125
- <input type="text" name="mattributes[]" autocomplete="off" required
126
- class="wf_validate_attr wf_mattributes" value="Item title"/>
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">
133
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
- </select>
136
- </td>
137
- <td>
138
- <select name="attributes[]" required="required"
139
- class="wf_validate_attr wf_attr wf_attributes">
140
- <?php echo $product->attributeDropdown('title'); ?>
141
- </select>
142
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
- style=" display: none;"/>
144
- </td>
145
- <td>
146
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
- </td>
148
- <td>
149
- <select name="output_type[][]" 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="Final URL"/>
176
- </td>
177
- <td>
178
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
- </td>
180
- <td>
181
- <select name="type[]" class="attr_type">
182
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
183
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
- </select>
185
- </td>
186
- <td>
187
- <select name="attributes[]" required="required"
188
- class="wf_validate_attr wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown('link'); ?>
190
- </select>
191
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
- style=" display: none;"/>
193
- </td>
194
- <td>
195
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
- </td>
197
- <td>
198
- <select name="output_type[][]" 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="Image 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">
231
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
232
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
- </select>
234
- </td>
235
- <td>
236
- <select name="attributes[]" required="required"
237
- class="wf_validate_attr wf_attr wf_attributes">
238
- <?php echo $product->attributeDropdown('image'); ?>
239
- </select>
240
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
- style=" display: none;"/>
242
- </td>
243
- <td>
244
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
- </td>
246
- <td>
247
- <select name="output_type[][]" 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="Item subtitle"/>
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">
280
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
281
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
282
- </select>
283
- </td>
284
- <td>
285
- <select name="attributes[]" required="required"
286
- class="wf_validate_attr wf_attr wf_attributes">
287
- <?php echo $product->attributeDropdown('short_description'); ?>
288
- </select>
289
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
- style=" display: none;"/>
291
- </td>
292
- <td>
293
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
- </td>
295
- <td>
296
- <select name="output_type[][]" class="outputType wfnoempty">
297
- <option value="1">Default</option>
298
- <option value="2">Strip Tags</option>
299
- <option value="3">UTF-8 Encode</option>
300
- <option value="4">htmlentities</option>
301
- <option value="5">Integer</option>
302
- <option value="6">Price</option>
303
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
- <option value="8">CDATA</option>
305
- </select>
306
- <i class="dashicons dashicons-editor-expand expandType"></i>
307
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
- </td>
309
- <td>
310
- <input type="text" name="limit[]" class="wf_ps"/>
311
- </td>
312
- <td>
313
- <i class="delRow dashicons dashicons-trash"></i>
314
- </td>
315
- </tr>
316
- <tr>
317
- <td>
318
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
- </td>
320
- <td>
321
- <input type="text" name="mattributes[]" autocomplete="off" required
322
- class="wf_validate_attr wf_mattributes" value="Item description"/>
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">
329
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
330
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
331
- </select>
332
- </td>
333
- <td>
334
- <select name="attributes[]" required="required"
335
- class="wf_validate_attr wf_attr wf_attributes">
336
- <?php echo $product->attributeDropdown("description"); ?>
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[][]" 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="Item category"/>
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">
378
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
379
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
380
- </select>
381
- </td>
382
- <td>
383
- <select name="attributes[]" required="required"
384
- class="wf_validate_attr wf_attr wf_attributes">
385
- <?php echo $product->attributeDropdown("product_type"); ?>
386
- </select>
387
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
- style=" display: none;"/>
389
- </td>
390
- <td>
391
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
- </td>
393
- <td>
394
- <select name="output_type[][]" class="outputType wfnoempty">
395
- <option value="1">Default</option>
396
- <option value="2">Strip Tags</option>
397
- <option value="3">UTF-8 Encode</option>
398
- <option value="4">htmlentities</option>
399
- <option value="5">Integer</option>
400
- <option value="6">Price</option>
401
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
- <option value="8">CDATA</option>
403
- </select>
404
- <i class="dashicons dashicons-editor-expand expandType"></i>
405
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
- </td>
407
- <td>
408
- <input type="text" name="limit[]" class="wf_ps"/>
409
- </td>
410
- <td>
411
- <i class="delRow dashicons dashicons-trash"></i>
412
- </td>
413
- </tr>
414
- <tr>
415
- <td>
416
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
- </td>
418
- <td>
419
- <input type="text" name="mattributes[]" autocomplete="off" required
420
- class="wf_validate_attr wf_mattributes" value="Price"/>
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">
427
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
428
- <option value="pattern" > <?php _e('Pattern', 'woo-feed'); ?></option>
429
- </select>
430
- </td>
431
- <td>
432
- <select name="attributes[]" required="required"
433
- class="wf_validate_attr wf_attr wf_attributes">
434
- <?php echo $product->attributeDropdown("price"); ?>
435
- </select>
436
- <input type="text" style=" display: none;" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
- value="" />
438
- </td>
439
- <td>
440
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
- </td>
442
- <td>
443
- <select name="output_type[][]" class="outputType wfnoempty">
444
- <option value="1">Default</option>
445
- <option value="2">Strip Tags</option>
446
- <option value="3">UTF-8 Encode</option>
447
- <option value="4">htmlentities</option>
448
- <option value="5">Integer</option>
449
- <option value="6">Price</option>
450
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
- <option value="8">CDATA</option>
452
- </select>
453
- <i class="dashicons dashicons-editor-expand expandType"></i>
454
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
- </td>
456
- <td>
457
- <input type="text" name="limit[]" class="wf_ps"/>
458
- </td>
459
- <td>
460
- <i class="delRow dashicons dashicons-trash"></i>
461
- </td>
462
- </tr>
463
- <tr>
464
- <td>
465
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
- </td>
467
- <td>
468
- <input type="text" name="mattributes[]" autocomplete="off" required
469
- class="wf_validate_attr wf_mattributes" value="Sale price"/>
470
- </td>
471
- <td>
472
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
473
- </td>
474
- <td>
475
- <select name="type[]" class="attr_type">
476
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
477
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
478
- </select>
479
- </td>
480
- <td>
481
- <select name="attributes[]" required="required"
482
- class="wf_validate_attr wf_attr wf_attributes">
483
- <?php echo $product->attributeDropdown('sale_price'); ?>
484
- </select>
485
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
- style=" display: none;"/>
487
- </td>
488
- <td>
489
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
- </td>
491
- <td>
492
- <select name="output_type[][]" class="outputType wfnoempty">
493
- <option value="1">Default</option>
494
- <option value="2">Strip Tags</option>
495
- <option value="3">UTF-8 Encode</option>
496
- <option value="4">htmlentities</option>
497
- <option value="5">Integer</option>
498
- <option value="6">Price</option>
499
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
- <option value="8">CDATA</option>
501
- </select>
502
- <i class="dashicons dashicons-editor-expand expandType"></i>
503
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
- </td>
505
- <td>
506
- <input type="text" name="limit[]" class="wf_ps"/>
507
- </td>
508
- <td>
509
- <i class="delRow dashicons dashicons-trash"></i>
510
- </td>
511
- </tr>
512
- <tr>
513
- <td>
514
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
- </td>
516
- <td>
517
- <input type="text" name="mattributes[]" autocomplete="off" required
518
- class="wf_validate_attr wf_mattributes" value="Contextual keywords"/>
519
- </td>
520
- <td>
521
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
522
- </td>
523
- <td>
524
- <select name="type[]" class="attr_type">
525
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
526
- <option selected value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
527
- </select>
528
- </td>
529
- <td>
530
- <select name="attributes[]" style="display: none;" required="required"
531
- class="wf_validate_attr wf_attr wf_attributes">
532
- <?php echo $product->attributeDropdown(); ?>
533
- </select>
534
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
- />
536
- </td>
537
- <td>
538
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
539
- </td>
540
- <td>
541
- <select name="output_type[][]" class="outputType wfnoempty">
542
- <option value="1">Default</option>
543
- <option value="2">Strip Tags</option>
544
- <option value="3">UTF-8 Encode</option>
545
- <option value="4">htmlentities</option>
546
- <option value="5">Integer</option>
547
- <option value="6">Price</option>
548
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
- <option value="8">CDATA</option>
550
- </select>
551
- <i class="dashicons dashicons-editor-expand expandType"></i>
552
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
- </td>
554
- <td>
555
- <input type="text" name="limit[]" class="wf_ps"/>
556
- </td>
557
- <td>
558
- <i class="delRow dashicons dashicons-trash"></i>
559
- </td>
560
- </tr>
561
- <tr>
562
- <td>
563
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
564
- </td>
565
- <td>
566
- <input type="text" name="mattributes[]" autocomplete="off" required
567
- class="wf_validate_attr wf_mattributes" value="Item address"/>
568
- </td>
569
- <td>
570
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
571
- </td>
572
- <td>
573
- <select name="type[]" class="attr_type">
574
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
575
- <option selected value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
576
- </select>
577
- </td>
578
- <td>
579
- <select name="attributes[]" style="display: none;" required="required"
580
- class="wf_validate_attr wf_attr wf_attributes">
581
- <?php echo $product->attributeDropdown(); ?>
582
- </select>
583
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
584
- />
585
- </td>
586
- <td>
587
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
588
- </td>
589
- <td>
590
- <select name="output_type[][]" class="outputType wfnoempty">
591
- <option value="1">Default</option>
592
- <option value="2">Strip Tags</option>
593
- <option value="3">UTF-8 Encode</option>
594
- <option value="4">htmlentities</option>
595
- <option value="5">Integer</option>
596
- <option value="6">Price</option>
597
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
598
- <option value="8">CDATA</option>
599
- </select>
600
- <i class="dashicons dashicons-editor-expand expandType"></i>
601
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
602
- </td>
603
- <td>
604
- <input type="text" name="limit[]" class="wf_ps"/>
605
- </td>
606
- <td>
607
- <i class="delRow dashicons dashicons-trash"></i>
608
- </td>
609
- </tr>
610
- </tbody>
611
- <tfoot>
612
- <tr>
613
- <td>
614
- <button type="button" class="button-small button-primary" id="wf_newRow">
615
- <?php _e('Add New Row', 'woo-feed'); ?>
616
- </button>
617
- </td>
618
- <td colspan="8">
619
-
620
- </td>
621
- </tr>
622
- </tfoot>
623
- </table>
624
- <table class=" widefat fixed">
625
- <tr>
626
- <td align="left" class="">
627
- <div class="makeFeedResponse"></div>
628
- <div class="makeFeedComplete"></div>
629
- </td>
630
- <td align="right">
631
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
632
- </td>
633
- </tr>
634
- </table>
635
- </div>
636
- </li>
637
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
638
-
639
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _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="ID"/>
29
+ </td>
30
+ <td>
31
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
+ </td>
33
+ <td>
34
+ <select name="type[]" class="attr_type wfnoempty">
35
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('id'); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ <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="ID2"/>
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">
84
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
85
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" required="required"
90
+ class="wf_validate_attr wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('sku'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" class="outputType wfnoempty">
101
+ <option value="1">Default</option>
102
+ <option value="2">Strip Tags</option>
103
+ <option value="3">UTF-8 Encode</option>
104
+ <option value="4">htmlentities</option>
105
+ <option value="5">Integer</option>
106
+ <option value="6">Price</option>
107
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
+ <option value="8">CDATA</option>
109
+ </select>
110
+ <i class="dashicons dashicons-editor-expand expandType"></i>
111
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
+ </td>
113
+ <td>
114
+ <input type="text" name="limit[]" class="wf_ps"/>
115
+ </td>
116
+ <td>
117
+ <i class="delRow dashicons dashicons-trash"></i>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
+ </td>
124
+ <td>
125
+ <input type="text" name="mattributes[]" autocomplete="off" required
126
+ class="wf_validate_attr wf_mattributes" value="Item title"/>
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">
133
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" required="required"
139
+ class="wf_validate_attr wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown('title'); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" 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="Final URL"/>
176
+ </td>
177
+ <td>
178
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
+ </td>
180
+ <td>
181
+ <select name="type[]" class="attr_type">
182
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
183
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" required="required"
188
+ class="wf_validate_attr wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('link'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" 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="Image 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">
231
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
232
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" required="required"
237
+ class="wf_validate_attr wf_attr wf_attributes">
238
+ <?php echo $product->attributeDropdown('image'); ?>
239
+ </select>
240
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
+ style=" display: none;"/>
242
+ </td>
243
+ <td>
244
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
+ </td>
246
+ <td>
247
+ <select name="output_type[][]" 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="Item subtitle"/>
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">
280
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
281
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" required="required"
286
+ class="wf_validate_attr wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown('short_description'); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
+ style=" display: none;"/>
291
+ </td>
292
+ <td>
293
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
+ </td>
295
+ <td>
296
+ <select name="output_type[][]" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td>
318
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
+ </td>
320
+ <td>
321
+ <input type="text" name="mattributes[]" autocomplete="off" required
322
+ class="wf_validate_attr wf_mattributes" value="Item description"/>
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">
329
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
330
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
331
+ </select>
332
+ </td>
333
+ <td>
334
+ <select name="attributes[]" required="required"
335
+ class="wf_validate_attr wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown("description"); ?>
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[][]" 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="Item category"/>
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">
378
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
379
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
380
+ </select>
381
+ </td>
382
+ <td>
383
+ <select name="attributes[]" required="required"
384
+ class="wf_validate_attr wf_attr wf_attributes">
385
+ <?php echo $product->attributeDropdown("product_type"); ?>
386
+ </select>
387
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
+ style=" display: none;"/>
389
+ </td>
390
+ <td>
391
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
+ </td>
393
+ <td>
394
+ <select name="output_type[][]" class="outputType wfnoempty">
395
+ <option value="1">Default</option>
396
+ <option value="2">Strip Tags</option>
397
+ <option value="3">UTF-8 Encode</option>
398
+ <option value="4">htmlentities</option>
399
+ <option value="5">Integer</option>
400
+ <option value="6">Price</option>
401
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
+ <option value="8">CDATA</option>
403
+ </select>
404
+ <i class="dashicons dashicons-editor-expand expandType"></i>
405
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
+ </td>
407
+ <td>
408
+ <input type="text" name="limit[]" class="wf_ps"/>
409
+ </td>
410
+ <td>
411
+ <i class="delRow dashicons dashicons-trash"></i>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td>
416
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
+ </td>
418
+ <td>
419
+ <input type="text" name="mattributes[]" autocomplete="off" required
420
+ class="wf_validate_attr wf_mattributes" value="Price"/>
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">
427
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
428
+ <option value="pattern" > <?php _e('Pattern', 'woo-feed'); ?></option>
429
+ </select>
430
+ </td>
431
+ <td>
432
+ <select name="attributes[]" required="required"
433
+ class="wf_validate_attr wf_attr wf_attributes">
434
+ <?php echo $product->attributeDropdown("price"); ?>
435
+ </select>
436
+ <input type="text" style=" display: none;" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
+ value="" />
438
+ </td>
439
+ <td>
440
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
+ </td>
442
+ <td>
443
+ <select name="output_type[][]" class="outputType wfnoempty">
444
+ <option value="1">Default</option>
445
+ <option value="2">Strip Tags</option>
446
+ <option value="3">UTF-8 Encode</option>
447
+ <option value="4">htmlentities</option>
448
+ <option value="5">Integer</option>
449
+ <option value="6">Price</option>
450
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
+ <option value="8">CDATA</option>
452
+ </select>
453
+ <i class="dashicons dashicons-editor-expand expandType"></i>
454
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
+ </td>
456
+ <td>
457
+ <input type="text" name="limit[]" class="wf_ps"/>
458
+ </td>
459
+ <td>
460
+ <i class="delRow dashicons dashicons-trash"></i>
461
+ </td>
462
+ </tr>
463
+ <tr>
464
+ <td>
465
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
+ </td>
467
+ <td>
468
+ <input type="text" name="mattributes[]" autocomplete="off" required
469
+ class="wf_validate_attr wf_mattributes" value="Sale price"/>
470
+ </td>
471
+ <td>
472
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
473
+ </td>
474
+ <td>
475
+ <select name="type[]" class="attr_type">
476
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
477
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
478
+ </select>
479
+ </td>
480
+ <td>
481
+ <select name="attributes[]" required="required"
482
+ class="wf_validate_attr wf_attr wf_attributes">
483
+ <?php echo $product->attributeDropdown('sale_price'); ?>
484
+ </select>
485
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
+ style=" display: none;"/>
487
+ </td>
488
+ <td>
489
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
+ </td>
491
+ <td>
492
+ <select name="output_type[][]" class="outputType wfnoempty">
493
+ <option value="1">Default</option>
494
+ <option value="2">Strip Tags</option>
495
+ <option value="3">UTF-8 Encode</option>
496
+ <option value="4">htmlentities</option>
497
+ <option value="5">Integer</option>
498
+ <option value="6">Price</option>
499
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
+ <option value="8">CDATA</option>
501
+ </select>
502
+ <i class="dashicons dashicons-editor-expand expandType"></i>
503
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
+ </td>
505
+ <td>
506
+ <input type="text" name="limit[]" class="wf_ps"/>
507
+ </td>
508
+ <td>
509
+ <i class="delRow dashicons dashicons-trash"></i>
510
+ </td>
511
+ </tr>
512
+ <tr>
513
+ <td>
514
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
+ </td>
516
+ <td>
517
+ <input type="text" name="mattributes[]" autocomplete="off" required
518
+ class="wf_validate_attr wf_mattributes" value="Contextual keywords"/>
519
+ </td>
520
+ <td>
521
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
522
+ </td>
523
+ <td>
524
+ <select name="type[]" class="attr_type">
525
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
526
+ <option selected value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
527
+ </select>
528
+ </td>
529
+ <td>
530
+ <select name="attributes[]" style="display: none;" required="required"
531
+ class="wf_validate_attr wf_attr wf_attributes">
532
+ <?php echo $product->attributeDropdown(); ?>
533
+ </select>
534
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
+ />
536
+ </td>
537
+ <td>
538
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
539
+ </td>
540
+ <td>
541
+ <select name="output_type[][]" class="outputType wfnoempty">
542
+ <option value="1">Default</option>
543
+ <option value="2">Strip Tags</option>
544
+ <option value="3">UTF-8 Encode</option>
545
+ <option value="4">htmlentities</option>
546
+ <option value="5">Integer</option>
547
+ <option value="6">Price</option>
548
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
+ <option value="8">CDATA</option>
550
+ </select>
551
+ <i class="dashicons dashicons-editor-expand expandType"></i>
552
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
+ </td>
554
+ <td>
555
+ <input type="text" name="limit[]" class="wf_ps"/>
556
+ </td>
557
+ <td>
558
+ <i class="delRow dashicons dashicons-trash"></i>
559
+ </td>
560
+ </tr>
561
+ <tr>
562
+ <td>
563
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
564
+ </td>
565
+ <td>
566
+ <input type="text" name="mattributes[]" autocomplete="off" required
567
+ class="wf_validate_attr wf_mattributes" value="Item address"/>
568
+ </td>
569
+ <td>
570
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
571
+ </td>
572
+ <td>
573
+ <select name="type[]" class="attr_type">
574
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
575
+ <option selected value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
576
+ </select>
577
+ </td>
578
+ <td>
579
+ <select name="attributes[]" style="display: none;" required="required"
580
+ class="wf_validate_attr wf_attr wf_attributes">
581
+ <?php echo $product->attributeDropdown(); ?>
582
+ </select>
583
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
584
+ />
585
+ </td>
586
+ <td>
587
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
588
+ </td>
589
+ <td>
590
+ <select name="output_type[][]" class="outputType wfnoempty">
591
+ <option value="1">Default</option>
592
+ <option value="2">Strip Tags</option>
593
+ <option value="3">UTF-8 Encode</option>
594
+ <option value="4">htmlentities</option>
595
+ <option value="5">Integer</option>
596
+ <option value="6">Price</option>
597
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
598
+ <option value="8">CDATA</option>
599
+ </select>
600
+ <i class="dashicons dashicons-editor-expand expandType"></i>
601
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
602
+ </td>
603
+ <td>
604
+ <input type="text" name="limit[]" class="wf_ps"/>
605
+ </td>
606
+ <td>
607
+ <i class="delRow dashicons dashicons-trash"></i>
608
+ </td>
609
+ </tr>
610
+ </tbody>
611
+ <tfoot>
612
+ <tr>
613
+ <td>
614
+ <button type="button" class="button-small button-primary" id="wf_newRow">
615
+ <?php _e('Add New Row', 'woo-feed'); ?>
616
+ </button>
617
+ </td>
618
+ <td colspan="8">
619
+
620
+ </td>
621
+ </tr>
622
+ </tfoot>
623
+ </table>
624
+ <table class=" widefat fixed">
625
+ <tr>
626
+ <td align="left" class="">
627
+ <div class="makeFeedResponse"></div>
628
+ <div class="makeFeedComplete"></div>
629
+ </td>
630
+ <td align="right">
631
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
632
+ </td>
633
+ </tr>
634
+ </table>
635
+ </div>
636
+ </li>
637
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
638
+
639
+ </ul>
admin/partials/templates/amazon_add-feed.php CHANGED
@@ -1,198 +1,198 @@
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 _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 ucwords(str_replace("_"," ",$provider)); ?> <?php _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <?php
23
- $method1=$provider."Attributes";
24
- $method2=$method1."Dropdown";
25
- $ACAttributes=$attributes->$method1();
26
- $i=0;
27
- foreach($ACAttributes as $key=>$value){
28
- $i++;
29
- ?>
30
- <tr>
31
- <td>
32
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
33
- </td>
34
- <td>
35
- <select name="mattributes[]" required class="wf_mattributes">
36
- <?php echo $dropDown->$method2($key); ?>
37
- </select>
38
- </td>
39
- <td>
40
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
41
- </td>
42
- <td>
43
- <select name="type[]" class="attr_type wfnoempty">
44
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
45
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
46
- </select>
47
- </td>
48
- <td>
49
- <select name="attributes[]" required="required"
50
- class="wf_validate_attr wf_attr wf_attributes">
51
- <?php echo $product->attributeDropdown(); ?>
52
- </select>
53
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
54
- style=" display: none;"/>
55
- </td>
56
- <td>
57
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
58
- </td>
59
- <td>
60
- <select name="output_type[][]" class="outputType wfnoempty">
61
- <option value="1">Default</option>
62
- <option value="2">Strip Tags</option>
63
- <option value="3">UTF-8 Encode</option>
64
- <option value="4">htmlentities</option>
65
- <option value="5">Integer</option>
66
- <option value="6">Price</option>
67
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
68
- <option value="8">CDATA</option>
69
- </select>
70
- <i class="dashicons dashicons-editor-expand expandType"></i>
71
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
72
- </td>
73
- <td>
74
- <input type="text" name="limit[]" class="wf_ps"/>
75
- </td>
76
- <td>
77
- <i class="delRow dashicons dashicons-trash"></i>
78
- </td>
79
- </tr>
80
- <?php
81
- if($i>8){
82
- //break;
83
- }
84
- }
85
- ?>
86
- </tbody>
87
- <tfoot>
88
- <tr>
89
- <td>
90
- <button type="button" class="button-small button-primary" id="wf_newRow">
91
- <?php _e('Add New Row', 'woo-feed'); ?>
92
- </button>
93
- </td>
94
- <td colspan="8">
95
-
96
- </td>
97
- </tr>
98
- </tfoot>
99
- </table>
100
- <table class=" widefat fixed">
101
- <tr>
102
- <td align="left" class="">
103
- <div class="makeFeedResponse"></div>
104
- <div class="makeFeedComplete"></div>
105
- </td>
106
- <td align="right">
107
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
108
- </td>
109
- </tr>
110
- </table>
111
- </div>
112
- </li>
113
- <?php if (get_option('woocommerce_product_feed_pro_activated') && get_option('woocommerce_product_feed_pro_activated') == "Activated") { ?>
114
- <li>
115
- <input type="radio" name="wf_tabs" id="tab2"/>
116
- <label class="wf-tab-name" for="tab2"><?php _e('Filter', 'woo-feed'); ?></label>
117
-
118
- <div id="wf-tab-content2" class="wf-tab-content">
119
- <table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-filter">
120
- <thead>
121
- <tr>
122
- <th></th>
123
- <th><?php _e('Attributes', 'woo-feed'); ?></th>
124
- <th><?php _e('Condition', 'woo-feed'); ?></th>
125
- <th><?php _e('Value', 'woo-feed'); ?></th>
126
- <th></th>
127
- </tr>
128
- <tr style="border-bottom: 2px solid #ccc">
129
- <td><?php _e('Filter', 'woo-feed'); ?> </td>
130
- <td colspan="4">
131
- <select name="filterType" class="">
132
- <option value="2"><?php _e('Together', 'woo-feed'); ?></option>
133
- <option value="1"><?php _e('Individually', 'woo-feed'); ?></option>
134
- </select>
135
- </td>
136
- </tr>
137
- </thead>
138
- <tbody>
139
-
140
- <tr style="display:none;" class="daRow">
141
- <td>
142
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
143
- </td>
144
- <td>
145
- <select name="fattribute[]" disabled required class="fsrow">
146
- <?php echo $product->attributeDropdown(); ?>
147
- </select>
148
- </td>
149
- <td>
150
- <select name="condition[]" disabled class="fsrow">
151
- <option value="=="><?php _e('is / equal', 'woo-feed'); ?></option>
152
- <option value="!="><?php _e('is not / not equal', 'woo-feed'); ?></option>
153
- <option value=">="><?php _e('equals or greater than', 'woo-feed'); ?></option>
154
- <option value=">"><?php _e('greater than', 'woo-feed'); ?></option>
155
- <option value="<="><?php _e('equals or less than', 'woo-feed'); ?></option>
156
- <option value="<"><?php _e('less than', 'woo-feed'); ?></option>
157
- <option value="contains"><?php _e('contains', 'woo-feed'); ?></option>
158
- <option value="nContains"><?php _e('does not contain', 'woo-feed'); ?></option>
159
- </select>
160
- </td>
161
- <td>
162
- <input type="text" name="filterCompare[]" disabled autocomplete="off" class="fsrow"/>
163
- </td>
164
- <td>
165
- <i class="delRow dashicons dashicons-trash"></i>
166
- </td>
167
- </tr>
168
- </tbody>
169
- <tfoot>
170
- <tr>
171
- <td>
172
- <button type="button" class="button-small button-primary" id="wf_newFilter">
173
- <?php _e('Add New Condition', 'woo-feed'); ?>
174
- </button>
175
- </td>
176
- <td colspan="4">
177
-
178
- </td>
179
- </tr>
180
- </tfoot>
181
- </table>
182
- <table class=" widefat fixed">
183
- <tr>
184
- <td align="left" class="makeFeedResponse">
185
-
186
- </td>
187
- <td align="right">
188
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
189
- </td>
190
- </tr>
191
- </table>
192
- </div>
193
- </li>
194
- <?php } ?>
195
-
196
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
197
-
198
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 ucwords(str_replace("_"," ",$provider)); ?> <?php _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <?php
23
+ $method1=$provider."Attributes";
24
+ $method2=$method1."Dropdown";
25
+ $ACAttributes=$attributes->$method1();
26
+ $i=0;
27
+ foreach($ACAttributes as $key=>$value){
28
+ $i++;
29
+ ?>
30
+ <tr>
31
+ <td>
32
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
33
+ </td>
34
+ <td>
35
+ <select name="mattributes[]" required class="wf_mattributes">
36
+ <?php echo $dropDown->$method2($key); ?>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
41
+ </td>
42
+ <td>
43
+ <select name="type[]" class="attr_type wfnoempty">
44
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
45
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
46
+ </select>
47
+ </td>
48
+ <td>
49
+ <select name="attributes[]" required="required"
50
+ class="wf_validate_attr wf_attr wf_attributes">
51
+ <?php echo $product->attributeDropdown(); ?>
52
+ </select>
53
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
54
+ style=" display: none;"/>
55
+ </td>
56
+ <td>
57
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
58
+ </td>
59
+ <td>
60
+ <select name="output_type[][]" class="outputType wfnoempty">
61
+ <option value="1">Default</option>
62
+ <option value="2">Strip Tags</option>
63
+ <option value="3">UTF-8 Encode</option>
64
+ <option value="4">htmlentities</option>
65
+ <option value="5">Integer</option>
66
+ <option value="6">Price</option>
67
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
68
+ <option value="8">CDATA</option>
69
+ </select>
70
+ <i class="dashicons dashicons-editor-expand expandType"></i>
71
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
72
+ </td>
73
+ <td>
74
+ <input type="text" name="limit[]" class="wf_ps"/>
75
+ </td>
76
+ <td>
77
+ <i class="delRow dashicons dashicons-trash"></i>
78
+ </td>
79
+ </tr>
80
+ <?php
81
+ if($i>8){
82
+ //break;
83
+ }
84
+ }
85
+ ?>
86
+ </tbody>
87
+ <tfoot>
88
+ <tr>
89
+ <td>
90
+ <button type="button" class="button-small button-primary" id="wf_newRow">
91
+ <?php _e('Add New Row', 'woo-feed'); ?>
92
+ </button>
93
+ </td>
94
+ <td colspan="8">
95
+
96
+ </td>
97
+ </tr>
98
+ </tfoot>
99
+ </table>
100
+ <table class=" widefat fixed">
101
+ <tr>
102
+ <td align="left" class="">
103
+ <div class="makeFeedResponse"></div>
104
+ <div class="makeFeedComplete"></div>
105
+ </td>
106
+ <td align="right">
107
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
108
+ </td>
109
+ </tr>
110
+ </table>
111
+ </div>
112
+ </li>
113
+ <?php if (get_option('woocommerce_product_feed_pro_activated') && get_option('woocommerce_product_feed_pro_activated') == "Activated") { ?>
114
+ <li>
115
+ <input type="radio" name="wf_tabs" id="tab2"/>
116
+ <label class="wf-tab-name" for="tab2"><?php _e('Filter', 'woo-feed'); ?></label>
117
+
118
+ <div id="wf-tab-content2" class="wf-tab-content">
119
+ <table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-filter">
120
+ <thead>
121
+ <tr>
122
+ <th></th>
123
+ <th><?php _e('Attributes', 'woo-feed'); ?></th>
124
+ <th><?php _e('Condition', 'woo-feed'); ?></th>
125
+ <th><?php _e('Value', 'woo-feed'); ?></th>
126
+ <th></th>
127
+ </tr>
128
+ <tr style="border-bottom: 2px solid #ccc">
129
+ <td><?php _e('Filter', 'woo-feed'); ?> </td>
130
+ <td colspan="4">
131
+ <select name="filterType" class="">
132
+ <option value="2"><?php _e('Together', 'woo-feed'); ?></option>
133
+ <option value="1"><?php _e('Individually', 'woo-feed'); ?></option>
134
+ </select>
135
+ </td>
136
+ </tr>
137
+ </thead>
138
+ <tbody>
139
+
140
+ <tr style="display:none;" class="daRow">
141
+ <td>
142
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
143
+ </td>
144
+ <td>
145
+ <select name="fattribute[]" disabled required class="fsrow">
146
+ <?php echo $product->attributeDropdown(); ?>
147
+ </select>
148
+ </td>
149
+ <td>
150
+ <select name="condition[]" disabled class="fsrow">
151
+ <option value="=="><?php _e('is / equal', 'woo-feed'); ?></option>
152
+ <option value="!="><?php _e('is not / not equal', 'woo-feed'); ?></option>
153
+ <option value=">="><?php _e('equals or greater than', 'woo-feed'); ?></option>
154
+ <option value=">"><?php _e('greater than', 'woo-feed'); ?></option>
155
+ <option value="<="><?php _e('equals or less than', 'woo-feed'); ?></option>
156
+ <option value="<"><?php _e('less than', 'woo-feed'); ?></option>
157
+ <option value="contains"><?php _e('contains', 'woo-feed'); ?></option>
158
+ <option value="nContains"><?php _e('does not contain', 'woo-feed'); ?></option>
159
+ </select>
160
+ </td>
161
+ <td>
162
+ <input type="text" name="filterCompare[]" disabled autocomplete="off" class="fsrow"/>
163
+ </td>
164
+ <td>
165
+ <i class="delRow dashicons dashicons-trash"></i>
166
+ </td>
167
+ </tr>
168
+ </tbody>
169
+ <tfoot>
170
+ <tr>
171
+ <td>
172
+ <button type="button" class="button-small button-primary" id="wf_newFilter">
173
+ <?php _e('Add New Condition', 'woo-feed'); ?>
174
+ </button>
175
+ </td>
176
+ <td colspan="4">
177
+
178
+ </td>
179
+ </tr>
180
+ </tfoot>
181
+ </table>
182
+ <table class=" widefat fixed">
183
+ <tr>
184
+ <td align="left" class="makeFeedResponse">
185
+
186
+ </td>
187
+ <td align="right">
188
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
189
+ </td>
190
+ </tr>
191
+ </table>
192
+ </div>
193
+ </li>
194
+ <?php } ?>
195
+
196
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
197
+
198
+ </ul>
admin/partials/templates/avantlink_add-feed.php CHANGED
@@ -1,600 +1,600 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _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"
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"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('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[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
-
72
- <tr>
73
- <td>
74
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
- </td>
76
- <td>
77
- <input type="text" name="mattributes[]" autocomplete="off"
78
- class="wf_validate_attr wf_mattributes wf_mattr" value="Brand Name" />
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 _e('Attribute', 'woo-feed'); ?></option>
86
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
- </select>
88
- </td>
89
- <td>
90
- <select name="attributes[]"
91
- class="wf_validate_attr wf_attr wf_attributes">
92
- <?php echo $product->attributeDropdown(); ?>
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"
128
- class="wf_validate_attr wf_mattributes wf_mattr" value="Product Name" />
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 _e('Attribute', 'woo-feed'); ?></option>
136
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
137
- </select>
138
- </td>
139
- <td>
140
- <select name="attributes[]"
141
- class="wf_validate_attr wf_attr wf_attributes">
142
- <?php echo $product->attributeDropdown('title'); ?>
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"
178
- class="wf_validate_attr wf_mattributes wf_mattr" value="Long Description" />
179
- </td>
180
- <td>
181
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
182
- </td>
183
- <td>
184
- <select name="type[]" class="attr_type wfnoempty">
185
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
186
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
187
- </select>
188
- </td>
189
- <td>
190
- <select name="attributes[]"
191
- class="wf_validate_attr wf_attr wf_attributes">
192
- <?php echo $product->attributeDropdown('description'); ?>
193
- </select>
194
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
195
- style=" display: none;"/>
196
- </td>
197
- <td>
198
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
199
- </td>
200
- <td>
201
- <select name="output_type[][]" class="outputType wfnoempty">
202
- <option value="1">Default</option>
203
- <option value="2">Strip Tags</option>
204
- <option value="3">UTF-8 Encode</option>
205
- <option value="4">htmlentities</option>
206
- <option value="5">Integer</option>
207
- <option value="6">Price</option>
208
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
209
- <option value="8">CDATA</option>
210
- </select>
211
- <i class="dashicons dashicons-editor-expand expandType"></i>
212
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
213
- </td>
214
- <td>
215
- <input type="text" name="limit[]" class="wf_ps"/>
216
- </td>
217
- <td>
218
- <i class="delRow dashicons dashicons-trash"></i>
219
- </td>
220
- </tr>
221
-
222
- <tr>
223
- <td>
224
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
225
- </td>
226
- <td>
227
- <input type="text" name="mattributes[]" autocomplete="off"
228
- class="wf_validate_attr wf_mattributes wf_mattr" value="Category" />
229
- </td>
230
- <td>
231
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
232
- </td>
233
- <td>
234
- <select name="type[]" class="attr_type wfnoempty">
235
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
236
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
237
- </select>
238
- </td>
239
- <td>
240
- <select name="attributes[]"
241
- class="wf_validate_attr wf_attr wf_attributes">
242
- <?php echo $product->attributeDropdown('product_type'); ?>
243
- </select>
244
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
- style=" display: none;"/>
246
- </td>
247
- <td>
248
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
249
- </td>
250
- <td>
251
- <select name="output_type[][]" class="outputType wfnoempty">
252
- <option value="1">Default</option>
253
- <option value="2">Strip Tags</option>
254
- <option value="3">UTF-8 Encode</option>
255
- <option value="4">htmlentities</option>
256
- <option value="5">Integer</option>
257
- <option value="6">Price</option>
258
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
259
- <option value="8">CDATA</option>
260
- </select>
261
- <i class="dashicons dashicons-editor-expand expandType"></i>
262
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
263
- </td>
264
- <td>
265
- <input type="text" name="limit[]" class="wf_ps"/>
266
- </td>
267
- <td>
268
- <i class="delRow dashicons dashicons-trash"></i>
269
- </td>
270
- </tr>
271
-
272
- <tr>
273
- <td>
274
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
275
- </td>
276
- <td>
277
- <input type="text" name="mattributes[]" autocomplete="off"
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="Standardized Categorization" />
279
- </td>
280
- <td>
281
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
282
- </td>
283
- <td>
284
- <select name="type[]" class="attr_type wfnoempty">
285
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
286
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
287
- </select>
288
- </td>
289
- <td>
290
- <select name="attributes[]"
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;"/>
296
- </td>
297
- <td>
298
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
299
- </td>
300
- <td>
301
- <select name="output_type[][]" class="outputType wfnoempty">
302
- <option value="1">Default</option>
303
- <option value="2">Strip Tags</option>
304
- <option value="3">UTF-8 Encode</option>
305
- <option value="4">htmlentities</option>
306
- <option value="5">Integer</option>
307
- <option value="6">Price</option>
308
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
309
- <option value="8">CDATA</option>
310
- </select>
311
- <i class="dashicons dashicons-editor-expand expandType"></i>
312
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
313
- </td>
314
- <td>
315
- <input type="text" name="limit[]" class="wf_ps"/>
316
- </td>
317
- <td>
318
- <i class="delRow dashicons dashicons-trash"></i>
319
- </td>
320
- </tr>
321
-
322
- <tr>
323
- <td>
324
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
325
- </td>
326
- <td>
327
- <input type="text" name="mattributes[]" autocomplete="off"
328
- class="wf_validate_attr wf_mattributes wf_mattr" value="Image URL" />
329
- </td>
330
- <td>
331
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
332
- </td>
333
- <td>
334
- <select name="type[]" class="attr_type wfnoempty">
335
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
336
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
337
- </select>
338
- </td>
339
- <td>
340
- <select name="attributes[]"
341
- class="wf_validate_attr wf_attr wf_attributes">
342
- <?php echo $product->attributeDropdown('image'); ?>
343
- </select>
344
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
345
- style=" display: none;"/>
346
- </td>
347
- <td>
348
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
349
- </td>
350
- <td>
351
- <select name="output_type[][]" class="outputType wfnoempty">
352
- <option value="1">Default</option>
353
- <option value="2">Strip Tags</option>
354
- <option value="3">UTF-8 Encode</option>
355
- <option value="4">htmlentities</option>
356
- <option value="5">Integer</option>
357
- <option value="6">Price</option>
358
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
359
- <option value="8">CDATA</option>
360
- </select>
361
- <i class="dashicons dashicons-editor-expand expandType"></i>
362
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
363
- </td>
364
- <td>
365
- <input type="text" name="limit[]" class="wf_ps"/>
366
- </td>
367
- <td>
368
- <i class="delRow dashicons dashicons-trash"></i>
369
- </td>
370
- </tr>
371
-
372
- <tr>
373
- <td>
374
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
375
- </td>
376
- <td>
377
- <input type="text" name="mattributes[]" autocomplete="off"
378
- class="wf_validate_attr wf_mattributes wf_mattr" value="Buy Link" />
379
- </td>
380
- <td>
381
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
382
- </td>
383
- <td>
384
- <select name="type[]" class="attr_type wfnoempty">
385
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
386
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
387
- </select>
388
- </td>
389
- <td>
390
- <select name="attributes[]"
391
- class="wf_validate_attr wf_attr wf_attributes">
392
- <?php echo $product->attributeDropdown('link'); ?>
393
- </select>
394
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
395
- style=" display: none;"/>
396
- </td>
397
- <td>
398
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
399
- </td>
400
- <td>
401
- <select name="output_type[][]" class="outputType wfnoempty">
402
- <option value="1">Default</option>
403
- <option value="2">Strip Tags</option>
404
- <option value="3">UTF-8 Encode</option>
405
- <option value="4">htmlentities</option>
406
- <option value="5">Integer</option>
407
- <option value="6">Price</option>
408
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
409
- <option value="8">CDATA</option>
410
- </select>
411
- <i class="dashicons dashicons-editor-expand expandType"></i>
412
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
413
- </td>
414
- <td>
415
- <input type="text" name="limit[]" class="wf_ps"/>
416
- </td>
417
- <td>
418
- <i class="delRow dashicons dashicons-trash"></i>
419
- </td>
420
- </tr>
421
-
422
- <tr>
423
- <td>
424
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
425
- </td>
426
- <td>
427
- <input type="text" name="mattributes[]" autocomplete="off"
428
- class="wf_validate_attr wf_mattributes wf_mattr" value="Retail 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 _e('Attribute', 'woo-feed'); ?></option>
436
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
437
- </select>
438
- </td>
439
- <td>
440
- <select name="attributes[]"
441
- class="wf_validate_attr wf_attr wf_attributes">
442
- <?php echo $product->attributeDropdown('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"
478
- class="wf_validate_attr wf_mattributes wf_mattr" value="Sale Price" />
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 _e('Attribute', 'woo-feed'); ?></option>
486
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
487
- </select>
488
- </td>
489
- <td>
490
- <select name="attributes[]"
491
- class="wf_validate_attr wf_attr wf_attributes">
492
- <?php echo $product->attributeDropdown('sale_price'); ?>
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"
528
- class="wf_validate_attr wf_mattributes wf_mattr" value="UPC" />
529
- </td>
530
- <td>
531
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
532
- </td>
533
- <td>
534
- <select name="type[]" class="attr_type wfnoempty">
535
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
536
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
537
- </select>
538
- </td>
539
- <td>
540
- <select name="attributes[]"
541
- class="wf_validate_attr wf_attr wf_attributes">
542
- <?php echo $product->attributeDropdown(''); ?>
543
- </select>
544
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
545
- style=" display: none;"/>
546
- </td>
547
- <td>
548
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
549
- </td>
550
- <td>
551
- <select name="output_type[][]" class="outputType wfnoempty">
552
- <option value="1">Default</option>
553
- <option value="2">Strip Tags</option>
554
- <option value="3">UTF-8 Encode</option>
555
- <option value="4">htmlentities</option>
556
- <option value="5">Integer</option>
557
- <option value="6">Price</option>
558
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
559
- <option value="8">CDATA</option>
560
- </select>
561
- <i class="dashicons dashicons-editor-expand expandType"></i>
562
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
563
- </td>
564
- <td>
565
- <input type="text" name="limit[]" class="wf_ps"/>
566
- </td>
567
- <td>
568
- <i class="delRow dashicons dashicons-trash"></i>
569
- </td>
570
- </tr>
571
- </tbody>
572
- <tfoot>
573
- <tr>
574
- <td>
575
- <button type="button" class="button-small button-primary" id="wf_newRow">
576
- <?php _e('Add New Row', 'woo-feed'); ?>
577
- </button>
578
- </td>
579
- <td colspan="8">
580
-
581
- </td>
582
- </tr>
583
- </tfoot>
584
- </table>
585
- <table class=" widefat fixed">
586
- <tr>
587
- <td align="left" class="">
588
- <div class="makeFeedResponse"></div>
589
- <div class="makeFeedComplete"></div>
590
- </td>
591
- <td align="right">
592
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
593
- </td>
594
- </tr>
595
- </table>
596
- </div>
597
- </li>
598
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
599
-
600
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _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"
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"/>
32
+ </td>
33
+ <td>
34
+ <select name="type[]" class="attr_type wfnoempty">
35
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('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[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+
72
+ <tr>
73
+ <td>
74
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
+ </td>
76
+ <td>
77
+ <input type="text" name="mattributes[]" autocomplete="off"
78
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Brand Name" />
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 _e('Attribute', 'woo-feed'); ?></option>
86
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
+ </select>
88
+ </td>
89
+ <td>
90
+ <select name="attributes[]"
91
+ class="wf_validate_attr wf_attr wf_attributes">
92
+ <?php echo $product->attributeDropdown(); ?>
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"
128
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Product Name" />
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 _e('Attribute', 'woo-feed'); ?></option>
136
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
137
+ </select>
138
+ </td>
139
+ <td>
140
+ <select name="attributes[]"
141
+ class="wf_validate_attr wf_attr wf_attributes">
142
+ <?php echo $product->attributeDropdown('title'); ?>
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"
178
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Long Description" />
179
+ </td>
180
+ <td>
181
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
182
+ </td>
183
+ <td>
184
+ <select name="type[]" class="attr_type wfnoempty">
185
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
186
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
187
+ </select>
188
+ </td>
189
+ <td>
190
+ <select name="attributes[]"
191
+ class="wf_validate_attr wf_attr wf_attributes">
192
+ <?php echo $product->attributeDropdown('description'); ?>
193
+ </select>
194
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
195
+ style=" display: none;"/>
196
+ </td>
197
+ <td>
198
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
199
+ </td>
200
+ <td>
201
+ <select name="output_type[][]" class="outputType wfnoempty">
202
+ <option value="1">Default</option>
203
+ <option value="2">Strip Tags</option>
204
+ <option value="3">UTF-8 Encode</option>
205
+ <option value="4">htmlentities</option>
206
+ <option value="5">Integer</option>
207
+ <option value="6">Price</option>
208
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
209
+ <option value="8">CDATA</option>
210
+ </select>
211
+ <i class="dashicons dashicons-editor-expand expandType"></i>
212
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
213
+ </td>
214
+ <td>
215
+ <input type="text" name="limit[]" class="wf_ps"/>
216
+ </td>
217
+ <td>
218
+ <i class="delRow dashicons dashicons-trash"></i>
219
+ </td>
220
+ </tr>
221
+
222
+ <tr>
223
+ <td>
224
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
225
+ </td>
226
+ <td>
227
+ <input type="text" name="mattributes[]" autocomplete="off"
228
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Category" />
229
+ </td>
230
+ <td>
231
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
232
+ </td>
233
+ <td>
234
+ <select name="type[]" class="attr_type wfnoempty">
235
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
236
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
237
+ </select>
238
+ </td>
239
+ <td>
240
+ <select name="attributes[]"
241
+ class="wf_validate_attr wf_attr wf_attributes">
242
+ <?php echo $product->attributeDropdown('product_type'); ?>
243
+ </select>
244
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
+ style=" display: none;"/>
246
+ </td>
247
+ <td>
248
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
249
+ </td>
250
+ <td>
251
+ <select name="output_type[][]" class="outputType wfnoempty">
252
+ <option value="1">Default</option>
253
+ <option value="2">Strip Tags</option>
254
+ <option value="3">UTF-8 Encode</option>
255
+ <option value="4">htmlentities</option>
256
+ <option value="5">Integer</option>
257
+ <option value="6">Price</option>
258
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
259
+ <option value="8">CDATA</option>
260
+ </select>
261
+ <i class="dashicons dashicons-editor-expand expandType"></i>
262
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
263
+ </td>
264
+ <td>
265
+ <input type="text" name="limit[]" class="wf_ps"/>
266
+ </td>
267
+ <td>
268
+ <i class="delRow dashicons dashicons-trash"></i>
269
+ </td>
270
+ </tr>
271
+
272
+ <tr>
273
+ <td>
274
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
275
+ </td>
276
+ <td>
277
+ <input type="text" name="mattributes[]" autocomplete="off"
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Standardized Categorization" />
279
+ </td>
280
+ <td>
281
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
282
+ </td>
283
+ <td>
284
+ <select name="type[]" class="attr_type wfnoempty">
285
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
286
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
287
+ </select>
288
+ </td>
289
+ <td>
290
+ <select name="attributes[]"
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;"/>
296
+ </td>
297
+ <td>
298
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
299
+ </td>
300
+ <td>
301
+ <select name="output_type[][]" class="outputType wfnoempty">
302
+ <option value="1">Default</option>
303
+ <option value="2">Strip Tags</option>
304
+ <option value="3">UTF-8 Encode</option>
305
+ <option value="4">htmlentities</option>
306
+ <option value="5">Integer</option>
307
+ <option value="6">Price</option>
308
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
309
+ <option value="8">CDATA</option>
310
+ </select>
311
+ <i class="dashicons dashicons-editor-expand expandType"></i>
312
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
313
+ </td>
314
+ <td>
315
+ <input type="text" name="limit[]" class="wf_ps"/>
316
+ </td>
317
+ <td>
318
+ <i class="delRow dashicons dashicons-trash"></i>
319
+ </td>
320
+ </tr>
321
+
322
+ <tr>
323
+ <td>
324
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
325
+ </td>
326
+ <td>
327
+ <input type="text" name="mattributes[]" autocomplete="off"
328
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Image URL" />
329
+ </td>
330
+ <td>
331
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
332
+ </td>
333
+ <td>
334
+ <select name="type[]" class="attr_type wfnoempty">
335
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
336
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
337
+ </select>
338
+ </td>
339
+ <td>
340
+ <select name="attributes[]"
341
+ class="wf_validate_attr wf_attr wf_attributes">
342
+ <?php echo $product->attributeDropdown('image'); ?>
343
+ </select>
344
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
345
+ style=" display: none;"/>
346
+ </td>
347
+ <td>
348
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
349
+ </td>
350
+ <td>
351
+ <select name="output_type[][]" class="outputType wfnoempty">
352
+ <option value="1">Default</option>
353
+ <option value="2">Strip Tags</option>
354
+ <option value="3">UTF-8 Encode</option>
355
+ <option value="4">htmlentities</option>
356
+ <option value="5">Integer</option>
357
+ <option value="6">Price</option>
358
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
359
+ <option value="8">CDATA</option>
360
+ </select>
361
+ <i class="dashicons dashicons-editor-expand expandType"></i>
362
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
363
+ </td>
364
+ <td>
365
+ <input type="text" name="limit[]" class="wf_ps"/>
366
+ </td>
367
+ <td>
368
+ <i class="delRow dashicons dashicons-trash"></i>
369
+ </td>
370
+ </tr>
371
+
372
+ <tr>
373
+ <td>
374
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
375
+ </td>
376
+ <td>
377
+ <input type="text" name="mattributes[]" autocomplete="off"
378
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Buy Link" />
379
+ </td>
380
+ <td>
381
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
382
+ </td>
383
+ <td>
384
+ <select name="type[]" class="attr_type wfnoempty">
385
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
386
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
387
+ </select>
388
+ </td>
389
+ <td>
390
+ <select name="attributes[]"
391
+ class="wf_validate_attr wf_attr wf_attributes">
392
+ <?php echo $product->attributeDropdown('link'); ?>
393
+ </select>
394
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
395
+ style=" display: none;"/>
396
+ </td>
397
+ <td>
398
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
399
+ </td>
400
+ <td>
401
+ <select name="output_type[][]" class="outputType wfnoempty">
402
+ <option value="1">Default</option>
403
+ <option value="2">Strip Tags</option>
404
+ <option value="3">UTF-8 Encode</option>
405
+ <option value="4">htmlentities</option>
406
+ <option value="5">Integer</option>
407
+ <option value="6">Price</option>
408
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
409
+ <option value="8">CDATA</option>
410
+ </select>
411
+ <i class="dashicons dashicons-editor-expand expandType"></i>
412
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
413
+ </td>
414
+ <td>
415
+ <input type="text" name="limit[]" class="wf_ps"/>
416
+ </td>
417
+ <td>
418
+ <i class="delRow dashicons dashicons-trash"></i>
419
+ </td>
420
+ </tr>
421
+
422
+ <tr>
423
+ <td>
424
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
425
+ </td>
426
+ <td>
427
+ <input type="text" name="mattributes[]" autocomplete="off"
428
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Retail 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 _e('Attribute', 'woo-feed'); ?></option>
436
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
437
+ </select>
438
+ </td>
439
+ <td>
440
+ <select name="attributes[]"
441
+ class="wf_validate_attr wf_attr wf_attributes">
442
+ <?php echo $product->attributeDropdown('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"
478
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Sale Price" />
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 _e('Attribute', 'woo-feed'); ?></option>
486
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
487
+ </select>
488
+ </td>
489
+ <td>
490
+ <select name="attributes[]"
491
+ class="wf_validate_attr wf_attr wf_attributes">
492
+ <?php echo $product->attributeDropdown('sale_price'); ?>
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"
528
+ class="wf_validate_attr wf_mattributes wf_mattr" value="UPC" />
529
+ </td>
530
+ <td>
531
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
532
+ </td>
533
+ <td>
534
+ <select name="type[]" class="attr_type wfnoempty">
535
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
536
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
537
+ </select>
538
+ </td>
539
+ <td>
540
+ <select name="attributes[]"
541
+ class="wf_validate_attr wf_attr wf_attributes">
542
+ <?php echo $product->attributeDropdown(''); ?>
543
+ </select>
544
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
545
+ style=" display: none;"/>
546
+ </td>
547
+ <td>
548
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
549
+ </td>
550
+ <td>
551
+ <select name="output_type[][]" class="outputType wfnoempty">
552
+ <option value="1">Default</option>
553
+ <option value="2">Strip Tags</option>
554
+ <option value="3">UTF-8 Encode</option>
555
+ <option value="4">htmlentities</option>
556
+ <option value="5">Integer</option>
557
+ <option value="6">Price</option>
558
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
559
+ <option value="8">CDATA</option>
560
+ </select>
561
+ <i class="dashicons dashicons-editor-expand expandType"></i>
562
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
563
+ </td>
564
+ <td>
565
+ <input type="text" name="limit[]" class="wf_ps"/>
566
+ </td>
567
+ <td>
568
+ <i class="delRow dashicons dashicons-trash"></i>
569
+ </td>
570
+ </tr>
571
+ </tbody>
572
+ <tfoot>
573
+ <tr>
574
+ <td>
575
+ <button type="button" class="button-small button-primary" id="wf_newRow">
576
+ <?php _e('Add New Row', 'woo-feed'); ?>
577
+ </button>
578
+ </td>
579
+ <td colspan="8">
580
+
581
+ </td>
582
+ </tr>
583
+ </tfoot>
584
+ </table>
585
+ <table class=" widefat fixed">
586
+ <tr>
587
+ <td align="left" class="">
588
+ <div class="makeFeedResponse"></div>
589
+ <div class="makeFeedComplete"></div>
590
+ </td>
591
+ <td align="right">
592
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
593
+ </td>
594
+ </tr>
595
+ </table>
596
+ </div>
597
+ </li>
598
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
599
+
600
+ </ul>
admin/partials/templates/become_add-feed.php CHANGED
@@ -1,492 +1,492 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _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
- <select name="mattributes[]" required class="wf_mattributes">
28
- <?php echo $dropDown->becomeAttributesDropdown('Unique ID'); ?>
29
- </select>
30
- </td>
31
- <td>
32
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
33
- </td>
34
- <td>
35
- <select name="type[]" class="attr_type wfnoempty">
36
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
37
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
38
- </select>
39
- </td>
40
- <td>
41
- <select name="attributes[]" class="wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('id'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- <tr>
72
- <td>
73
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
- </td>
75
- <td>
76
- <select name="mattributes[]" required class="wf_mattributes">
77
- <?php echo $dropDown->becomeAttributesDropdown('Title'); ?>
78
- </select>
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 _e('Attribute', 'woo-feed'); ?></option>
86
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
- </select>
88
- </td>
89
- <td>
90
- <select name="attributes[]" class="wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown('title'); ?>
92
- </select>
93
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
- style=" display: none;"/>
95
- </td>
96
- <td>
97
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
- </td>
99
- <td>
100
- <select name="output_type[][]" 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
- <select name="mattributes[]" required class="wf_mattributes">
126
- <?php echo $dropDown->becomeAttributesDropdown('Description'); ?>
127
- </select>
128
- </td>
129
- <td>
130
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
131
- </td>
132
- <td>
133
- <select name="type[]" class="attr_type wfnoempty">
134
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
135
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
136
- </select>
137
- </td>
138
- <td>
139
- <select name="attributes[]" class="wf_attr wf_attributes">
140
- <?php echo $product->attributeDropdown('description'); ?>
141
- </select>
142
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
- style=" display: none;"/>
144
- </td>
145
- <td>
146
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
- </td>
148
- <td>
149
- <select name="output_type[][]" class="outputType wfnoempty">
150
- <option value="1">Default</option>
151
- <option value="2">Strip Tags</option>
152
- <option value="3">UTF-8 Encode</option>
153
- <option value="4">htmlentities</option>
154
- <option value="5">Integer</option>
155
- <option value="6">Price</option>
156
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
- <option value="8">CDATA</option>
158
- </select>
159
- <i class="dashicons dashicons-editor-expand expandType"></i>
160
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
- </td>
162
- <td>
163
- <input type="text" name="limit[]" class="wf_ps"/>
164
- </td>
165
- <td>
166
- <i class="delRow dashicons dashicons-trash"></i>
167
- </td>
168
- </tr>
169
- <tr>
170
- <td>
171
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
- </td>
173
- <td>
174
- <select name="mattributes[]" required class="wf_mattributes">
175
- <?php echo $dropDown->becomeAttributesDropdown('Category'); ?>
176
- </select>
177
- </td>
178
- <td>
179
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
180
- </td>
181
- <td>
182
- <select name="type[]" class="attr_type wfnoempty">
183
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
184
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
185
- </select>
186
- </td>
187
- <td>
188
- <select name="attributes[]" class="wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown('product_type'); ?>
190
- </select>
191
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
- style=" display: none;"/>
193
- </td>
194
- <td>
195
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
- </td>
197
- <td>
198
- <select name="output_type[][]" 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
- <select name="mattributes[]" required class="wf_mattributes">
224
- <?php echo $dropDown->becomeAttributesDropdown('Product URL'); ?>
225
- </select>
226
- </td>
227
- <td>
228
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
229
- </td>
230
- <td>
231
- <select name="type[]" class="attr_type wfnoempty">
232
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
233
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
234
- </select>
235
- </td>
236
- <td>
237
- <select name="attributes[]" class="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[][]" 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
- <select name="mattributes[]" required class="wf_mattributes">
273
- <?php echo $dropDown->becomeAttributesDropdown('Image URL'); ?>
274
- </select>
275
- </td>
276
- <td>
277
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
278
- </td>
279
- <td>
280
- <select name="type[]" class="attr_type wfnoempty">
281
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
282
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
283
- </select>
284
- </td>
285
- <td>
286
- <select name="attributes[]" class="wf_attr wf_attributes">
287
- <?php echo $product->attributeDropdown('image'); ?>
288
- </select>
289
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
- style=" display: none;"/>
291
- </td>
292
- <td>
293
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
- </td>
295
- <td>
296
- <select name="output_type[][]" class="outputType wfnoempty">
297
- <option value="1">Default</option>
298
- <option value="2">Strip Tags</option>
299
- <option value="3">UTF-8 Encode</option>
300
- <option value="4">htmlentities</option>
301
- <option value="5">Integer</option>
302
- <option value="6">Price</option>
303
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
- <option value="8">CDATA</option>
305
- </select>
306
- <i class="dashicons dashicons-editor-expand expandType"></i>
307
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
- </td>
309
- <td>
310
- <input type="text" name="limit[]" class="wf_ps"/>
311
- </td>
312
- <td>
313
- <i class="delRow dashicons dashicons-trash"></i>
314
- </td>
315
- </tr>
316
- <tr>
317
- <td>
318
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
- </td>
320
- <td>
321
- <select name="mattributes[]" required class="wf_mattributes">
322
- <?php echo $dropDown->becomeAttributesDropdown('Condition'); ?>
323
- </select>
324
- </td>
325
- <td>
326
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
327
- </td>
328
- <td>
329
- <select name="type[]" class="attr_type wfnoempty">
330
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
331
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
332
- </select>
333
- </td>
334
- <td>
335
- <select name="attributes[]" class="wf_attr wf_attributes">
336
- <?php echo $product->attributeDropdown('condition'); ?>
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[][]" 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
- <select name="mattributes[]" required class="wf_mattributes">
371
- <?php echo $dropDown->becomeAttributesDropdown('Availability'); ?>
372
- </select>
373
- </td>
374
- <td>
375
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
376
- </td>
377
- <td>
378
- <select name="type[]" class="attr_type wfnoempty">
379
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
380
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
381
- </select>
382
- </td>
383
- <td>
384
- <select name="attributes[]" class="wf_attr wf_attributes">
385
- <?php echo $product->attributeDropdown('availability'); ?>
386
- </select>
387
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
- style=" display: none;"/>
389
- </td>
390
- <td>
391
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
- </td>
393
- <td>
394
- <select name="output_type[][]" class="outputType wfnoempty">
395
- <option value="1">Default</option>
396
- <option value="2">Strip Tags</option>
397
- <option value="3">UTF-8 Encode</option>
398
- <option value="4">htmlentities</option>
399
- <option value="5">Integer</option>
400
- <option value="6">Price</option>
401
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
- <option value="8">CDATA</option>
403
- </select>
404
- <i class="dashicons dashicons-editor-expand expandType"></i>
405
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
- </td>
407
- <td>
408
- <input type="text" name="limit[]" class="wf_ps"/>
409
- </td>
410
- <td>
411
- <i class="delRow dashicons dashicons-trash"></i>
412
- </td>
413
- </tr>
414
- <tr>
415
- <td>
416
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
- </td>
418
- <td>
419
- <select name="mattributes[]" required class="wf_mattributes">
420
- <?php echo $dropDown->becomeAttributesDropdown('Current Price'); ?>
421
- </select>
422
- </td>
423
- <td>
424
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
425
- </td>
426
- <td>
427
- <select name="type[]" class="attr_type wfnoempty">
428
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
429
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
430
- </select>
431
- </td>
432
- <td>
433
- <select name="attributes[]" class="wf_attr wf_attributes">
434
- <?php echo $product->attributeDropdown('price'); ?>
435
- </select>
436
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
- style=" display: none;"/>
438
- </td>
439
- <td>
440
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
- </td>
442
- <td>
443
- <select name="output_type[][]" class="outputType wfnoempty">
444
- <option value="1">Default</option>
445
- <option value="2">Strip Tags</option>
446
- <option value="3">UTF-8 Encode</option>
447
- <option value="4">htmlentities</option>
448
- <option value="5">Integer</option>
449
- <option value="6">Price</option>
450
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
- <option value="8">CDATA</option>
452
- </select>
453
- <i class="dashicons dashicons-editor-expand expandType"></i>
454
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
- </td>
456
- <td>
457
- <input type="text" name="limit[]" class="wf_ps"/>
458
- </td>
459
- <td>
460
- <i class="delRow dashicons dashicons-trash"></i>
461
- </td>
462
- </tr>
463
- </tbody>
464
- <tfoot>
465
- <tr>
466
- <td>
467
- <button type="button" class="button-small button-primary" id="wf_newRow">
468
- <?php _e('Add New Row', 'woo-feed'); ?>
469
- </button>
470
- </td>
471
- <td colspan="8">
472
-
473
- </td>
474
- </tr>
475
- </tfoot>
476
- </table>
477
- <table class=" widefat fixed">
478
- <tr>
479
- <td align="left" class="">
480
- <div class="makeFeedResponse"></div>
481
- <div class="makeFeedComplete"></div>
482
- </td>
483
- <td align="right">
484
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
485
- </td>
486
- </tr>
487
- </table>
488
- </div>
489
- </li>
490
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
491
-
492
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _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
+ <select name="mattributes[]" required class="wf_mattributes">
28
+ <?php echo $dropDown->becomeAttributesDropdown('Unique ID'); ?>
29
+ </select>
30
+ </td>
31
+ <td>
32
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
33
+ </td>
34
+ <td>
35
+ <select name="type[]" class="attr_type wfnoempty">
36
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
37
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
38
+ </select>
39
+ </td>
40
+ <td>
41
+ <select name="attributes[]" class="wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('id'); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ <tr>
72
+ <td>
73
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
+ </td>
75
+ <td>
76
+ <select name="mattributes[]" required class="wf_mattributes">
77
+ <?php echo $dropDown->becomeAttributesDropdown('Title'); ?>
78
+ </select>
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 _e('Attribute', 'woo-feed'); ?></option>
86
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
+ </select>
88
+ </td>
89
+ <td>
90
+ <select name="attributes[]" class="wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('title'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" 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
+ <select name="mattributes[]" required class="wf_mattributes">
126
+ <?php echo $dropDown->becomeAttributesDropdown('Description'); ?>
127
+ </select>
128
+ </td>
129
+ <td>
130
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
131
+ </td>
132
+ <td>
133
+ <select name="type[]" class="attr_type wfnoempty">
134
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
135
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
136
+ </select>
137
+ </td>
138
+ <td>
139
+ <select name="attributes[]" class="wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown('description'); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" class="wf_ps"/>
164
+ </td>
165
+ <td>
166
+ <i class="delRow dashicons dashicons-trash"></i>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td>
171
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
+ </td>
173
+ <td>
174
+ <select name="mattributes[]" required class="wf_mattributes">
175
+ <?php echo $dropDown->becomeAttributesDropdown('Category'); ?>
176
+ </select>
177
+ </td>
178
+ <td>
179
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
180
+ </td>
181
+ <td>
182
+ <select name="type[]" class="attr_type wfnoempty">
183
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
184
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
185
+ </select>
186
+ </td>
187
+ <td>
188
+ <select name="attributes[]" class="wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('product_type'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" 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
+ <select name="mattributes[]" required class="wf_mattributes">
224
+ <?php echo $dropDown->becomeAttributesDropdown('Product URL'); ?>
225
+ </select>
226
+ </td>
227
+ <td>
228
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
229
+ </td>
230
+ <td>
231
+ <select name="type[]" class="attr_type wfnoempty">
232
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
233
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
234
+ </select>
235
+ </td>
236
+ <td>
237
+ <select name="attributes[]" class="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[][]" 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
+ <select name="mattributes[]" required class="wf_mattributes">
273
+ <?php echo $dropDown->becomeAttributesDropdown('Image URL'); ?>
274
+ </select>
275
+ </td>
276
+ <td>
277
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
278
+ </td>
279
+ <td>
280
+ <select name="type[]" class="attr_type wfnoempty">
281
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
282
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
283
+ </select>
284
+ </td>
285
+ <td>
286
+ <select name="attributes[]" class="wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown('image'); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
+ style=" display: none;"/>
291
+ </td>
292
+ <td>
293
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
+ </td>
295
+ <td>
296
+ <select name="output_type[][]" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td>
318
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
+ </td>
320
+ <td>
321
+ <select name="mattributes[]" required class="wf_mattributes">
322
+ <?php echo $dropDown->becomeAttributesDropdown('Condition'); ?>
323
+ </select>
324
+ </td>
325
+ <td>
326
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
327
+ </td>
328
+ <td>
329
+ <select name="type[]" class="attr_type wfnoempty">
330
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
331
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
332
+ </select>
333
+ </td>
334
+ <td>
335
+ <select name="attributes[]" class="wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown('condition'); ?>
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[][]" 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
+ <select name="mattributes[]" required class="wf_mattributes">
371
+ <?php echo $dropDown->becomeAttributesDropdown('Availability'); ?>
372
+ </select>
373
+ </td>
374
+ <td>
375
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
376
+ </td>
377
+ <td>
378
+ <select name="type[]" class="attr_type wfnoempty">
379
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
380
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
381
+ </select>
382
+ </td>
383
+ <td>
384
+ <select name="attributes[]" class="wf_attr wf_attributes">
385
+ <?php echo $product->attributeDropdown('availability'); ?>
386
+ </select>
387
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
+ style=" display: none;"/>
389
+ </td>
390
+ <td>
391
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
+ </td>
393
+ <td>
394
+ <select name="output_type[][]" class="outputType wfnoempty">
395
+ <option value="1">Default</option>
396
+ <option value="2">Strip Tags</option>
397
+ <option value="3">UTF-8 Encode</option>
398
+ <option value="4">htmlentities</option>
399
+ <option value="5">Integer</option>
400
+ <option value="6">Price</option>
401
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
+ <option value="8">CDATA</option>
403
+ </select>
404
+ <i class="dashicons dashicons-editor-expand expandType"></i>
405
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
+ </td>
407
+ <td>
408
+ <input type="text" name="limit[]" class="wf_ps"/>
409
+ </td>
410
+ <td>
411
+ <i class="delRow dashicons dashicons-trash"></i>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td>
416
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
+ </td>
418
+ <td>
419
+ <select name="mattributes[]" required class="wf_mattributes">
420
+ <?php echo $dropDown->becomeAttributesDropdown('Current Price'); ?>
421
+ </select>
422
+ </td>
423
+ <td>
424
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
425
+ </td>
426
+ <td>
427
+ <select name="type[]" class="attr_type wfnoempty">
428
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
429
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
430
+ </select>
431
+ </td>
432
+ <td>
433
+ <select name="attributes[]" class="wf_attr wf_attributes">
434
+ <?php echo $product->attributeDropdown('price'); ?>
435
+ </select>
436
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
+ style=" display: none;"/>
438
+ </td>
439
+ <td>
440
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
+ </td>
442
+ <td>
443
+ <select name="output_type[][]" class="outputType wfnoempty">
444
+ <option value="1">Default</option>
445
+ <option value="2">Strip Tags</option>
446
+ <option value="3">UTF-8 Encode</option>
447
+ <option value="4">htmlentities</option>
448
+ <option value="5">Integer</option>
449
+ <option value="6">Price</option>
450
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
+ <option value="8">CDATA</option>
452
+ </select>
453
+ <i class="dashicons dashicons-editor-expand expandType"></i>
454
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
+ </td>
456
+ <td>
457
+ <input type="text" name="limit[]" class="wf_ps"/>
458
+ </td>
459
+ <td>
460
+ <i class="delRow dashicons dashicons-trash"></i>
461
+ </td>
462
+ </tr>
463
+ </tbody>
464
+ <tfoot>
465
+ <tr>
466
+ <td>
467
+ <button type="button" class="button-small button-primary" id="wf_newRow">
468
+ <?php _e('Add New Row', 'woo-feed'); ?>
469
+ </button>
470
+ </td>
471
+ <td colspan="8">
472
+
473
+ </td>
474
+ </tr>
475
+ </tfoot>
476
+ </table>
477
+ <table class=" widefat fixed">
478
+ <tr>
479
+ <td align="left" class="">
480
+ <div class="makeFeedResponse"></div>
481
+ <div class="makeFeedComplete"></div>
482
+ </td>
483
+ <td align="right">
484
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
485
+ </td>
486
+ </tr>
487
+ </table>
488
+ </div>
489
+ </li>
490
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
491
+
492
+ </ul>
admin/partials/templates/beslist.nl_add-feed.php CHANGED
@@ -1,947 +1,947 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="TITLE" />
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('TITLE'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
-
72
- <tr>
73
- <td>
74
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
- </td>
76
- <td>
77
- <input type="text" name="mattributes[]" autocomplete="off" required
78
- class="wf_validate_attr wf_mattributes wf_mattr" value="UNIQUE CODE" />
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 _e('Attribute', 'woo-feed'); ?></option>
86
- <option value="pattern"><?php _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('id'); ?>
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
- <tr>
122
- <td>
123
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
124
- </td>
125
- <td>
126
- <input type="text" name="mattributes[]" autocomplete="off" required
127
- class="wf_validate_attr wf_mattributes wf_mattr" value="PRICE" />
128
- </td>
129
- <td>
130
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
131
- </td>
132
- <td>
133
- <select name="type[]" class="attr_type wfnoempty">
134
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
135
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
136
- </select>
137
- </td>
138
- <td>
139
- <select name="attributes[]" required="required"
140
- class="wf_validate_attr wf_attr wf_attributes">
141
- <?php echo $product->attributeDropdown('price'); ?>
142
- </select>
143
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
144
- style=" display: none;"/>
145
- </td>
146
- <td>
147
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
148
- </td>
149
- <td>
150
- <select name="output_type[][]" class="outputType wfnoempty">
151
- <option value="1">Default</option>
152
- <option value="2">Strip Tags</option>
153
- <option value="3">UTF-8 Encode</option>
154
- <option value="4">htmlentities</option>
155
- <option value="5">Integer</option>
156
- <option value="6">Price</option>
157
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
158
- <option value="8">CDATA</option>
159
- </select>
160
- <i class="dashicons dashicons-editor-expand expandType"></i>
161
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
162
- </td>
163
- <td>
164
- <input type="text" name="limit[]" class="wf_ps"/>
165
- </td>
166
- <td>
167
- <i class="delRow dashicons dashicons-trash"></i>
168
- </td>
169
- </tr>
170
- <tr>
171
- <td>
172
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
173
- </td>
174
- <td>
175
- <input type="text" name="mattributes[]" autocomplete="off" required
176
- class="wf_validate_attr wf_mattributes wf_mattr" value="PRODUCT URL" />
177
- </td>
178
- <td>
179
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
180
- </td>
181
- <td>
182
- <select name="type[]" class="attr_type wfnoempty">
183
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
184
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
185
- </select>
186
- </td>
187
- <td>
188
- <select name="attributes[]" required="required"
189
- class="wf_validate_attr wf_attr wf_attributes">
190
- <?php echo $product->attributeDropdown('link'); ?>
191
- </select>
192
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
193
- style=" display: none;"/>
194
- </td>
195
- <td>
196
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
197
- </td>
198
- <td>
199
- <select name="output_type[][]" class="outputType wfnoempty">
200
- <option value="1">Default</option>
201
- <option value="2">Strip Tags</option>
202
- <option value="3">UTF-8 Encode</option>
203
- <option value="4">htmlentities</option>
204
- <option value="5">Integer</option>
205
- <option value="6">Price</option>
206
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
207
- <option value="8">CDATA</option>
208
- </select>
209
- <i class="dashicons dashicons-editor-expand expandType"></i>
210
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
211
- </td>
212
- <td>
213
- <input type="text" name="limit[]" class="wf_ps"/>
214
- </td>
215
- <td>
216
- <i class="delRow dashicons dashicons-trash"></i>
217
- </td>
218
- </tr>
219
-
220
- <tr>
221
- <td>
222
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
223
- </td>
224
- <td>
225
- <input type="text" name="mattributes[]" autocomplete="off" required
226
- class="wf_validate_attr wf_mattributes wf_mattr" value="IMAGE URL" />
227
- </td>
228
- <td>
229
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
230
- </td>
231
- <td>
232
- <select name="type[]" class="attr_type wfnoempty">
233
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
234
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
235
- </select>
236
- </td>
237
- <td>
238
- <select name="attributes[]" required="required"
239
- class="wf_validate_attr wf_attr wf_attributes">
240
- <?php echo $product->attributeDropdown('image'); ?>
241
- </select>
242
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
243
- style=" display: none;"/>
244
- </td>
245
- <td>
246
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
247
- </td>
248
- <td>
249
- <select name="output_type[][]" class="outputType wfnoempty">
250
- <option value="1">Default</option>
251
- <option value="2">Strip Tags</option>
252
- <option value="3">UTF-8 Encode</option>
253
- <option value="4">htmlentities</option>
254
- <option value="5">Integer</option>
255
- <option value="6">Price</option>
256
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
257
- <option value="8">CDATA</option>
258
- </select>
259
- <i class="dashicons dashicons-editor-expand expandType"></i>
260
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
261
- </td>
262
- <td>
263
- <input type="text" name="limit[]" class="wf_ps"/>
264
- </td>
265
- <td>
266
- <i class="delRow dashicons dashicons-trash"></i>
267
- </td>
268
- </tr>
269
-
270
- <tr>
271
- <td>
272
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
273
- </td>
274
- <td>
275
- <input type="text" name="mattributes[]" autocomplete="off" required
276
- class="wf_validate_attr wf_mattributes wf_mattr" value="EXTRA IMAGES" />
277
- </td>
278
- <td>
279
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
280
- </td>
281
- <td>
282
- <select name="type[]" class="attr_type wfnoempty">
283
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
284
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
285
- </select>
286
- </td>
287
- <td>
288
- <select name="attributes[]" required="required"
289
- class="wf_validate_attr wf_attr wf_attributes">
290
- <?php echo $product->attributeDropdown('images'); ?>
291
- </select>
292
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
293
- style=" display: none;"/>
294
- </td>
295
- <td>
296
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
297
- </td>
298
- <td>
299
- <select name="output_type[][]" class="outputType wfnoempty">
300
- <option value="1">Default</option>
301
- <option value="2">Strip Tags</option>
302
- <option value="3">UTF-8 Encode</option>
303
- <option value="4">htmlentities</option>
304
- <option value="5">Integer</option>
305
- <option value="6">Price</option>
306
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
307
- <option value="8">CDATA</option>
308
- </select>
309
- <i class="dashicons dashicons-editor-expand expandType"></i>
310
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
311
- </td>
312
- <td>
313
- <input type="text" name="limit[]" class="wf_ps"/>
314
- </td>
315
- <td>
316
- <i class="delRow dashicons dashicons-trash"></i>
317
- </td>
318
- </tr>
319
-
320
- <tr>
321
- <td>
322
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
323
- </td>
324
- <td>
325
- <input type="text" name="mattributes[]" autocomplete="off" required
326
- class="wf_validate_attr wf_mattributes wf_mattr" value="CATEGORY" />
327
- </td>
328
- <td>
329
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
330
- </td>
331
- <td>
332
- <select name="type[]" class="attr_type wfnoempty">
333
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
334
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
335
- </select>
336
- </td>
337
- <td>
338
- <select name="attributes[]" required="required"
339
- class="wf_validate_attr wf_attr wf_attributes">
340
- <?php echo $product->attributeDropdown('product_type'); ?>
341
- </select>
342
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
343
- style=" display: none;"/>
344
- </td>
345
- <td>
346
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
347
- </td>
348
- <td>
349
- <select name="output_type[][]" class="outputType wfnoempty">
350
- <option value="1">Default</option>
351
- <option value="2">Strip Tags</option>
352
- <option value="3">UTF-8 Encode</option>
353
- <option value="4">htmlentities</option>
354
- <option value="5">Integer</option>
355
- <option value="6">Price</option>
356
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
357
- <option value="8">CDATA</option>
358
- </select>
359
- <i class="dashicons dashicons-editor-expand expandType"></i>
360
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
361
- </td>
362
- <td>
363
- <input type="text" name="limit[]" class="wf_ps"/>
364
- </td>
365
- <td>
366
- <i class="delRow dashicons dashicons-trash"></i>
367
- </td>
368
- </tr>
369
-
370
- <tr>
371
- <td>
372
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
373
- </td>
374
- <td>
375
- <input type="text" name="mattributes[]" autocomplete="off" required
376
- class="wf_validate_attr wf_mattributes wf_mattr" value="DELIVERY PERIOD" /> </td>
377
- <td>
378
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
379
- </td>
380
- <td>
381
- <select name="type[]" class="attr_type wfnoempty">
382
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
383
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
384
- </select>
385
- </td>
386
- <td>
387
- <select name="attributes[]" required="required"
388
- class="wf_validate_attr wf_attr wf_attributes">
389
- <?php echo $product->attributeDropdown(); ?>
390
- </select>
391
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
392
- style=" display: none;"/>
393
- </td>
394
- <td>
395
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
396
- </td>
397
- <td>
398
- <select name="output_type[][]" class="outputType wfnoempty">
399
- <option value="1">Default</option>
400
- <option value="2">Strip Tags</option>
401
- <option value="3">UTF-8 Encode</option>
402
- <option value="4">htmlentities</option>
403
- <option value="5">Integer</option>
404
- <option value="6">Price</option>
405
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
406
- <option value="8">CDATA</option>
407
- </select>
408
- <i class="dashicons dashicons-editor-expand expandType"></i>
409
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
410
- </td>
411
- <td>
412
- <input type="text" name="limit[]" class="wf_ps"/>
413
- </td>
414
- <td>
415
- <i class="delRow dashicons dashicons-trash"></i>
416
- </td>
417
- </tr>
418
-
419
- <tr>
420
- <td>
421
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
422
- </td>
423
- <td>
424
- <input type="text" name="mattributes[]" autocomplete="off" required
425
- class="wf_validate_attr wf_mattributes wf_mattr" value="DELIVERY CHARGES" />
426
- </td>
427
- <td>
428
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
429
- </td>
430
- <td>
431
- <select name="type[]" class="attr_type wfnoempty">
432
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
433
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
434
- </select>
435
- </td>
436
- <td>
437
- <select name="attributes[]" required="required"
438
- class="wf_validate_attr wf_attr wf_attributes">
439
- <?php echo $product->attributeDropdown(); ?>
440
- </select>
441
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
442
- style=" display: none;"/>
443
- </td>
444
- <td>
445
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
446
- </td>
447
- <td>
448
- <select name="output_type[][]" class="outputType wfnoempty">
449
- <option value="1">Default</option>
450
- <option value="2">Strip Tags</option>
451
- <option value="3">UTF-8 Encode</option>
452
- <option value="4">htmlentities</option>
453
- <option value="5">Integer</option>
454
- <option value="6">Price</option>
455
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
456
- <option value="8">CDATA</option>
457
- </select>
458
- <i class="dashicons dashicons-editor-expand expandType"></i>
459
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
460
- </td>
461
- <td>
462
- <input type="text" name="limit[]" class="wf_ps"/>
463
- </td>
464
- <td>
465
- <i class="delRow dashicons dashicons-trash"></i>
466
- </td>
467
- </tr>
468
-
469
- <tr>
470
- <td>
471
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
472
- </td>
473
- <td>
474
- <input type="text" name="mattributes[]" autocomplete="off" required
475
- class="wf_validate_attr wf_mattributes wf_mattr" value="EAN" />
476
- </td>
477
- <td>
478
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
479
- </td>
480
- <td>
481
- <select name="type[]" class="attr_type wfnoempty">
482
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
483
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
484
- </select>
485
- </td>
486
- <td>
487
- <select name="attributes[]" required="required"
488
- class="wf_validate_attr wf_attr wf_attributes">
489
- <?php echo $product->attributeDropdown(); ?>
490
- </select>
491
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
492
- style=" display: none;"/>
493
- </td>
494
- <td>
495
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
496
- </td>
497
- <td>
498
- <select name="output_type[][]" class="outputType wfnoempty">
499
- <option value="1">Default</option>
500
- <option value="2">Strip Tags</option>
501
- <option value="3">UTF-8 Encode</option>
502
- <option value="4">htmlentities</option>
503
- <option value="5">Integer</option>
504
- <option value="6">Price</option>
505
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
506
- <option value="8">CDATA</option>
507
- </select>
508
- <i class="dashicons dashicons-editor-expand expandType"></i>
509
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
510
- </td>
511
- <td>
512
- <input type="text" name="limit[]" class="wf_ps"/>
513
- </td>
514
- <td>
515
- <i class="delRow dashicons dashicons-trash"></i>
516
- </td>
517
- </tr>
518
-
519
- <tr>
520
- <td>
521
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
522
- </td>
523
- <td>
524
- <input type="text" name="mattributes[]" autocomplete="off" required
525
- class="wf_validate_attr wf_mattributes wf_mattr" value="DESCRIPTION" />
526
- </td>
527
- <td>
528
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
529
- </td>
530
- <td>
531
- <select name="type[]" class="attr_type wfnoempty">
532
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
533
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
534
- </select>
535
- </td>
536
- <td>
537
- <select name="attributes[]" required="required"
538
- class="wf_validate_attr wf_attr wf_attributes">
539
- <?php echo $product->attributeDropdown('description'); ?>
540
- </select>
541
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
542
- style=" display: none;"/>
543
- </td>
544
- <td>
545
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
546
- </td>
547
- <td>
548
- <select name="output_type[][]" class="outputType wfnoempty">
549
- <option value="1">Default</option>
550
- <option value="2">Strip Tags</option>
551
- <option value="3">UTF-8 Encode</option>
552
- <option value="4">htmlentities</option>
553
- <option value="5">Integer</option>
554
- <option value="6">Price</option>
555
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
556
- <option value="8">CDATA</option>
557
- </select>
558
- <i class="dashicons dashicons-editor-expand expandType"></i>
559
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
560
- </td>
561
- <td>
562
- <input type="text" name="limit[]" class="wf_ps"/>
563
- </td>
564
- <td>
565
- <i class="delRow dashicons dashicons-trash"></i>
566
- </td>
567
- </tr>
568
-
569
- <tr>
570
- <td>
571
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
572
- </td>
573
- <td>
574
- <input type="text" name="mattributes[]" autocomplete="off" required
575
- class="wf_validate_attr wf_mattributes wf_mattr" value="DISPLAY" />
576
- </td>
577
- <td>
578
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
579
- </td>
580
- <td>
581
- <select name="type[]" class="attr_type wfnoempty">
582
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
583
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
584
- </select>
585
- </td>
586
- <td>
587
- <select name="attributes[]" required="required"
588
- class="wf_validate_attr wf_attr wf_attributes" style=" display: none;">
589
- <?php echo $product->attributeDropdown(); ?>
590
- </select>
591
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
592
- value="1" />
593
- </td>
594
- <td>
595
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
596
- </td>
597
- <td>
598
- <select name="output_type[][]" class="outputType wfnoempty">
599
- <option value="1">Default</option>
600
- <option value="2">Strip Tags</option>
601
- <option value="3">UTF-8 Encode</option>
602
- <option value="4">htmlentities</option>
603
- <option value="5">Integer</option>
604
- <option value="6">Price</option>
605
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
606
- <option value="8">CDATA</option>
607
- </select>
608
- <i class="dashicons dashicons-editor-expand expandType"></i>
609
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
610
- </td>
611
- <td>
612
- <input type="text" name="limit[]" class="wf_ps"/>
613
- </td>
614
- <td>
615
- <i class="delRow dashicons dashicons-trash"></i>
616
- </td>
617
- </tr>
618
-
619
- <tr>
620
- <td>
621
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
622
- </td>
623
- <td>
624
- <input type="text" name="mattributes[]" autocomplete="off" required
625
- class="wf_validate_attr wf_mattributes wf_mattr" value="SKU" />
626
- </td>
627
- <td>
628
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
629
- </td>
630
- <td>
631
- <select name="type[]" class="attr_type wfnoempty">
632
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
633
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
634
- </select>
635
- </td>
636
- <td>
637
- <select name="attributes[]" required="required"
638
- class="wf_validate_attr wf_attr wf_attributes">
639
- <?php echo $product->attributeDropdown('sku'); ?>
640
- </select>
641
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
642
- style=" display: none;"/>
643
- </td>
644
- <td>
645
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
646
- </td>
647
- <td>
648
- <select name="output_type[][]" class="outputType wfnoempty">
649
- <option value="1">Default</option>
650
- <option value="2">Strip Tags</option>
651
- <option value="3">UTF-8 Encode</option>
652
- <option value="4">htmlentities</option>
653
- <option value="5">Integer</option>
654
- <option value="6">Price</option>
655
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
656
- <option value="8">CDATA</option>
657
- </select>
658
- <i class="dashicons dashicons-editor-expand expandType"></i>
659
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
660
- </td>
661
- <td>
662
- <input type="text" name="limit[]" class="wf_ps"/>
663
- </td>
664
- <td>
665
- <i class="delRow dashicons dashicons-trash"></i>
666
- </td>
667
- </tr>
668
-
669
- <tr>
670
- <td>
671
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
672
- </td>
673
- <td>
674
- <input type="text" name="mattributes[]" autocomplete="off" required
675
- class="wf_validate_attr wf_mattributes wf_mattr" value="BRAND" />
676
- </td>
677
- <td>
678
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
679
- </td>
680
- <td>
681
- <select name="type[]" class="attr_type wfnoempty">
682
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
683
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
684
- </select>
685
- </td>
686
- <td>
687
- <select name="attributes[]" required="required"
688
- class="wf_validate_attr wf_attr wf_attributes">
689
- <?php echo $product->attributeDropdown(); ?>
690
- </select>
691
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
692
- style=" display: none;"/>
693
- </td>
694
- <td>
695
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
696
- </td>
697
- <td>
698
- <select name="output_type[][]" class="outputType wfnoempty">
699
- <option value="1">Default</option>
700
- <option value="2">Strip Tags</option>
701
- <option value="3">UTF-8 Encode</option>
702
- <option value="4">htmlentities</option>
703
- <option value="5">Integer</option>
704
- <option value="6">Price</option>
705
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
706
- <option value="8">CDATA</option>
707
- </select>
708
- <i class="dashicons dashicons-editor-expand expandType"></i>
709
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
710
- </td>
711
- <td>
712
- <input type="text" name="limit[]" class="wf_ps"/>
713
- </td>
714
- <td>
715
- <i class="delRow dashicons dashicons-trash"></i>
716
- </td>
717
- </tr>
718
-
719
- <tr>
720
- <td>
721
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
722
- </td>
723
- <td>
724
- <input type="text" name="mattributes[]" autocomplete="off" required
725
- class="wf_validate_attr wf_mattributes wf_mattr" value="SIZE" />
726
- </td>
727
- <td>
728
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
729
- </td>
730
- <td>
731
- <select name="type[]" class="attr_type wfnoempty">
732
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
733
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
734
- </select>
735
- </td>
736
- <td>
737
- <select name="attributes[]" required="required"
738
- class="wf_validate_attr wf_attr wf_attributes">
739
- <?php echo $product->attributeDropdown(); ?>
740
- </select>
741
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
742
- style=" display: none;"/>
743
- </td>
744
- <td>
745
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
746
- </td>
747
- <td>
748
- <select name="output_type[][]" class="outputType wfnoempty">
749
- <option value="1">Default</option>
750
- <option value="2">Strip Tags</option>
751
- <option value="3">UTF-8 Encode</option>
752
- <option value="4">htmlentities</option>
753
- <option value="5">Integer</option>
754
- <option value="6">Price</option>
755
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
756
- <option value="8">CDATA</option>
757
- </select>
758
- <i class="dashicons dashicons-editor-expand expandType"></i>
759
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
760
- </td>
761
- <td>
762
- <input type="text" name="limit[]" class="wf_ps"/>
763
- </td>
764
- <td>
765
- <i class="delRow dashicons dashicons-trash"></i>
766
- </td>
767
- </tr>
768
-
769
- <tr>
770
- <td>
771
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
772
- </td>
773
- <td>
774
- <input type="text" name="mattributes[]" autocomplete="off" required
775
- class="wf_validate_attr wf_mattributes wf_mattr" value="CONDITION" />
776
- </td>
777
- <td>
778
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
779
- </td>
780
- <td>
781
- <select name="type[]" class="attr_type wfnoempty">
782
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
783
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
784
- </select>
785
- </td>
786
- <td>
787
- <select name="attributes[]" required="required"
788
- class="wf_validate_attr wf_attr wf_attributes">
789
- <?php echo $product->attributeDropdown(); ?>
790
- </select>
791
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
792
- style=" display: none;"/>
793
- </td>
794
- <td>
795
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
796
- </td>
797
- <td>
798
- <select name="output_type[][]" class="outputType wfnoempty">
799
- <option value="1">Default</option>
800
- <option value="2">Strip Tags</option>
801
- <option value="3">UTF-8 Encode</option>
802
- <option value="4">htmlentities</option>
803
- <option value="5">Integer</option>
804
- <option value="6">Price</option>
805
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
806
- <option value="8">CDATA</option>
807
- </select>
808
- <i class="dashicons dashicons-editor-expand expandType"></i>
809
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
810
- </td>
811
- <td>
812
- <input type="text" name="limit[]" class="wf_ps"/>
813
- </td>
814
- <td>
815
- <i class="delRow dashicons dashicons-trash"></i>
816
- </td>
817
- </tr>
818
-
819
- <tr>
820
- <td>
821
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
822
- </td>
823
- <td>
824
- <input type="text" name="mattributes[]" autocomplete="off" required
825
- class="wf_validate_attr wf_mattributes wf_mattr" value="VARIANT CODE" />
826
- </td>
827
- <td>
828
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
829
- </td>
830
- <td>
831
- <select name="type[]" class="attr_type wfnoempty">
832
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
833
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
834
- </select>
835
- </td>
836
- <td>
837
- <select name="attributes[]" required="required"
838
- class="wf_validate_attr wf_attr wf_attributes">
839
- <?php echo $product->attributeDropdown(); ?>
840
- </select>
841
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
842
- style=" display: none;"/>
843
- </td>
844
- <td>
845
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
846
- </td>
847
- <td>
848
- <select name="output_type[][]" class="outputType wfnoempty">
849
- <option value="1">Default</option>
850
- <option value="2">Strip Tags</option>
851
- <option value="3">UTF-8 Encode</option>
852
- <option value="4">htmlentities</option>
853
- <option value="5">Integer</option>
854
- <option value="6">Price</option>
855
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
856
- <option value="8">CDATA</option>
857
- </select>
858
- <i class="dashicons dashicons-editor-expand expandType"></i>
859
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
860
- </td>
861
- <td>
862
- <input type="text" name="limit[]" class="wf_ps"/>
863
- </td>
864
- <td>
865
- <i class="delRow dashicons dashicons-trash"></i>
866
- </td>
867
- </tr>
868
-
869
- <tr>
870
- <td>
871
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
872
- </td>
873
- <td>
874
- <input type="text" name="mattributes[]" autocomplete="off" required
875
- class="wf_validate_attr wf_mattributes wf_mattr" value="SPECIFICATIONS WITH NUMERICAL VALUES" />
876
- </td>
877
- <td>
878
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
879
- </td>
880
- <td>
881
- <select name="type[]" class="attr_type wfnoempty">
882
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
883
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
884
- </select>
885
- </td>
886
- <td>
887
- <select name="attributes[]" required="required"
888
- class="wf_validate_attr wf_attr wf_attributes">
889
- <?php echo $product->attributeDropdown(); ?>
890
- </select>
891
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
892
- style=" display: none;"/>
893
- </td>
894
- <td>
895
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
896
- </td>
897
- <td>
898
- <select name="output_type[][]" class="outputType wfnoempty">
899
- <option value="1">Default</option>
900
- <option value="2">Strip Tags</option>
901
- <option value="3">UTF-8 Encode</option>
902
- <option value="4">htmlentities</option>
903
- <option value="5">Integer</option>
904
- <option value="6">Price</option>
905
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
906
- <option value="8">CDATA</option>
907
- </select>
908
- <i class="dashicons dashicons-editor-expand expandType"></i>
909
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
910
- </td>
911
- <td>
912
- <input type="text" name="limit[]" class="wf_ps"/>
913
- </td>
914
- <td>
915
- <i class="delRow dashicons dashicons-trash"></i>
916
- </td>
917
- </tr>
918
- </tbody>
919
- <tfoot>
920
- <tr>
921
- <td>
922
- <button type="button" class="button-small button-primary" id="wf_newRow">
923
- <?php _e('Add New Row', 'woo-feed'); ?>
924
- </button>
925
- </td>
926
- <td colspan="8">
927
-
928
- </td>
929
- </tr>
930
- </tfoot>
931
- </table>
932
- <table class=" widefat fixed">
933
- <tr>
934
- <td align="left" class="">
935
- <div class="makeFeedResponse"></div>
936
- <div class="makeFeedComplete"></div>
937
- </td>
938
- <td align="right">
939
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
940
- </td>
941
- </tr>
942
- </table>
943
- </div>
944
- </li>
945
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
946
-
947
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr" value="TITLE" />
29
+ </td>
30
+ <td>
31
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
+ </td>
33
+ <td>
34
+ <select name="type[]" class="attr_type wfnoempty">
35
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('TITLE'); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+
72
+ <tr>
73
+ <td>
74
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
+ </td>
76
+ <td>
77
+ <input type="text" name="mattributes[]" autocomplete="off" required
78
+ class="wf_validate_attr wf_mattributes wf_mattr" value="UNIQUE CODE" />
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 _e('Attribute', 'woo-feed'); ?></option>
86
+ <option value="pattern"><?php _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('id'); ?>
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
+ <tr>
122
+ <td>
123
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
124
+ </td>
125
+ <td>
126
+ <input type="text" name="mattributes[]" autocomplete="off" required
127
+ class="wf_validate_attr wf_mattributes wf_mattr" value="PRICE" />
128
+ </td>
129
+ <td>
130
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
131
+ </td>
132
+ <td>
133
+ <select name="type[]" class="attr_type wfnoempty">
134
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
135
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
136
+ </select>
137
+ </td>
138
+ <td>
139
+ <select name="attributes[]" required="required"
140
+ class="wf_validate_attr wf_attr wf_attributes">
141
+ <?php echo $product->attributeDropdown('price'); ?>
142
+ </select>
143
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
144
+ style=" display: none;"/>
145
+ </td>
146
+ <td>
147
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
148
+ </td>
149
+ <td>
150
+ <select name="output_type[][]" class="outputType wfnoempty">
151
+ <option value="1">Default</option>
152
+ <option value="2">Strip Tags</option>
153
+ <option value="3">UTF-8 Encode</option>
154
+ <option value="4">htmlentities</option>
155
+ <option value="5">Integer</option>
156
+ <option value="6">Price</option>
157
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
158
+ <option value="8">CDATA</option>
159
+ </select>
160
+ <i class="dashicons dashicons-editor-expand expandType"></i>
161
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
162
+ </td>
163
+ <td>
164
+ <input type="text" name="limit[]" class="wf_ps"/>
165
+ </td>
166
+ <td>
167
+ <i class="delRow dashicons dashicons-trash"></i>
168
+ </td>
169
+ </tr>
170
+ <tr>
171
+ <td>
172
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
173
+ </td>
174
+ <td>
175
+ <input type="text" name="mattributes[]" autocomplete="off" required
176
+ class="wf_validate_attr wf_mattributes wf_mattr" value="PRODUCT URL" />
177
+ </td>
178
+ <td>
179
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
180
+ </td>
181
+ <td>
182
+ <select name="type[]" class="attr_type wfnoempty">
183
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
184
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
185
+ </select>
186
+ </td>
187
+ <td>
188
+ <select name="attributes[]" required="required"
189
+ class="wf_validate_attr wf_attr wf_attributes">
190
+ <?php echo $product->attributeDropdown('link'); ?>
191
+ </select>
192
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
193
+ style=" display: none;"/>
194
+ </td>
195
+ <td>
196
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
197
+ </td>
198
+ <td>
199
+ <select name="output_type[][]" class="outputType wfnoempty">
200
+ <option value="1">Default</option>
201
+ <option value="2">Strip Tags</option>
202
+ <option value="3">UTF-8 Encode</option>
203
+ <option value="4">htmlentities</option>
204
+ <option value="5">Integer</option>
205
+ <option value="6">Price</option>
206
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
207
+ <option value="8">CDATA</option>
208
+ </select>
209
+ <i class="dashicons dashicons-editor-expand expandType"></i>
210
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
211
+ </td>
212
+ <td>
213
+ <input type="text" name="limit[]" class="wf_ps"/>
214
+ </td>
215
+ <td>
216
+ <i class="delRow dashicons dashicons-trash"></i>
217
+ </td>
218
+ </tr>
219
+
220
+ <tr>
221
+ <td>
222
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
223
+ </td>
224
+ <td>
225
+ <input type="text" name="mattributes[]" autocomplete="off" required
226
+ class="wf_validate_attr wf_mattributes wf_mattr" value="IMAGE URL" />
227
+ </td>
228
+ <td>
229
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
230
+ </td>
231
+ <td>
232
+ <select name="type[]" class="attr_type wfnoempty">
233
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
234
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
235
+ </select>
236
+ </td>
237
+ <td>
238
+ <select name="attributes[]" required="required"
239
+ class="wf_validate_attr wf_attr wf_attributes">
240
+ <?php echo $product->attributeDropdown('image'); ?>
241
+ </select>
242
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
243
+ style=" display: none;"/>
244
+ </td>
245
+ <td>
246
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
247
+ </td>
248
+ <td>
249
+ <select name="output_type[][]" class="outputType wfnoempty">
250
+ <option value="1">Default</option>
251
+ <option value="2">Strip Tags</option>
252
+ <option value="3">UTF-8 Encode</option>
253
+ <option value="4">htmlentities</option>
254
+ <option value="5">Integer</option>
255
+ <option value="6">Price</option>
256
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
257
+ <option value="8">CDATA</option>
258
+ </select>
259
+ <i class="dashicons dashicons-editor-expand expandType"></i>
260
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
261
+ </td>
262
+ <td>
263
+ <input type="text" name="limit[]" class="wf_ps"/>
264
+ </td>
265
+ <td>
266
+ <i class="delRow dashicons dashicons-trash"></i>
267
+ </td>
268
+ </tr>
269
+
270
+ <tr>
271
+ <td>
272
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
273
+ </td>
274
+ <td>
275
+ <input type="text" name="mattributes[]" autocomplete="off" required
276
+ class="wf_validate_attr wf_mattributes wf_mattr" value="EXTRA IMAGES" />
277
+ </td>
278
+ <td>
279
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
280
+ </td>
281
+ <td>
282
+ <select name="type[]" class="attr_type wfnoempty">
283
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
284
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
285
+ </select>
286
+ </td>
287
+ <td>
288
+ <select name="attributes[]" required="required"
289
+ class="wf_validate_attr wf_attr wf_attributes">
290
+ <?php echo $product->attributeDropdown('images'); ?>
291
+ </select>
292
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
293
+ style=" display: none;"/>
294
+ </td>
295
+ <td>
296
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
297
+ </td>
298
+ <td>
299
+ <select name="output_type[][]" class="outputType wfnoempty">
300
+ <option value="1">Default</option>
301
+ <option value="2">Strip Tags</option>
302
+ <option value="3">UTF-8 Encode</option>
303
+ <option value="4">htmlentities</option>
304
+ <option value="5">Integer</option>
305
+ <option value="6">Price</option>
306
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
307
+ <option value="8">CDATA</option>
308
+ </select>
309
+ <i class="dashicons dashicons-editor-expand expandType"></i>
310
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
311
+ </td>
312
+ <td>
313
+ <input type="text" name="limit[]" class="wf_ps"/>
314
+ </td>
315
+ <td>
316
+ <i class="delRow dashicons dashicons-trash"></i>
317
+ </td>
318
+ </tr>
319
+
320
+ <tr>
321
+ <td>
322
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
323
+ </td>
324
+ <td>
325
+ <input type="text" name="mattributes[]" autocomplete="off" required
326
+ class="wf_validate_attr wf_mattributes wf_mattr" value="CATEGORY" />
327
+ </td>
328
+ <td>
329
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
330
+ </td>
331
+ <td>
332
+ <select name="type[]" class="attr_type wfnoempty">
333
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
334
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
335
+ </select>
336
+ </td>
337
+ <td>
338
+ <select name="attributes[]" required="required"
339
+ class="wf_validate_attr wf_attr wf_attributes">
340
+ <?php echo $product->attributeDropdown('product_type'); ?>
341
+ </select>
342
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
343
+ style=" display: none;"/>
344
+ </td>
345
+ <td>
346
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
347
+ </td>
348
+ <td>
349
+ <select name="output_type[][]" class="outputType wfnoempty">
350
+ <option value="1">Default</option>
351
+ <option value="2">Strip Tags</option>
352
+ <option value="3">UTF-8 Encode</option>
353
+ <option value="4">htmlentities</option>
354
+ <option value="5">Integer</option>
355
+ <option value="6">Price</option>
356
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
357
+ <option value="8">CDATA</option>
358
+ </select>
359
+ <i class="dashicons dashicons-editor-expand expandType"></i>
360
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
361
+ </td>
362
+ <td>
363
+ <input type="text" name="limit[]" class="wf_ps"/>
364
+ </td>
365
+ <td>
366
+ <i class="delRow dashicons dashicons-trash"></i>
367
+ </td>
368
+ </tr>
369
+
370
+ <tr>
371
+ <td>
372
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
373
+ </td>
374
+ <td>
375
+ <input type="text" name="mattributes[]" autocomplete="off" required
376
+ class="wf_validate_attr wf_mattributes wf_mattr" value="DELIVERY PERIOD" /> </td>
377
+ <td>
378
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
379
+ </td>
380
+ <td>
381
+ <select name="type[]" class="attr_type wfnoempty">
382
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
383
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
384
+ </select>
385
+ </td>
386
+ <td>
387
+ <select name="attributes[]" required="required"
388
+ class="wf_validate_attr wf_attr wf_attributes">
389
+ <?php echo $product->attributeDropdown(); ?>
390
+ </select>
391
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
392
+ style=" display: none;"/>
393
+ </td>
394
+ <td>
395
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
396
+ </td>
397
+ <td>
398
+ <select name="output_type[][]" class="outputType wfnoempty">
399
+ <option value="1">Default</option>
400
+ <option value="2">Strip Tags</option>
401
+ <option value="3">UTF-8 Encode</option>
402
+ <option value="4">htmlentities</option>
403
+ <option value="5">Integer</option>
404
+ <option value="6">Price</option>
405
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
406
+ <option value="8">CDATA</option>
407
+ </select>
408
+ <i class="dashicons dashicons-editor-expand expandType"></i>
409
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
410
+ </td>
411
+ <td>
412
+ <input type="text" name="limit[]" class="wf_ps"/>
413
+ </td>
414
+ <td>
415
+ <i class="delRow dashicons dashicons-trash"></i>
416
+ </td>
417
+ </tr>
418
+
419
+ <tr>
420
+ <td>
421
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
422
+ </td>
423
+ <td>
424
+ <input type="text" name="mattributes[]" autocomplete="off" required
425
+ class="wf_validate_attr wf_mattributes wf_mattr" value="DELIVERY CHARGES" />
426
+ </td>
427
+ <td>
428
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
429
+ </td>
430
+ <td>
431
+ <select name="type[]" class="attr_type wfnoempty">
432
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
433
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
434
+ </select>
435
+ </td>
436
+ <td>
437
+ <select name="attributes[]" required="required"
438
+ class="wf_validate_attr wf_attr wf_attributes">
439
+ <?php echo $product->attributeDropdown(); ?>
440
+ </select>
441
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
442
+ style=" display: none;"/>
443
+ </td>
444
+ <td>
445
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
446
+ </td>
447
+ <td>
448
+ <select name="output_type[][]" class="outputType wfnoempty">
449
+ <option value="1">Default</option>
450
+ <option value="2">Strip Tags</option>
451
+ <option value="3">UTF-8 Encode</option>
452
+ <option value="4">htmlentities</option>
453
+ <option value="5">Integer</option>
454
+ <option value="6">Price</option>
455
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
456
+ <option value="8">CDATA</option>
457
+ </select>
458
+ <i class="dashicons dashicons-editor-expand expandType"></i>
459
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
460
+ </td>
461
+ <td>
462
+ <input type="text" name="limit[]" class="wf_ps"/>
463
+ </td>
464
+ <td>
465
+ <i class="delRow dashicons dashicons-trash"></i>
466
+ </td>
467
+ </tr>
468
+
469
+ <tr>
470
+ <td>
471
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
472
+ </td>
473
+ <td>
474
+ <input type="text" name="mattributes[]" autocomplete="off" required
475
+ class="wf_validate_attr wf_mattributes wf_mattr" value="EAN" />
476
+ </td>
477
+ <td>
478
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
479
+ </td>
480
+ <td>
481
+ <select name="type[]" class="attr_type wfnoempty">
482
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
483
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
484
+ </select>
485
+ </td>
486
+ <td>
487
+ <select name="attributes[]" required="required"
488
+ class="wf_validate_attr wf_attr wf_attributes">
489
+ <?php echo $product->attributeDropdown(); ?>
490
+ </select>
491
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
492
+ style=" display: none;"/>
493
+ </td>
494
+ <td>
495
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
496
+ </td>
497
+ <td>
498
+ <select name="output_type[][]" class="outputType wfnoempty">
499
+ <option value="1">Default</option>
500
+ <option value="2">Strip Tags</option>
501
+ <option value="3">UTF-8 Encode</option>
502
+ <option value="4">htmlentities</option>
503
+ <option value="5">Integer</option>
504
+ <option value="6">Price</option>
505
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
506
+ <option value="8">CDATA</option>
507
+ </select>
508
+ <i class="dashicons dashicons-editor-expand expandType"></i>
509
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
510
+ </td>
511
+ <td>
512
+ <input type="text" name="limit[]" class="wf_ps"/>
513
+ </td>
514
+ <td>
515
+ <i class="delRow dashicons dashicons-trash"></i>
516
+ </td>
517
+ </tr>
518
+
519
+ <tr>
520
+ <td>
521
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
522
+ </td>
523
+ <td>
524
+ <input type="text" name="mattributes[]" autocomplete="off" required
525
+ class="wf_validate_attr wf_mattributes wf_mattr" value="DESCRIPTION" />
526
+ </td>
527
+ <td>
528
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
529
+ </td>
530
+ <td>
531
+ <select name="type[]" class="attr_type wfnoempty">
532
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
533
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
534
+ </select>
535
+ </td>
536
+ <td>
537
+ <select name="attributes[]" required="required"
538
+ class="wf_validate_attr wf_attr wf_attributes">
539
+ <?php echo $product->attributeDropdown('description'); ?>
540
+ </select>
541
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
542
+ style=" display: none;"/>
543
+ </td>
544
+ <td>
545
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
546
+ </td>
547
+ <td>
548
+ <select name="output_type[][]" class="outputType wfnoempty">
549
+ <option value="1">Default</option>
550
+ <option value="2">Strip Tags</option>
551
+ <option value="3">UTF-8 Encode</option>
552
+ <option value="4">htmlentities</option>
553
+ <option value="5">Integer</option>
554
+ <option value="6">Price</option>
555
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
556
+ <option value="8">CDATA</option>
557
+ </select>
558
+ <i class="dashicons dashicons-editor-expand expandType"></i>
559
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
560
+ </td>
561
+ <td>
562
+ <input type="text" name="limit[]" class="wf_ps"/>
563
+ </td>
564
+ <td>
565
+ <i class="delRow dashicons dashicons-trash"></i>
566
+ </td>
567
+ </tr>
568
+
569
+ <tr>
570
+ <td>
571
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
572
+ </td>
573
+ <td>
574
+ <input type="text" name="mattributes[]" autocomplete="off" required
575
+ class="wf_validate_attr wf_mattributes wf_mattr" value="DISPLAY" />
576
+ </td>
577
+ <td>
578
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
579
+ </td>
580
+ <td>
581
+ <select name="type[]" class="attr_type wfnoempty">
582
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
583
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
584
+ </select>
585
+ </td>
586
+ <td>
587
+ <select name="attributes[]" required="required"
588
+ class="wf_validate_attr wf_attr wf_attributes" style=" display: none;">
589
+ <?php echo $product->attributeDropdown(); ?>
590
+ </select>
591
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
592
+ value="1" />
593
+ </td>
594
+ <td>
595
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
596
+ </td>
597
+ <td>
598
+ <select name="output_type[][]" class="outputType wfnoempty">
599
+ <option value="1">Default</option>
600
+ <option value="2">Strip Tags</option>
601
+ <option value="3">UTF-8 Encode</option>
602
+ <option value="4">htmlentities</option>
603
+ <option value="5">Integer</option>
604
+ <option value="6">Price</option>
605
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
606
+ <option value="8">CDATA</option>
607
+ </select>
608
+ <i class="dashicons dashicons-editor-expand expandType"></i>
609
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
610
+ </td>
611
+ <td>
612
+ <input type="text" name="limit[]" class="wf_ps"/>
613
+ </td>
614
+ <td>
615
+ <i class="delRow dashicons dashicons-trash"></i>
616
+ </td>
617
+ </tr>
618
+
619
+ <tr>
620
+ <td>
621
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
622
+ </td>
623
+ <td>
624
+ <input type="text" name="mattributes[]" autocomplete="off" required
625
+ class="wf_validate_attr wf_mattributes wf_mattr" value="SKU" />
626
+ </td>
627
+ <td>
628
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
629
+ </td>
630
+ <td>
631
+ <select name="type[]" class="attr_type wfnoempty">
632
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
633
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
634
+ </select>
635
+ </td>
636
+ <td>
637
+ <select name="attributes[]" required="required"
638
+ class="wf_validate_attr wf_attr wf_attributes">
639
+ <?php echo $product->attributeDropdown('sku'); ?>
640
+ </select>
641
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
642
+ style=" display: none;"/>
643
+ </td>
644
+ <td>
645
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
646
+ </td>
647
+ <td>
648
+ <select name="output_type[][]" class="outputType wfnoempty">
649
+ <option value="1">Default</option>
650
+ <option value="2">Strip Tags</option>
651
+ <option value="3">UTF-8 Encode</option>
652
+ <option value="4">htmlentities</option>
653
+ <option value="5">Integer</option>
654
+ <option value="6">Price</option>
655
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
656
+ <option value="8">CDATA</option>
657
+ </select>
658
+ <i class="dashicons dashicons-editor-expand expandType"></i>
659
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
660
+ </td>
661
+ <td>
662
+ <input type="text" name="limit[]" class="wf_ps"/>
663
+ </td>
664
+ <td>
665
+ <i class="delRow dashicons dashicons-trash"></i>
666
+ </td>
667
+ </tr>
668
+
669
+ <tr>
670
+ <td>
671
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
672
+ </td>
673
+ <td>
674
+ <input type="text" name="mattributes[]" autocomplete="off" required
675
+ class="wf_validate_attr wf_mattributes wf_mattr" value="BRAND" />
676
+ </td>
677
+ <td>
678
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
679
+ </td>
680
+ <td>
681
+ <select name="type[]" class="attr_type wfnoempty">
682
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
683
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
684
+ </select>
685
+ </td>
686
+ <td>
687
+ <select name="attributes[]" required="required"
688
+ class="wf_validate_attr wf_attr wf_attributes">
689
+ <?php echo $product->attributeDropdown(); ?>
690
+ </select>
691
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
692
+ style=" display: none;"/>
693
+ </td>
694
+ <td>
695
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
696
+ </td>
697
+ <td>
698
+ <select name="output_type[][]" class="outputType wfnoempty">
699
+ <option value="1">Default</option>
700
+ <option value="2">Strip Tags</option>
701
+ <option value="3">UTF-8 Encode</option>
702
+ <option value="4">htmlentities</option>
703
+ <option value="5">Integer</option>
704
+ <option value="6">Price</option>
705
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
706
+ <option value="8">CDATA</option>
707
+ </select>
708
+ <i class="dashicons dashicons-editor-expand expandType"></i>
709
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
710
+ </td>
711
+ <td>
712
+ <input type="text" name="limit[]" class="wf_ps"/>
713
+ </td>
714
+ <td>
715
+ <i class="delRow dashicons dashicons-trash"></i>
716
+ </td>
717
+ </tr>
718
+
719
+ <tr>
720
+ <td>
721
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
722
+ </td>
723
+ <td>
724
+ <input type="text" name="mattributes[]" autocomplete="off" required
725
+ class="wf_validate_attr wf_mattributes wf_mattr" value="SIZE" />
726
+ </td>
727
+ <td>
728
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
729
+ </td>
730
+ <td>
731
+ <select name="type[]" class="attr_type wfnoempty">
732
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
733
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
734
+ </select>
735
+ </td>
736
+ <td>
737
+ <select name="attributes[]" required="required"
738
+ class="wf_validate_attr wf_attr wf_attributes">
739
+ <?php echo $product->attributeDropdown(); ?>
740
+ </select>
741
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
742
+ style=" display: none;"/>
743
+ </td>
744
+ <td>
745
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
746
+ </td>
747
+ <td>
748
+ <select name="output_type[][]" class="outputType wfnoempty">
749
+ <option value="1">Default</option>
750
+ <option value="2">Strip Tags</option>
751
+ <option value="3">UTF-8 Encode</option>
752
+ <option value="4">htmlentities</option>
753
+ <option value="5">Integer</option>
754
+ <option value="6">Price</option>
755
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
756
+ <option value="8">CDATA</option>
757
+ </select>
758
+ <i class="dashicons dashicons-editor-expand expandType"></i>
759
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
760
+ </td>
761
+ <td>
762
+ <input type="text" name="limit[]" class="wf_ps"/>
763
+ </td>
764
+ <td>
765
+ <i class="delRow dashicons dashicons-trash"></i>
766
+ </td>
767
+ </tr>
768
+
769
+ <tr>
770
+ <td>
771
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
772
+ </td>
773
+ <td>
774
+ <input type="text" name="mattributes[]" autocomplete="off" required
775
+ class="wf_validate_attr wf_mattributes wf_mattr" value="CONDITION" />
776
+ </td>
777
+ <td>
778
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
779
+ </td>
780
+ <td>
781
+ <select name="type[]" class="attr_type wfnoempty">
782
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
783
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
784
+ </select>
785
+ </td>
786
+ <td>
787
+ <select name="attributes[]" required="required"
788
+ class="wf_validate_attr wf_attr wf_attributes">
789
+ <?php echo $product->attributeDropdown(); ?>
790
+ </select>
791
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
792
+ style=" display: none;"/>
793
+ </td>
794
+ <td>
795
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
796
+ </td>
797
+ <td>
798
+ <select name="output_type[][]" class="outputType wfnoempty">
799
+ <option value="1">Default</option>
800
+ <option value="2">Strip Tags</option>
801
+ <option value="3">UTF-8 Encode</option>
802
+ <option value="4">htmlentities</option>
803
+ <option value="5">Integer</option>
804
+ <option value="6">Price</option>
805
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
806
+ <option value="8">CDATA</option>
807
+ </select>
808
+ <i class="dashicons dashicons-editor-expand expandType"></i>
809
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
810
+ </td>
811
+ <td>
812
+ <input type="text" name="limit[]" class="wf_ps"/>
813
+ </td>
814
+ <td>
815
+ <i class="delRow dashicons dashicons-trash"></i>
816
+ </td>
817
+ </tr>
818
+
819
+ <tr>
820
+ <td>
821
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
822
+ </td>
823
+ <td>
824
+ <input type="text" name="mattributes[]" autocomplete="off" required
825
+ class="wf_validate_attr wf_mattributes wf_mattr" value="VARIANT CODE" />
826
+ </td>
827
+ <td>
828
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
829
+ </td>
830
+ <td>
831
+ <select name="type[]" class="attr_type wfnoempty">
832
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
833
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
834
+ </select>
835
+ </td>
836
+ <td>
837
+ <select name="attributes[]" required="required"
838
+ class="wf_validate_attr wf_attr wf_attributes">
839
+ <?php echo $product->attributeDropdown(); ?>
840
+ </select>
841
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
842
+ style=" display: none;"/>
843
+ </td>
844
+ <td>
845
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
846
+ </td>
847
+ <td>
848
+ <select name="output_type[][]" class="outputType wfnoempty">
849
+ <option value="1">Default</option>
850
+ <option value="2">Strip Tags</option>
851
+ <option value="3">UTF-8 Encode</option>
852
+ <option value="4">htmlentities</option>
853
+ <option value="5">Integer</option>
854
+ <option value="6">Price</option>
855
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
856
+ <option value="8">CDATA</option>
857
+ </select>
858
+ <i class="dashicons dashicons-editor-expand expandType"></i>
859
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
860
+ </td>
861
+ <td>
862
+ <input type="text" name="limit[]" class="wf_ps"/>
863
+ </td>
864
+ <td>
865
+ <i class="delRow dashicons dashicons-trash"></i>
866
+ </td>
867
+ </tr>
868
+
869
+ <tr>
870
+ <td>
871
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
872
+ </td>
873
+ <td>
874
+ <input type="text" name="mattributes[]" autocomplete="off" required
875
+ class="wf_validate_attr wf_mattributes wf_mattr" value="SPECIFICATIONS WITH NUMERICAL VALUES" />
876
+ </td>
877
+ <td>
878
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
879
+ </td>
880
+ <td>
881
+ <select name="type[]" class="attr_type wfnoempty">
882
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
883
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
884
+ </select>
885
+ </td>
886
+ <td>
887
+ <select name="attributes[]" required="required"
888
+ class="wf_validate_attr wf_attr wf_attributes">
889
+ <?php echo $product->attributeDropdown(); ?>
890
+ </select>
891
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
892
+ style=" display: none;"/>
893
+ </td>
894
+ <td>
895
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
896
+ </td>
897
+ <td>
898
+ <select name="output_type[][]" class="outputType wfnoempty">
899
+ <option value="1">Default</option>
900
+ <option value="2">Strip Tags</option>
901
+ <option value="3">UTF-8 Encode</option>
902
+ <option value="4">htmlentities</option>
903
+ <option value="5">Integer</option>
904
+ <option value="6">Price</option>
905
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
906
+ <option value="8">CDATA</option>
907
+ </select>
908
+ <i class="dashicons dashicons-editor-expand expandType"></i>
909
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
910
+ </td>
911
+ <td>
912
+ <input type="text" name="limit[]" class="wf_ps"/>
913
+ </td>
914
+ <td>
915
+ <i class="delRow dashicons dashicons-trash"></i>
916
+ </td>
917
+ </tr>
918
+ </tbody>
919
+ <tfoot>
920
+ <tr>
921
+ <td>
922
+ <button type="button" class="button-small button-primary" id="wf_newRow">
923
+ <?php _e('Add New Row', 'woo-feed'); ?>
924
+ </button>
925
+ </td>
926
+ <td colspan="8">
927
+
928
+ </td>
929
+ </tr>
930
+ </tfoot>
931
+ </table>
932
+ <table class=" widefat fixed">
933
+ <tr>
934
+ <td align="left" class="">
935
+ <div class="makeFeedResponse"></div>
936
+ <div class="makeFeedComplete"></div>
937
+ </td>
938
+ <td align="right">
939
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
940
+ </td>
941
+ </tr>
942
+ </table>
943
+ </div>
944
+ </li>
945
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
946
+
947
+ </ul>
admin/partials/templates/billiger.de_add-feed.php CHANGED
@@ -1,849 +1,849 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="aid" />
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 _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('id'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
-
72
- <tr>
73
- <td>
74
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
- </td>
76
- <td>
77
- <input type="text" name="mattributes[]" autocomplete="off" required
78
- class="wf_validate_attr wf_mattributes wf_mattr" value="name" />
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 _e('Attribute', 'woo-feed'); ?></option>
86
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
- </select>
88
- </td>
89
- <td>
90
- <select name="attributes[]" required="required"
91
- class="wf_validate_attr wf_attr wf_attributes">
92
- <?php echo $product->attributeDropdown('title'); ?>
93
- </select>
94
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
95
- style=" display: none;"/>
96
- </td>
97
- <td>
98
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
99
- </td>
100
- <td>
101
- <select name="output_type[][]" class="outputType wfnoempty">
102
- <option value="1">Default</option>
103
- <option value="2">Strip Tags</option>
104
- <option value="3">UTF-8 Encode</option>
105
- <option value="4">htmlentities</option>
106
- <option value="5">Integer</option>
107
- <option value="6">Price</option>
108
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
109
- <option value="8">CDATA</option>
110
- </select>
111
- <i class="dashicons dashicons-editor-expand expandType"></i>
112
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
113
- </td>
114
- <td>
115
- <input type="text" name="limit[]" class="wf_ps"/>
116
- </td>
117
- <td>
118
- <i class="delRow dashicons dashicons-trash"></i>
119
- </td>
120
- </tr>
121
-
122
- <tr>
123
- <td>
124
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
125
- </td>
126
- <td>
127
- <input type="text" name="mattributes[]" autocomplete="off" required
128
- class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
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 _e('Attribute', 'woo-feed'); ?></option>
136
- <option value="pattern"><?php _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('price'); ?>
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="shop_cat" />
179
- </td>
180
- <td>
181
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
182
- </td>
183
- <td>
184
- <select name="type[]" class="attr_type wfnoempty">
185
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
186
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
187
- </select>
188
- </td>
189
- <td>
190
- <select name="attributes[]" required="required"
191
- class="wf_validate_attr wf_attr wf_attributes">
192
- <?php echo $product->attributeDropdown('product_type'); ?>
193
- </select>
194
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
195
- style=" display: none;"/>
196
- </td>
197
- <td>
198
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
199
- </td>
200
- <td>
201
- <select name="output_type[][]" class="outputType wfnoempty">
202
- <option value="1">Default</option>
203
- <option value="2">Strip Tags</option>
204
- <option value="3">UTF-8 Encode</option>
205
- <option value="4">htmlentities</option>
206
- <option value="5">Integer</option>
207
- <option value="6">Price</option>
208
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
209
- <option value="8">CDATA</option>
210
- </select>
211
- <i class="dashicons dashicons-editor-expand expandType"></i>
212
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
213
- </td>
214
- <td>
215
- <input type="text" name="limit[]" class="wf_ps"/>
216
- </td>
217
- <td>
218
- <i class="delRow dashicons dashicons-trash"></i>
219
- </td>
220
- </tr>
221
-
222
- <tr>
223
- <td>
224
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
225
- </td>
226
- <td>
227
- <input type="text" name="mattributes[]" autocomplete="off" required
228
- class="wf_validate_attr wf_mattributes wf_mattr" value="pzn" />
229
- </td>
230
- <td>
231
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
232
- </td>
233
- <td>
234
- <select name="type[]" class="attr_type wfnoempty">
235
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
236
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
237
- </select>
238
- </td>
239
- <td>
240
- <select name="attributes[]" required="required"
241
- class="wf_validate_attr wf_attr wf_attributes">
242
- <?php echo $product->attributeDropdown(); ?>
243
- </select>
244
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
- style=" display: none;"/>
246
- </td>
247
- <td>
248
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
249
- </td>
250
- <td>
251
- <select name="output_type[][]" class="outputType wfnoempty">
252
- <option value="1">Default</option>
253
- <option value="2">Strip Tags</option>
254
- <option value="3">UTF-8 Encode</option>
255
- <option value="4">htmlentities</option>
256
- <option value="5">Integer</option>
257
- <option value="6">Price</option>
258
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
259
- <option value="8">CDATA</option>
260
- </select>
261
- <i class="dashicons dashicons-editor-expand expandType"></i>
262
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
263
- </td>
264
- <td>
265
- <input type="text" name="limit[]" class="wf_ps"/>
266
- </td>
267
- <td>
268
- <i class="delRow dashicons dashicons-trash"></i>
269
- </td>
270
- </tr>
271
-
272
- <tr>
273
- <td>
274
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
275
- </td>
276
- <td>
277
- <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="brand" />
279
- </td>
280
- <td>
281
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
282
- </td>
283
- <td>
284
- <select name="type[]" class="attr_type wfnoempty">
285
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
286
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
287
- </select>
288
- </td>
289
- <td>
290
- <select name="attributes[]" required="required"
291
- class="wf_validate_attr wf_attr wf_attributes">
292
- <?php echo $product->attributeDropdown(); ?>
293
- </select>
294
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
295
- style=" display: none;"/>
296
- </td>
297
- <td>
298
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
299
- </td>
300
- <td>
301
- <select name="output_type[][]" class="outputType wfnoempty">
302
- <option value="1">Default</option>
303
- <option value="2">Strip Tags</option>
304
- <option value="3">UTF-8 Encode</option>
305
- <option value="4">htmlentities</option>
306
- <option value="5">Integer</option>
307
- <option value="6">Price</option>
308
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
309
- <option value="8">CDATA</option>
310
- </select>
311
- <i class="dashicons dashicons-editor-expand expandType"></i>
312
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
313
- </td>
314
- <td>
315
- <input type="text" name="limit[]" class="wf_ps"/>
316
- </td>
317
- <td>
318
- <i class="delRow dashicons dashicons-trash"></i>
319
- </td>
320
- </tr>
321
-
322
- <tr>
323
- <td>
324
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
325
- </td>
326
- <td>
327
- <input type="text" name="mattributes[]" autocomplete="off" required
328
- class="wf_validate_attr wf_mattributes wf_mattr" value="mpn" />
329
- </td>
330
- <td>
331
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
332
- </td>
333
- <td>
334
- <select name="type[]" class="attr_type wfnoempty">
335
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
336
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
337
- </select>
338
- </td>
339
- <td>
340
- <select name="attributes[]" required="required"
341
- class="wf_validate_attr wf_attr wf_attributes">
342
- <?php echo $product->attributeDropdown(); ?>
343
- </select>
344
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
345
- style=" display: none;"/>
346
- </td>
347
- <td>
348
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
349
- </td>
350
- <td>
351
- <select name="output_type[][]" class="outputType wfnoempty">
352
- <option value="1">Default</option>
353
- <option value="2">Strip Tags</option>
354
- <option value="3">UTF-8 Encode</option>
355
- <option value="4">htmlentities</option>
356
- <option value="5">Integer</option>
357
- <option value="6">Price</option>
358
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
359
- <option value="8">CDATA</option>
360
- </select>
361
- <i class="dashicons dashicons-editor-expand expandType"></i>
362
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
363
- </td>
364
- <td>
365
- <input type="text" name="limit[]" class="wf_ps"/>
366
- </td>
367
- <td>
368
- <i class="delRow dashicons dashicons-trash"></i>
369
- </td>
370
- </tr>
371
-
372
- <tr>
373
- <td>
374
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
375
- </td>
376
- <td>
377
- <input type="text" name="mattributes[]" autocomplete="off" required
378
- class="wf_validate_attr wf_mattributes wf_mattr" value="GTIN" />
379
- </td>
380
- <td>
381
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
382
- </td>
383
- <td>
384
- <select name="type[]" class="attr_type wfnoempty">
385
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
386
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
387
- </select>
388
- </td>
389
- <td>
390
- <select name="attributes[]" required="required" class="wf_validate_attr wf_attr wf_attributes">
391
- <?php echo $product->attributeDropdown('sku'); ?>
392
- </select>
393
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
394
- style=" display: none;"/>
395
- </td>
396
- <td>
397
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
398
- </td>
399
- <td>
400
- <select name="output_type[][]" class="outputType wfnoempty">
401
- <option value="1">Default</option>
402
- <option value="2">Strip Tags</option>
403
- <option value="3">UTF-8 Encode</option>
404
- <option value="4">htmlentities</option>
405
- <option value="5">Integer</option>
406
- <option value="6">Price</option>
407
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
408
- <option value="8">CDATA</option>
409
- </select>
410
- <i class="dashicons dashicons-editor-expand expandType"></i>
411
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
412
- </td>
413
- <td>
414
- <input type="text" name="limit[]" class="wf_ps"/>
415
- </td>
416
- <td>
417
- <i class="delRow dashicons dashicons-trash"></i>
418
- </td>
419
- </tr>
420
-
421
- <tr>
422
- <td>
423
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
424
- </td>
425
- <td>
426
- <input type="text" name="mattributes[]" autocomplete="off" required
427
- class="wf_validate_attr wf_mattributes wf_mattr" value="image" />
428
- </td>
429
- <td>
430
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
431
- </td>
432
- <td>
433
- <select name="type[]" class="attr_type wfnoempty">
434
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
435
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
436
- </select>
437
- </td>
438
- <td>
439
- <select name="attributes[]" required="required"
440
- class="wf_validate_attr wf_attr wf_attributes">
441
- <?php echo $product->attributeDropdown('image'); ?>
442
- </select>
443
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
444
- style=" display: none;"/>
445
- </td>
446
- <td>
447
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
448
- </td>
449
- <td>
450
- <select name="output_type[][]" class="outputType wfnoempty">
451
- <option value="1">Default</option>
452
- <option value="2">Strip Tags</option>
453
- <option value="3">UTF-8 Encode</option>
454
- <option value="4">htmlentities</option>
455
- <option value="5">Integer</option>
456
- <option value="6">Price</option>
457
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
458
- <option value="8">CDATA</option>
459
- </select>
460
- <i class="dashicons dashicons-editor-expand expandType"></i>
461
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
462
- </td>
463
- <td>
464
- <input type="text" name="limit[]" class="wf_ps"/>
465
- </td>
466
- <td>
467
- <i class="delRow dashicons dashicons-trash"></i>
468
- </td>
469
- </tr>
470
-
471
- <tr>
472
- <td>
473
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
474
- </td>
475
- <td>
476
- <input type="text" name="mattributes[]" autocomplete="off" required
477
- class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_time" />
478
- </td>
479
- <td>
480
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
481
- </td>
482
- <td>
483
- <select name="type[]" class="attr_type wfnoempty">
484
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
485
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
486
- </select>
487
- </td>
488
- <td>
489
- <select name="attributes[]" required="required"
490
- class="wf_validate_attr wf_attr wf_attributes">
491
- <?php echo $product->attributeDropdown(); ?>
492
- </select>
493
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
494
- style=" display: none;"/>
495
- </td>
496
- <td>
497
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
498
- </td>
499
- <td>
500
- <select name="output_type[][]" class="outputType wfnoempty">
501
- <option value="1">Default</option>
502
- <option value="2">Strip Tags</option>
503
- <option value="3">UTF-8 Encode</option>
504
- <option value="4">htmlentities</option>
505
- <option value="5">Integer</option>
506
- <option value="6">Price</option>
507
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
508
- <option value="8">CDATA</option>
509
- </select>
510
- <i class="dashicons dashicons-editor-expand expandType"></i>
511
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
512
- </td>
513
- <td>
514
- <input type="text" name="limit[]" class="wf_ps"/>
515
- </td>
516
- <td>
517
- <i class="delRow dashicons dashicons-trash"></i>
518
- </td>
519
- </tr>
520
-
521
- <tr>
522
- <td>
523
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
524
- </td>
525
- <td>
526
- <input type="text" name="mattributes[]" autocomplete="off" required
527
- class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_cost" />
528
- </td>
529
- <td>
530
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
531
- </td>
532
- <td>
533
- <select name="type[]" class="attr_type wfnoempty">
534
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
535
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
536
- </select>
537
- </td>
538
- <td>
539
- <select name="attributes[]" required="required"
540
- class="wf_validate_attr wf_attr wf_attributes">
541
- <?php echo $product->attributeDropdown(); ?>
542
- </select>
543
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
544
- style=" display: none;"/>
545
- </td>
546
- <td>
547
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
548
- </td>
549
- <td>
550
- <select name="output_type[][]" class="outputType wfnoempty">
551
- <option value="1">Default</option>
552
- <option value="2">Strip Tags</option>
553
- <option value="3">UTF-8 Encode</option>
554
- <option value="4">htmlentities</option>
555
- <option value="5">Integer</option>
556
- <option value="6">Price</option>
557
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
558
- <option value="8">CDATA</option>
559
- </select>
560
- <i class="dashicons dashicons-editor-expand expandType"></i>
561
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
562
- </td>
563
- <td>
564
- <input type="text" name="limit[]" class="wf_ps"/>
565
- </td>
566
- <td>
567
- <i class="delRow dashicons dashicons-trash"></i>
568
- </td>
569
- </tr>
570
-
571
- <tr>
572
- <td>
573
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
574
- </td>
575
- <td>
576
- <input type="text" name="mattributes[]" autocomplete="off" required
577
- class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_cost_at" />
578
- </td>
579
- <td>
580
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
581
- </td>
582
- <td>
583
- <select name="type[]" class="attr_type wfnoempty">
584
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
585
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
586
- </select>
587
- </td>
588
- <td>
589
- <select name="attributes[]" required="required"
590
- class="wf_validate_attr wf_attr wf_attributes">
591
- <?php echo $product->attributeDropdown(); ?>
592
- </select>
593
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
594
- style=" display: none;"/>
595
- </td>
596
- <td>
597
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
598
- </td>
599
- <td>
600
- <select name="output_type[][]" class="outputType wfnoempty">
601
- <option value="1">Default</option>
602
- <option value="2">Strip Tags</option>
603
- <option value="3">UTF-8 Encode</option>
604
- <option value="4">htmlentities</option>
605
- <option value="5">Integer</option>
606
- <option value="6">Price</option>
607
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
608
- <option value="8">CDATA</option>
609
- </select>
610
- <i class="dashicons dashicons-editor-expand expandType"></i>
611
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
612
- </td>
613
- <td>
614
- <input type="text" name="limit[]" class="wf_ps"/>
615
- </td>
616
- <td>
617
- <i class="delRow dashicons dashicons-trash"></i>
618
- </td>
619
- </tr>
620
-
621
- <tr>
622
- <td>
623
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
624
- </td>
625
- <td>
626
- <input type="text" name="mattributes[]" autocomplete="off" required
627
- class="wf_validate_attr wf_mattributes wf_mattr" value="desc" />
628
- </td>
629
- <td>
630
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
631
- </td>
632
- <td>
633
- <select name="type[]" class="attr_type wfnoempty">
634
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
635
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
636
- </select>
637
- </td>
638
- <td>
639
- <select name="attributes[]" required="required"
640
- class="wf_validate_attr wf_attr wf_attributes">
641
- <?php echo $product->attributeDropdown('description'); ?>
642
- </select>
643
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
644
- style=" display: none;"/>
645
- </td>
646
- <td>
647
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
648
- </td>
649
- <td>
650
- <select name="output_type[][]" class="outputType wfnoempty">
651
- <option value="1">Default</option>
652
- <option value="2">Strip Tags</option>
653
- <option value="3">UTF-8 Encode</option>
654
- <option value="4">htmlentities</option>
655
- <option value="5">Integer</option>
656
- <option value="6">Price</option>
657
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
658
- <option value="8">CDATA</option>
659
- </select>
660
- <i class="dashicons dashicons-editor-expand expandType"></i>
661
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
662
- </td>
663
- <td>
664
- <input type="text" name="limit[]" class="wf_ps"/>
665
- </td>
666
- <td>
667
- <i class="delRow dashicons dashicons-trash"></i>
668
- </td>
669
- </tr>
670
-
671
- <tr>
672
- <td>
673
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
674
- </td>
675
- <td>
676
- <input type="text" name="mattributes[]" autocomplete="off" required
677
- class="wf_validate_attr wf_mattributes wf_mattr" value="base_price" />
678
- </td>
679
- <td>
680
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
681
- </td>
682
- <td>
683
- <select name="type[]" class="attr_type wfnoempty">
684
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
685
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
686
- </select>
687
- </td>
688
- <td>
689
- <select name="attributes[]" required="required"
690
- class="wf_validate_attr wf_attr wf_attributes">
691
- <?php echo $product->attributeDropdown(); ?>
692
- </select>
693
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
694
- style=" display: none;"/>
695
- </td>
696
- <td>
697
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
698
- </td>
699
- <td>
700
- <select name="output_type[][]" class="outputType wfnoempty">
701
- <option value="1">Default</option>
702
- <option value="2">Strip Tags</option>
703
- <option value="3">UTF-8 Encode</option>
704
- <option value="4">htmlentities</option>
705
- <option value="5">Integer</option>
706
- <option value="6">Price</option>
707
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
708
- <option value="8">CDATA</option>
709
- </select>
710
- <i class="dashicons dashicons-editor-expand expandType"></i>
711
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
712
- </td>
713
- <td>
714
- <input type="text" name="limit[]" class="wf_ps"/>
715
- </td>
716
- <td>
717
- <i class="delRow dashicons dashicons-trash"></i>
718
- </td>
719
- </tr>
720
-
721
- <tr>
722
- <td>
723
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
724
- </td>
725
- <td>
726
- <input type="text" name="mattributes[]" autocomplete="off" required
727
- class="wf_validate_attr wf_mattributes wf_mattr" value="old_price" />
728
- </td>
729
- <td>
730
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
731
- </td>
732
- <td>
733
- <select name="type[]" class="attr_type wfnoempty">
734
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
735
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
736
- </select>
737
- </td>
738
- <td>
739
- <select name="attributes[]" required="required"
740
- class="wf_validate_attr wf_attr wf_attributes">
741
- <?php echo $product->attributeDropdown(); ?>
742
- </select>
743
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
744
- style=" display: none;"/>
745
- </td>
746
- <td>
747
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
748
- </td>
749
- <td>
750
- <select name="output_type[][]" class="outputType wfnoempty">
751
- <option value="1">Default</option>
752
- <option value="2">Strip Tags</option>
753
- <option value="3">UTF-8 Encode</option>
754
- <option value="4">htmlentities</option>
755
- <option value="5">Integer</option>
756
- <option value="6">Price</option>
757
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
758
- <option value="8">CDATA</option>
759
- </select>
760
- <i class="dashicons dashicons-editor-expand expandType"></i>
761
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
762
- </td>
763
- <td>
764
- <input type="text" name="limit[]" class="wf_ps"/>
765
- </td>
766
- <td>
767
- <i class="delRow dashicons dashicons-trash"></i>
768
- </td>
769
- </tr>
770
-
771
- <tr>
772
- <td>
773
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
774
- </td>
775
- <td>
776
- <input type="text" name="mattributes[]" autocomplete="off" required
777
- class="wf_validate_attr wf_mattributes wf_mattr" value="voucher_text" />
778
- </td>
779
- <td>
780
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
781
- </td>
782
- <td>
783
- <select name="type[]" class="attr_type wfnoempty">
784
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
785
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
786
- </select>
787
- </td>
788
- <td>
789
- <select name="attributes[]" required="required"
790
- class="wf_validate_attr wf_attr wf_attributes">
791
- <?php echo $product->attributeDropdown(); ?>
792
- </select>
793
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
794
- style=" display: none;"/>
795
- </td>
796
- <td>
797
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
798
- </td>
799
- <td>
800
- <select name="output_type[][]" class="outputType wfnoempty">
801
- <option value="1">Default</option>
802
- <option value="2">Strip Tags</option>
803
- <option value="3">UTF-8 Encode</option>
804
- <option value="4">htmlentities</option>
805
- <option value="5">Integer</option>
806
- <option value="6">Price</option>
807
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
808
- <option value="8">CDATA</option>
809
- </select>
810
- <i class="dashicons dashicons-editor-expand expandType"></i>
811
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
812
- </td>
813
- <td>
814
- <input type="text" name="limit[]" class="wf_ps"/>
815
- </td>
816
- <td>
817
- <i class="delRow dashicons dashicons-trash"></i>
818
- </td>
819
- </tr>
820
- </tbody>
821
- <tfoot>
822
- <tr>
823
- <td>
824
- <button type="button" class="button-small button-primary" id="wf_newRow">
825
- <?php _e('Add New Row', 'woo-feed'); ?>
826
- </button>
827
- </td>
828
- <td colspan="8">
829
-
830
- </td>
831
- </tr>
832
- </tfoot>
833
- </table>
834
- <table class=" widefat fixed">
835
- <tr>
836
- <td align="left" class="">
837
- <div class="makeFeedResponse"></div>
838
- <div class="makeFeedComplete"></div>
839
- </td>
840
- <td align="right">
841
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
842
- </td>
843
- </tr>
844
- </table>
845
- </div>
846
- </li>
847
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
848
-
849
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr" value="aid" />
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 _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('id'); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+
72
+ <tr>
73
+ <td>
74
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
+ </td>
76
+ <td>
77
+ <input type="text" name="mattributes[]" autocomplete="off" required
78
+ class="wf_validate_attr wf_mattributes wf_mattr" value="name" />
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 _e('Attribute', 'woo-feed'); ?></option>
86
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
+ </select>
88
+ </td>
89
+ <td>
90
+ <select name="attributes[]" required="required"
91
+ class="wf_validate_attr wf_attr wf_attributes">
92
+ <?php echo $product->attributeDropdown('title'); ?>
93
+ </select>
94
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
95
+ style=" display: none;"/>
96
+ </td>
97
+ <td>
98
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
99
+ </td>
100
+ <td>
101
+ <select name="output_type[][]" class="outputType wfnoempty">
102
+ <option value="1">Default</option>
103
+ <option value="2">Strip Tags</option>
104
+ <option value="3">UTF-8 Encode</option>
105
+ <option value="4">htmlentities</option>
106
+ <option value="5">Integer</option>
107
+ <option value="6">Price</option>
108
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
109
+ <option value="8">CDATA</option>
110
+ </select>
111
+ <i class="dashicons dashicons-editor-expand expandType"></i>
112
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
113
+ </td>
114
+ <td>
115
+ <input type="text" name="limit[]" class="wf_ps"/>
116
+ </td>
117
+ <td>
118
+ <i class="delRow dashicons dashicons-trash"></i>
119
+ </td>
120
+ </tr>
121
+
122
+ <tr>
123
+ <td>
124
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
125
+ </td>
126
+ <td>
127
+ <input type="text" name="mattributes[]" autocomplete="off" required
128
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price" />
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 _e('Attribute', 'woo-feed'); ?></option>
136
+ <option value="pattern"><?php _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('price'); ?>
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="shop_cat" />
179
+ </td>
180
+ <td>
181
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
182
+ </td>
183
+ <td>
184
+ <select name="type[]" class="attr_type wfnoempty">
185
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
186
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
187
+ </select>
188
+ </td>
189
+ <td>
190
+ <select name="attributes[]" required="required"
191
+ class="wf_validate_attr wf_attr wf_attributes">
192
+ <?php echo $product->attributeDropdown('product_type'); ?>
193
+ </select>
194
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
195
+ style=" display: none;"/>
196
+ </td>
197
+ <td>
198
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
199
+ </td>
200
+ <td>
201
+ <select name="output_type[][]" class="outputType wfnoempty">
202
+ <option value="1">Default</option>
203
+ <option value="2">Strip Tags</option>
204
+ <option value="3">UTF-8 Encode</option>
205
+ <option value="4">htmlentities</option>
206
+ <option value="5">Integer</option>
207
+ <option value="6">Price</option>
208
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
209
+ <option value="8">CDATA</option>
210
+ </select>
211
+ <i class="dashicons dashicons-editor-expand expandType"></i>
212
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
213
+ </td>
214
+ <td>
215
+ <input type="text" name="limit[]" class="wf_ps"/>
216
+ </td>
217
+ <td>
218
+ <i class="delRow dashicons dashicons-trash"></i>
219
+ </td>
220
+ </tr>
221
+
222
+ <tr>
223
+ <td>
224
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
225
+ </td>
226
+ <td>
227
+ <input type="text" name="mattributes[]" autocomplete="off" required
228
+ class="wf_validate_attr wf_mattributes wf_mattr" value="pzn" />
229
+ </td>
230
+ <td>
231
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
232
+ </td>
233
+ <td>
234
+ <select name="type[]" class="attr_type wfnoempty">
235
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
236
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
237
+ </select>
238
+ </td>
239
+ <td>
240
+ <select name="attributes[]" required="required"
241
+ class="wf_validate_attr wf_attr wf_attributes">
242
+ <?php echo $product->attributeDropdown(); ?>
243
+ </select>
244
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
+ style=" display: none;"/>
246
+ </td>
247
+ <td>
248
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
249
+ </td>
250
+ <td>
251
+ <select name="output_type[][]" class="outputType wfnoempty">
252
+ <option value="1">Default</option>
253
+ <option value="2">Strip Tags</option>
254
+ <option value="3">UTF-8 Encode</option>
255
+ <option value="4">htmlentities</option>
256
+ <option value="5">Integer</option>
257
+ <option value="6">Price</option>
258
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
259
+ <option value="8">CDATA</option>
260
+ </select>
261
+ <i class="dashicons dashicons-editor-expand expandType"></i>
262
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
263
+ </td>
264
+ <td>
265
+ <input type="text" name="limit[]" class="wf_ps"/>
266
+ </td>
267
+ <td>
268
+ <i class="delRow dashicons dashicons-trash"></i>
269
+ </td>
270
+ </tr>
271
+
272
+ <tr>
273
+ <td>
274
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
275
+ </td>
276
+ <td>
277
+ <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="brand" />
279
+ </td>
280
+ <td>
281
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
282
+ </td>
283
+ <td>
284
+ <select name="type[]" class="attr_type wfnoempty">
285
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
286
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
287
+ </select>
288
+ </td>
289
+ <td>
290
+ <select name="attributes[]" required="required"
291
+ class="wf_validate_attr wf_attr wf_attributes">
292
+ <?php echo $product->attributeDropdown(); ?>
293
+ </select>
294
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
295
+ style=" display: none;"/>
296
+ </td>
297
+ <td>
298
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
299
+ </td>
300
+ <td>
301
+ <select name="output_type[][]" class="outputType wfnoempty">
302
+ <option value="1">Default</option>
303
+ <option value="2">Strip Tags</option>
304
+ <option value="3">UTF-8 Encode</option>
305
+ <option value="4">htmlentities</option>
306
+ <option value="5">Integer</option>
307
+ <option value="6">Price</option>
308
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
309
+ <option value="8">CDATA</option>
310
+ </select>
311
+ <i class="dashicons dashicons-editor-expand expandType"></i>
312
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
313
+ </td>
314
+ <td>
315
+ <input type="text" name="limit[]" class="wf_ps"/>
316
+ </td>
317
+ <td>
318
+ <i class="delRow dashicons dashicons-trash"></i>
319
+ </td>
320
+ </tr>
321
+
322
+ <tr>
323
+ <td>
324
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
325
+ </td>
326
+ <td>
327
+ <input type="text" name="mattributes[]" autocomplete="off" required
328
+ class="wf_validate_attr wf_mattributes wf_mattr" value="mpn" />
329
+ </td>
330
+ <td>
331
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
332
+ </td>
333
+ <td>
334
+ <select name="type[]" class="attr_type wfnoempty">
335
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
336
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
337
+ </select>
338
+ </td>
339
+ <td>
340
+ <select name="attributes[]" required="required"
341
+ class="wf_validate_attr wf_attr wf_attributes">
342
+ <?php echo $product->attributeDropdown(); ?>
343
+ </select>
344
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
345
+ style=" display: none;"/>
346
+ </td>
347
+ <td>
348
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
349
+ </td>
350
+ <td>
351
+ <select name="output_type[][]" class="outputType wfnoempty">
352
+ <option value="1">Default</option>
353
+ <option value="2">Strip Tags</option>
354
+ <option value="3">UTF-8 Encode</option>
355
+ <option value="4">htmlentities</option>
356
+ <option value="5">Integer</option>
357
+ <option value="6">Price</option>
358
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
359
+ <option value="8">CDATA</option>
360
+ </select>
361
+ <i class="dashicons dashicons-editor-expand expandType"></i>
362
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
363
+ </td>
364
+ <td>
365
+ <input type="text" name="limit[]" class="wf_ps"/>
366
+ </td>
367
+ <td>
368
+ <i class="delRow dashicons dashicons-trash"></i>
369
+ </td>
370
+ </tr>
371
+
372
+ <tr>
373
+ <td>
374
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
375
+ </td>
376
+ <td>
377
+ <input type="text" name="mattributes[]" autocomplete="off" required
378
+ class="wf_validate_attr wf_mattributes wf_mattr" value="GTIN" />
379
+ </td>
380
+ <td>
381
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
382
+ </td>
383
+ <td>
384
+ <select name="type[]" class="attr_type wfnoempty">
385
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
386
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
387
+ </select>
388
+ </td>
389
+ <td>
390
+ <select name="attributes[]" required="required" class="wf_validate_attr wf_attr wf_attributes">
391
+ <?php echo $product->attributeDropdown('sku'); ?>
392
+ </select>
393
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
394
+ style=" display: none;"/>
395
+ </td>
396
+ <td>
397
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
398
+ </td>
399
+ <td>
400
+ <select name="output_type[][]" class="outputType wfnoempty">
401
+ <option value="1">Default</option>
402
+ <option value="2">Strip Tags</option>
403
+ <option value="3">UTF-8 Encode</option>
404
+ <option value="4">htmlentities</option>
405
+ <option value="5">Integer</option>
406
+ <option value="6">Price</option>
407
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
408
+ <option value="8">CDATA</option>
409
+ </select>
410
+ <i class="dashicons dashicons-editor-expand expandType"></i>
411
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
412
+ </td>
413
+ <td>
414
+ <input type="text" name="limit[]" class="wf_ps"/>
415
+ </td>
416
+ <td>
417
+ <i class="delRow dashicons dashicons-trash"></i>
418
+ </td>
419
+ </tr>
420
+
421
+ <tr>
422
+ <td>
423
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
424
+ </td>
425
+ <td>
426
+ <input type="text" name="mattributes[]" autocomplete="off" required
427
+ class="wf_validate_attr wf_mattributes wf_mattr" value="image" />
428
+ </td>
429
+ <td>
430
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
431
+ </td>
432
+ <td>
433
+ <select name="type[]" class="attr_type wfnoempty">
434
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
435
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
436
+ </select>
437
+ </td>
438
+ <td>
439
+ <select name="attributes[]" required="required"
440
+ class="wf_validate_attr wf_attr wf_attributes">
441
+ <?php echo $product->attributeDropdown('image'); ?>
442
+ </select>
443
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
444
+ style=" display: none;"/>
445
+ </td>
446
+ <td>
447
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
448
+ </td>
449
+ <td>
450
+ <select name="output_type[][]" class="outputType wfnoempty">
451
+ <option value="1">Default</option>
452
+ <option value="2">Strip Tags</option>
453
+ <option value="3">UTF-8 Encode</option>
454
+ <option value="4">htmlentities</option>
455
+ <option value="5">Integer</option>
456
+ <option value="6">Price</option>
457
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
458
+ <option value="8">CDATA</option>
459
+ </select>
460
+ <i class="dashicons dashicons-editor-expand expandType"></i>
461
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
462
+ </td>
463
+ <td>
464
+ <input type="text" name="limit[]" class="wf_ps"/>
465
+ </td>
466
+ <td>
467
+ <i class="delRow dashicons dashicons-trash"></i>
468
+ </td>
469
+ </tr>
470
+
471
+ <tr>
472
+ <td>
473
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
474
+ </td>
475
+ <td>
476
+ <input type="text" name="mattributes[]" autocomplete="off" required
477
+ class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_time" />
478
+ </td>
479
+ <td>
480
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
481
+ </td>
482
+ <td>
483
+ <select name="type[]" class="attr_type wfnoempty">
484
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
485
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
486
+ </select>
487
+ </td>
488
+ <td>
489
+ <select name="attributes[]" required="required"
490
+ class="wf_validate_attr wf_attr wf_attributes">
491
+ <?php echo $product->attributeDropdown(); ?>
492
+ </select>
493
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
494
+ style=" display: none;"/>
495
+ </td>
496
+ <td>
497
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
498
+ </td>
499
+ <td>
500
+ <select name="output_type[][]" class="outputType wfnoempty">
501
+ <option value="1">Default</option>
502
+ <option value="2">Strip Tags</option>
503
+ <option value="3">UTF-8 Encode</option>
504
+ <option value="4">htmlentities</option>
505
+ <option value="5">Integer</option>
506
+ <option value="6">Price</option>
507
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
508
+ <option value="8">CDATA</option>
509
+ </select>
510
+ <i class="dashicons dashicons-editor-expand expandType"></i>
511
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
512
+ </td>
513
+ <td>
514
+ <input type="text" name="limit[]" class="wf_ps"/>
515
+ </td>
516
+ <td>
517
+ <i class="delRow dashicons dashicons-trash"></i>
518
+ </td>
519
+ </tr>
520
+
521
+ <tr>
522
+ <td>
523
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
524
+ </td>
525
+ <td>
526
+ <input type="text" name="mattributes[]" autocomplete="off" required
527
+ class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_cost" />
528
+ </td>
529
+ <td>
530
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
531
+ </td>
532
+ <td>
533
+ <select name="type[]" class="attr_type wfnoempty">
534
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
535
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
536
+ </select>
537
+ </td>
538
+ <td>
539
+ <select name="attributes[]" required="required"
540
+ class="wf_validate_attr wf_attr wf_attributes">
541
+ <?php echo $product->attributeDropdown(); ?>
542
+ </select>
543
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
544
+ style=" display: none;"/>
545
+ </td>
546
+ <td>
547
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
548
+ </td>
549
+ <td>
550
+ <select name="output_type[][]" class="outputType wfnoempty">
551
+ <option value="1">Default</option>
552
+ <option value="2">Strip Tags</option>
553
+ <option value="3">UTF-8 Encode</option>
554
+ <option value="4">htmlentities</option>
555
+ <option value="5">Integer</option>
556
+ <option value="6">Price</option>
557
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
558
+ <option value="8">CDATA</option>
559
+ </select>
560
+ <i class="dashicons dashicons-editor-expand expandType"></i>
561
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
562
+ </td>
563
+ <td>
564
+ <input type="text" name="limit[]" class="wf_ps"/>
565
+ </td>
566
+ <td>
567
+ <i class="delRow dashicons dashicons-trash"></i>
568
+ </td>
569
+ </tr>
570
+
571
+ <tr>
572
+ <td>
573
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
574
+ </td>
575
+ <td>
576
+ <input type="text" name="mattributes[]" autocomplete="off" required
577
+ class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_cost_at" />
578
+ </td>
579
+ <td>
580
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
581
+ </td>
582
+ <td>
583
+ <select name="type[]" class="attr_type wfnoempty">
584
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
585
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
586
+ </select>
587
+ </td>
588
+ <td>
589
+ <select name="attributes[]" required="required"
590
+ class="wf_validate_attr wf_attr wf_attributes">
591
+ <?php echo $product->attributeDropdown(); ?>
592
+ </select>
593
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
594
+ style=" display: none;"/>
595
+ </td>
596
+ <td>
597
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
598
+ </td>
599
+ <td>
600
+ <select name="output_type[][]" class="outputType wfnoempty">
601
+ <option value="1">Default</option>
602
+ <option value="2">Strip Tags</option>
603
+ <option value="3">UTF-8 Encode</option>
604
+ <option value="4">htmlentities</option>
605
+ <option value="5">Integer</option>
606
+ <option value="6">Price</option>
607
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
608
+ <option value="8">CDATA</option>
609
+ </select>
610
+ <i class="dashicons dashicons-editor-expand expandType"></i>
611
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
612
+ </td>
613
+ <td>
614
+ <input type="text" name="limit[]" class="wf_ps"/>
615
+ </td>
616
+ <td>
617
+ <i class="delRow dashicons dashicons-trash"></i>
618
+ </td>
619
+ </tr>
620
+
621
+ <tr>
622
+ <td>
623
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
624
+ </td>
625
+ <td>
626
+ <input type="text" name="mattributes[]" autocomplete="off" required
627
+ class="wf_validate_attr wf_mattributes wf_mattr" value="desc" />
628
+ </td>
629
+ <td>
630
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
631
+ </td>
632
+ <td>
633
+ <select name="type[]" class="attr_type wfnoempty">
634
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
635
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
636
+ </select>
637
+ </td>
638
+ <td>
639
+ <select name="attributes[]" required="required"
640
+ class="wf_validate_attr wf_attr wf_attributes">
641
+ <?php echo $product->attributeDropdown('description'); ?>
642
+ </select>
643
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
644
+ style=" display: none;"/>
645
+ </td>
646
+ <td>
647
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
648
+ </td>
649
+ <td>
650
+ <select name="output_type[][]" class="outputType wfnoempty">
651
+ <option value="1">Default</option>
652
+ <option value="2">Strip Tags</option>
653
+ <option value="3">UTF-8 Encode</option>
654
+ <option value="4">htmlentities</option>
655
+ <option value="5">Integer</option>
656
+ <option value="6">Price</option>
657
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
658
+ <option value="8">CDATA</option>
659
+ </select>
660
+ <i class="dashicons dashicons-editor-expand expandType"></i>
661
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
662
+ </td>
663
+ <td>
664
+ <input type="text" name="limit[]" class="wf_ps"/>
665
+ </td>
666
+ <td>
667
+ <i class="delRow dashicons dashicons-trash"></i>
668
+ </td>
669
+ </tr>
670
+
671
+ <tr>
672
+ <td>
673
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
674
+ </td>
675
+ <td>
676
+ <input type="text" name="mattributes[]" autocomplete="off" required
677
+ class="wf_validate_attr wf_mattributes wf_mattr" value="base_price" />
678
+ </td>
679
+ <td>
680
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
681
+ </td>
682
+ <td>
683
+ <select name="type[]" class="attr_type wfnoempty">
684
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
685
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
686
+ </select>
687
+ </td>
688
+ <td>
689
+ <select name="attributes[]" required="required"
690
+ class="wf_validate_attr wf_attr wf_attributes">
691
+ <?php echo $product->attributeDropdown(); ?>
692
+ </select>
693
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
694
+ style=" display: none;"/>
695
+ </td>
696
+ <td>
697
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
698
+ </td>
699
+ <td>
700
+ <select name="output_type[][]" class="outputType wfnoempty">
701
+ <option value="1">Default</option>
702
+ <option value="2">Strip Tags</option>
703
+ <option value="3">UTF-8 Encode</option>
704
+ <option value="4">htmlentities</option>
705
+ <option value="5">Integer</option>
706
+ <option value="6">Price</option>
707
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
708
+ <option value="8">CDATA</option>
709
+ </select>
710
+ <i class="dashicons dashicons-editor-expand expandType"></i>
711
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
712
+ </td>
713
+ <td>
714
+ <input type="text" name="limit[]" class="wf_ps"/>
715
+ </td>
716
+ <td>
717
+ <i class="delRow dashicons dashicons-trash"></i>
718
+ </td>
719
+ </tr>
720
+
721
+ <tr>
722
+ <td>
723
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
724
+ </td>
725
+ <td>
726
+ <input type="text" name="mattributes[]" autocomplete="off" required
727
+ class="wf_validate_attr wf_mattributes wf_mattr" value="old_price" />
728
+ </td>
729
+ <td>
730
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
731
+ </td>
732
+ <td>
733
+ <select name="type[]" class="attr_type wfnoempty">
734
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
735
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
736
+ </select>
737
+ </td>
738
+ <td>
739
+ <select name="attributes[]" required="required"
740
+ class="wf_validate_attr wf_attr wf_attributes">
741
+ <?php echo $product->attributeDropdown(); ?>
742
+ </select>
743
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
744
+ style=" display: none;"/>
745
+ </td>
746
+ <td>
747
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
748
+ </td>
749
+ <td>
750
+ <select name="output_type[][]" class="outputType wfnoempty">
751
+ <option value="1">Default</option>
752
+ <option value="2">Strip Tags</option>
753
+ <option value="3">UTF-8 Encode</option>
754
+ <option value="4">htmlentities</option>
755
+ <option value="5">Integer</option>
756
+ <option value="6">Price</option>
757
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
758
+ <option value="8">CDATA</option>
759
+ </select>
760
+ <i class="dashicons dashicons-editor-expand expandType"></i>
761
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
762
+ </td>
763
+ <td>
764
+ <input type="text" name="limit[]" class="wf_ps"/>
765
+ </td>
766
+ <td>
767
+ <i class="delRow dashicons dashicons-trash"></i>
768
+ </td>
769
+ </tr>
770
+
771
+ <tr>
772
+ <td>
773
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
774
+ </td>
775
+ <td>
776
+ <input type="text" name="mattributes[]" autocomplete="off" required
777
+ class="wf_validate_attr wf_mattributes wf_mattr" value="voucher_text" />
778
+ </td>
779
+ <td>
780
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
781
+ </td>
782
+ <td>
783
+ <select name="type[]" class="attr_type wfnoempty">
784
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
785
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
786
+ </select>
787
+ </td>
788
+ <td>
789
+ <select name="attributes[]" required="required"
790
+ class="wf_validate_attr wf_attr wf_attributes">
791
+ <?php echo $product->attributeDropdown(); ?>
792
+ </select>
793
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
794
+ style=" display: none;"/>
795
+ </td>
796
+ <td>
797
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
798
+ </td>
799
+ <td>
800
+ <select name="output_type[][]" class="outputType wfnoempty">
801
+ <option value="1">Default</option>
802
+ <option value="2">Strip Tags</option>
803
+ <option value="3">UTF-8 Encode</option>
804
+ <option value="4">htmlentities</option>
805
+ <option value="5">Integer</option>
806
+ <option value="6">Price</option>
807
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
808
+ <option value="8">CDATA</option>
809
+ </select>
810
+ <i class="dashicons dashicons-editor-expand expandType"></i>
811
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
812
+ </td>
813
+ <td>
814
+ <input type="text" name="limit[]" class="wf_ps"/>
815
+ </td>
816
+ <td>
817
+ <i class="delRow dashicons dashicons-trash"></i>
818
+ </td>
819
+ </tr>
820
+ </tbody>
821
+ <tfoot>
822
+ <tr>
823
+ <td>
824
+ <button type="button" class="button-small button-primary" id="wf_newRow">
825
+ <?php _e('Add New Row', 'woo-feed'); ?>
826
+ </button>
827
+ </td>
828
+ <td colspan="8">
829
+
830
+ </td>
831
+ </tr>
832
+ </tfoot>
833
+ </table>
834
+ <table class=" widefat fixed">
835
+ <tr>
836
+ <td align="left" class="">
837
+ <div class="makeFeedResponse"></div>
838
+ <div class="makeFeedComplete"></div>
839
+ </td>
840
+ <td align="right">
841
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
842
+ </td>
843
+ </tr>
844
+ </table>
845
+ </div>
846
+ </li>
847
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
848
+
849
+ </ul>
admin/partials/templates/bing_add-feed.php CHANGED
@@ -1,111 +1,111 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <?php
23
- foreach($attributes->bingAttribute() as $key=>$value){
24
- if($key=="required"){
25
- break;
26
- }
27
- ?>
28
- <tr>
29
- <td>
30
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
31
- </td>
32
- <td>
33
- <select name="mattributes[]" required class="wf_mattributes">
34
- <?php echo $attributes->getAttributeDropDown("bing",$key); ?>
35
- </select>
36
- </td>
37
- <td>
38
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
39
- </td>
40
- <td>
41
- <select name="type[]" class="attr_type wfnoempty">
42
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
43
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
44
- </select>
45
- </td>
46
- <td>
47
- <select name="attributes[]" class="wf_attr wf_attributes" required="required">
48
- <?php echo $product->attributeDropdown(); ?>
49
- </select>
50
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
51
- style=" display: none;"/>
52
- </td>
53
- <td>
54
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
55
- </td>
56
- <td>
57
- <select name="output_type[][]" class="outputType wfnoempty">
58
- <option value="1">Default</option>
59
- <option value="2">Strip Tags</option>
60
- <option value="3">UTF-8 Encode</option>
61
- <option value="4">htmlentities</option>
62
- <option value="5">Integer</option>
63
- <option value="6">Price</option>
64
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
65
- <option value="8">CDATA</option>
66
- </select>
67
- <i class="dashicons dashicons-editor-expand expandType"></i>
68
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
69
- </td>
70
- <td>
71
- <input type="text" name="limit[]" class="wf_ps"/>
72
- </td>
73
- <td>
74
- <i class="delRow dashicons dashicons-trash"></i>
75
- </td>
76
- </tr>
77
- <?php
78
- }
79
- ?>
80
-
81
-
82
- </tbody>
83
- <tfoot>
84
- <tr>
85
- <td>
86
- <button type="button" class="button-small button-primary" id="wf_newRow">
87
- <?php _e('Add New Row', 'woo-feed'); ?>
88
- </button>
89
- </td>
90
- <td colspan="8">
91
-
92
- </td>
93
- </tr>
94
- </tfoot>
95
- </table>
96
- <table class=" widefat fixed">
97
- <tr>
98
- <td align="left" class="">
99
- <div class="makeFeedResponse"></div>
100
- <div class="makeFeedComplete"></div>
101
- </td>
102
- <td align="right">
103
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
104
- </td>
105
- </tr>
106
- </table>
107
- </div>
108
- </li>
109
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
110
-
111
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <?php
23
+ foreach($attributes->bingAttribute() as $key=>$value){
24
+ if($key=="required"){
25
+ break;
26
+ }
27
+ ?>
28
+ <tr>
29
+ <td>
30
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
31
+ </td>
32
+ <td>
33
+ <select name="mattributes[]" required class="wf_mattributes">
34
+ <?php echo $attributes->getAttributeDropDown("bing",$key); ?>
35
+ </select>
36
+ </td>
37
+ <td>
38
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
39
+ </td>
40
+ <td>
41
+ <select name="type[]" class="attr_type wfnoempty">
42
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
43
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
44
+ </select>
45
+ </td>
46
+ <td>
47
+ <select name="attributes[]" class="wf_attr wf_attributes" required="required">
48
+ <?php echo $product->attributeDropdown(); ?>
49
+ </select>
50
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
51
+ style=" display: none;"/>
52
+ </td>
53
+ <td>
54
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
55
+ </td>
56
+ <td>
57
+ <select name="output_type[][]" class="outputType wfnoempty">
58
+ <option value="1">Default</option>
59
+ <option value="2">Strip Tags</option>
60
+ <option value="3">UTF-8 Encode</option>
61
+ <option value="4">htmlentities</option>
62
+ <option value="5">Integer</option>
63
+ <option value="6">Price</option>
64
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
65
+ <option value="8">CDATA</option>
66
+ </select>
67
+ <i class="dashicons dashicons-editor-expand expandType"></i>
68
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
69
+ </td>
70
+ <td>
71
+ <input type="text" name="limit[]" class="wf_ps"/>
72
+ </td>
73
+ <td>
74
+ <i class="delRow dashicons dashicons-trash"></i>
75
+ </td>
76
+ </tr>
77
+ <?php
78
+ }
79
+ ?>
80
+
81
+
82
+ </tbody>
83
+ <tfoot>
84
+ <tr>
85
+ <td>
86
+ <button type="button" class="button-small button-primary" id="wf_newRow">
87
+ <?php _e('Add New Row', 'woo-feed'); ?>
88
+ </button>
89
+ </td>
90
+ <td colspan="8">
91
+
92
+ </td>
93
+ </tr>
94
+ </tfoot>
95
+ </table>
96
+ <table class=" widefat fixed">
97
+ <tr>
98
+ <td align="left" class="">
99
+ <div class="makeFeedResponse"></div>
100
+ <div class="makeFeedComplete"></div>
101
+ </td>
102
+ <td align="right">
103
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
104
+ </td>
105
+ </tr>
106
+ </table>
107
+ </div>
108
+ </li>
109
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
110
+
111
+ </ul>
admin/partials/templates/bol_add-feed.php CHANGED
@@ -1,394 +1,394 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="EAN" />
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('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[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- <tr>
72
- <td>
73
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
- </td>
75
- <td>
76
- <input type="text" name="mattributes[]" autocomplete="off" required
77
- class="wf_validate_attr wf_mattributes wf_mattr" value="Internal Reference"/>
78
- </td>
79
- <td>
80
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
81
- </td>
82
- <td>
83
- <select name="type[]" class="attr_type wfnoempty">
84
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
85
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
- </select>
87
- </td>
88
- <td>
89
- <select name="attributes[]" required="required"
90
- class="wf_validate_attr wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown('id'); ?>
92
- </select>
93
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
- style=" display: none;"/>
95
- </td>
96
- <td>
97
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
- </td>
99
- <td>
100
- <select name="output_type[][]" class="outputType wfnoempty">
101
- <option value="1">Default</option>
102
- <option value="2">Strip Tags</option>
103
- <option value="3">UTF-8 Encode</option>
104
- <option value="4">htmlentities</option>
105
- <option value="5">Integer</option>
106
- <option value="6">Price</option>
107
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
- <option value="8">CDATA</option>
109
- </select>
110
- <i class="dashicons dashicons-editor-expand expandType"></i>
111
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
- </td>
113
- <td>
114
- <input type="text" name="limit[]" class="wf_ps"/>
115
- </td>
116
- <td>
117
- <i class="delRow dashicons dashicons-trash"></i>
118
- </td>
119
- </tr>
120
- <tr>
121
- <td>
122
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
- </td>
124
- <td>
125
- <input type="text" name="mattributes[]" autocomplete="off" required
126
- class="wf_validate_attr wf_mattributes wf_mattr"value="Name"/>
127
- </td>
128
- <td>
129
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
- </td>
131
- <td>
132
- <select name="type[]" class="attr_type wfnoempty">
133
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
- </select>
136
- </td>
137
- <td>
138
- <select name="attributes[]" required="required"
139
- class="wf_validate_attr wf_attr wf_attributes">
140
- <?php echo $product->attributeDropdown('title'); ?>
141
- </select>
142
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
- style=" display: none;"/>
144
- </td>
145
- <td>
146
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
- </td>
148
- <td>
149
- <select name="output_type[][]" class="outputType wfnoempty">
150
- <option value="1">Default</option>
151
- <option value="2">Strip Tags</option>
152
- <option value="3">UTF-8 Encode</option>
153
- <option value="4">htmlentities</option>
154
- <option value="5">Integer</option>
155
- <option value="6">Price</option>
156
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
- <option value="8">CDATA</option>
158
- </select>
159
- <i class="dashicons dashicons-editor-expand expandType"></i>
160
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
- </td>
162
- <td>
163
- <input type="text" name="limit[]" class="wf_ps"/>
164
- </td>
165
- <td>
166
- <i class="delRow dashicons dashicons-trash"></i>
167
- </td>
168
- </tr>
169
- <tr>
170
- <td>
171
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
- </td>
173
- <td>
174
- <input type="text" name="mattributes[]" autocomplete="off" required
175
- class="wf_validate_attr wf_mattributes wf_mattr" value="Product Classification"/>
176
- </td>
177
- <td>
178
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
- </td>
180
- <td>
181
- <select name="type[]" class="attr_type wfnoempty">
182
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
183
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
- </select>
185
- </td>
186
- <td>
187
- <select name="attributes[]" required="required"
188
- class="wf_validate_attr wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown('product_type'); ?>
190
- </select>
191
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
- style=" display: none;"/>
193
- </td>
194
- <td>
195
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
- </td>
197
- <td>
198
- <select name="output_type[][]" class="outputType wfnoempty">
199
- <option value="1">Default</option>
200
- <option value="2">Strip Tags</option>
201
- <option value="3">UTF-8 Encode</option>
202
- <option value="4">htmlentities</option>
203
- <option value="5">Integer</option>
204
- <option value="6">Price</option>
205
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
- <option value="8">CDATA</option>
207
- </select>
208
- <i class="dashicons dashicons-editor-expand expandType"></i>
209
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
- </td>
211
- <td>
212
- <input type="text" name="limit[]" class="wf_ps"/>
213
- </td>
214
- <td>
215
- <i class="delRow dashicons dashicons-trash"></i>
216
- </td>
217
- </tr>
218
- <tr>
219
- <td>
220
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
- </td>
222
- <td>
223
- <input type="text" name="mattributes[]" autocomplete="off" required
224
- class="wf_validate_attr wf_mattributes wf_mattr" value="Description"/>
225
- </td>
226
- <td>
227
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
228
- </td>
229
- <td>
230
- <select name="type[]" class="attr_type wfnoempty">
231
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
232
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
- </select>
234
- </td>
235
- <td>
236
- <select name="attributes[]" required="required"
237
- class="wf_validate_attr wf_attr wf_attributes">
238
- <?php echo $product->attributeDropdown('description'); ?>
239
- </select>
240
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
- style=" display: none;"/>
242
- </td>
243
- <td>
244
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
- </td>
246
- <td>
247
- <select name="output_type[][]" class="outputType wfnoempty">
248
- <option value="1">Default</option>
249
- <option value="2">Strip Tags</option>
250
- <option value="3">UTF-8 Encode</option>
251
- <option value="4">htmlentities</option>
252
- <option value="5">Integer</option>
253
- <option value="6">Price</option>
254
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
- <option value="8">CDATA</option>
256
- </select>
257
- <i class="dashicons dashicons-editor-expand expandType"></i>
258
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
- </td>
260
- <td>
261
- <input type="text" name="limit[]" class="wf_ps"/>
262
- </td>
263
- <td>
264
- <i class="delRow dashicons dashicons-trash"></i>
265
- </td>
266
- </tr>
267
- <tr>
268
- <td>
269
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
- </td>
271
- <td>
272
- <input type="text" name="mattributes[]" autocomplete="off" required
273
- class="wf_validate_attr wf_mattributes wf_mattr" value="Cover Image URL"/>
274
- </td>
275
- <td>
276
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
277
- </td>
278
- <td>
279
- <select name="type[]" class="attr_type wfnoempty">
280
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
281
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
282
- </select>
283
- </td>
284
- <td>
285
- <select name="attributes[]" required="required"
286
- class="wf_validate_attr wf_attr wf_attributes">
287
- <?php echo $product->attributeDropdown('image'); ?>
288
- </select>
289
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
- style=" display: none;"/>
291
- </td>
292
- <td>
293
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
- </td>
295
- <td>
296
- <select name="output_type[][]" class="outputType wfnoempty">
297
- <option value="1">Default</option>
298
- <option value="2">Strip Tags</option>
299
- <option value="3">UTF-8 Encode</option>
300
- <option value="4">htmlentities</option>
301
- <option value="5">Integer</option>
302
- <option value="6">Price</option>
303
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
- <option value="8">CDATA</option>
305
- </select>
306
- <i class="dashicons dashicons-editor-expand expandType"></i>
307
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
- </td>
309
- <td>
310
- <input type="text" name="limit[]" class="wf_ps"/>
311
- </td>
312
- <td>
313
- <i class="delRow dashicons dashicons-trash"></i>
314
- </td>
315
- </tr>
316
- <tr>
317
- <td>
318
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
- </td>
320
- <td>
321
- <input type="text" name="mattributes[]" autocomplete="off" required
322
- class="wf_validate_attr wf_mattributes wf_mattr" value="Brand"/>
323
- </td>
324
- <td>
325
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
326
- </td>
327
- <td>
328
- <select name="type[]" class="attr_type wfnoempty">
329
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
330
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
331
- </select>
332
- </td>
333
- <td>
334
- <select name="attributes[]" required="required" style=" display: none;"
335
- class="wf_validate_attr wf_attr wf_attributes">
336
- <?php echo $product->attributeDropdown(''); ?>
337
- </select>
338
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
339
- />
340
- </td>
341
- <td>
342
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
- </td>
344
- <td>
345
- <select name="output_type[][]" class="outputType wfnoempty">
346
- <option value="1">Default</option>
347
- <option value="2">Strip Tags</option>
348
- <option value="3">UTF-8 Encode</option>
349
- <option value="4">htmlentities</option>
350
- <option value="5">Integer</option>
351
- <option value="6">Price</option>
352
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
- <option value="8">CDATA</option>
354
- </select>
355
- <i class="dashicons dashicons-editor-expand expandType"></i>
356
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
- </td>
358
- <td>
359
- <input type="text" name="limit[]" class="wf_ps"/>
360
- </td>
361
- <td>
362
- <i class="delRow dashicons dashicons-trash"></i>
363
- </td>
364
- </tr>
365
- </tbody>
366
- <tfoot>
367
- <tr>
368
- <td>
369
- <button type="button" class="button-small button-primary" id="wf_newRow">
370
- <?php _e('Add New Row', 'woo-feed'); ?>
371
- </button>
372
- </td>
373
- <td colspan="8">
374
-
375
- </td>
376
- </tr>
377
- </tfoot>
378
- </table>
379
- <table class=" widefat fixed">
380
- <tr>
381
- <td align="left" class="">
382
- <div class="makeFeedResponse"></div>
383
- <div class="makeFeedComplete"></div>
384
- </td>
385
- <td align="right">
386
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
387
- </td>
388
- </tr>
389
- </table>
390
- </div>
391
- </li>
392
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
393
-
394
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr" value="EAN" />
29
+ </td>
30
+ <td>
31
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
+ </td>
33
+ <td>
34
+ <select name="type[]" class="attr_type wfnoempty">
35
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('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[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ <tr>
72
+ <td>
73
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
+ </td>
75
+ <td>
76
+ <input type="text" name="mattributes[]" autocomplete="off" required
77
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Internal Reference"/>
78
+ </td>
79
+ <td>
80
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
81
+ </td>
82
+ <td>
83
+ <select name="type[]" class="attr_type wfnoempty">
84
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
85
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" required="required"
90
+ class="wf_validate_attr wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('id'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" class="outputType wfnoempty">
101
+ <option value="1">Default</option>
102
+ <option value="2">Strip Tags</option>
103
+ <option value="3">UTF-8 Encode</option>
104
+ <option value="4">htmlentities</option>
105
+ <option value="5">Integer</option>
106
+ <option value="6">Price</option>
107
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
+ <option value="8">CDATA</option>
109
+ </select>
110
+ <i class="dashicons dashicons-editor-expand expandType"></i>
111
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
+ </td>
113
+ <td>
114
+ <input type="text" name="limit[]" class="wf_ps"/>
115
+ </td>
116
+ <td>
117
+ <i class="delRow dashicons dashicons-trash"></i>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
+ </td>
124
+ <td>
125
+ <input type="text" name="mattributes[]" autocomplete="off" required
126
+ class="wf_validate_attr wf_mattributes wf_mattr"value="Name"/>
127
+ </td>
128
+ <td>
129
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
+ </td>
131
+ <td>
132
+ <select name="type[]" class="attr_type wfnoempty">
133
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" required="required"
139
+ class="wf_validate_attr wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown('title'); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" class="wf_ps"/>
164
+ </td>
165
+ <td>
166
+ <i class="delRow dashicons dashicons-trash"></i>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td>
171
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
+ </td>
173
+ <td>
174
+ <input type="text" name="mattributes[]" autocomplete="off" required
175
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Product Classification"/>
176
+ </td>
177
+ <td>
178
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
179
+ </td>
180
+ <td>
181
+ <select name="type[]" class="attr_type wfnoempty">
182
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
183
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" required="required"
188
+ class="wf_validate_attr wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('product_type'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" class="outputType wfnoempty">
199
+ <option value="1">Default</option>
200
+ <option value="2">Strip Tags</option>
201
+ <option value="3">UTF-8 Encode</option>
202
+ <option value="4">htmlentities</option>
203
+ <option value="5">Integer</option>
204
+ <option value="6">Price</option>
205
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
+ <option value="8">CDATA</option>
207
+ </select>
208
+ <i class="dashicons dashicons-editor-expand expandType"></i>
209
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="limit[]" class="wf_ps"/>
213
+ </td>
214
+ <td>
215
+ <i class="delRow dashicons dashicons-trash"></i>
216
+ </td>
217
+ </tr>
218
+ <tr>
219
+ <td>
220
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
+ </td>
222
+ <td>
223
+ <input type="text" name="mattributes[]" autocomplete="off" required
224
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Description"/>
225
+ </td>
226
+ <td>
227
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
228
+ </td>
229
+ <td>
230
+ <select name="type[]" class="attr_type wfnoempty">
231
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
232
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" required="required"
237
+ class="wf_validate_attr wf_attr wf_attributes">
238
+ <?php echo $product->attributeDropdown('description'); ?>
239
+ </select>
240
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
+ style=" display: none;"/>
242
+ </td>
243
+ <td>
244
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
+ </td>
246
+ <td>
247
+ <select name="output_type[][]" class="outputType wfnoempty">
248
+ <option value="1">Default</option>
249
+ <option value="2">Strip Tags</option>
250
+ <option value="3">UTF-8 Encode</option>
251
+ <option value="4">htmlentities</option>
252
+ <option value="5">Integer</option>
253
+ <option value="6">Price</option>
254
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
+ <option value="8">CDATA</option>
256
+ </select>
257
+ <i class="dashicons dashicons-editor-expand expandType"></i>
258
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
+ </td>
260
+ <td>
261
+ <input type="text" name="limit[]" class="wf_ps"/>
262
+ </td>
263
+ <td>
264
+ <i class="delRow dashicons dashicons-trash"></i>
265
+ </td>
266
+ </tr>
267
+ <tr>
268
+ <td>
269
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
+ </td>
271
+ <td>
272
+ <input type="text" name="mattributes[]" autocomplete="off" required
273
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Cover Image URL"/>
274
+ </td>
275
+ <td>
276
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
277
+ </td>
278
+ <td>
279
+ <select name="type[]" class="attr_type wfnoempty">
280
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
281
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" required="required"
286
+ class="wf_validate_attr wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown('image'); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
290
+ style=" display: none;"/>
291
+ </td>
292
+ <td>
293
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
294
+ </td>
295
+ <td>
296
+ <select name="output_type[][]" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td>
318
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
+ </td>
320
+ <td>
321
+ <input type="text" name="mattributes[]" autocomplete="off" required
322
+ class="wf_validate_attr wf_mattributes wf_mattr" value="Brand"/>
323
+ </td>
324
+ <td>
325
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
326
+ </td>
327
+ <td>
328
+ <select name="type[]" class="attr_type wfnoempty">
329
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
330
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
331
+ </select>
332
+ </td>
333
+ <td>
334
+ <select name="attributes[]" required="required" style=" display: none;"
335
+ class="wf_validate_attr wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown(''); ?>
337
+ </select>
338
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
339
+ />
340
+ </td>
341
+ <td>
342
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
+ </td>
344
+ <td>
345
+ <select name="output_type[][]" class="outputType wfnoempty">
346
+ <option value="1">Default</option>
347
+ <option value="2">Strip Tags</option>
348
+ <option value="3">UTF-8 Encode</option>
349
+ <option value="4">htmlentities</option>
350
+ <option value="5">Integer</option>
351
+ <option value="6">Price</option>
352
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
+ <option value="8">CDATA</option>
354
+ </select>
355
+ <i class="dashicons dashicons-editor-expand expandType"></i>
356
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
+ </td>
358
+ <td>
359
+ <input type="text" name="limit[]" class="wf_ps"/>
360
+ </td>
361
+ <td>
362
+ <i class="delRow dashicons dashicons-trash"></i>
363
+ </td>
364
+ </tr>
365
+ </tbody>
366
+ <tfoot>
367
+ <tr>
368
+ <td>
369
+ <button type="button" class="button-small button-primary" id="wf_newRow">
370
+ <?php _e('Add New Row', 'woo-feed'); ?>
371
+ </button>
372
+ </td>
373
+ <td colspan="8">
374
+
375
+ </td>
376
+ </tr>
377
+ </tfoot>
378
+ </table>
379
+ <table class=" widefat fixed">
380
+ <tr>
381
+ <td align="left" class="">
382
+ <div class="makeFeedResponse"></div>
383
+ <div class="makeFeedComplete"></div>
384
+ </td>
385
+ <td align="right">
386
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
387
+ </td>
388
+ </tr>
389
+ </table>
390
+ </div>
391
+ </li>
392
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
393
+
394
+ </ul>
admin/partials/templates/bonanza_add-feed.php CHANGED
@@ -1,1080 +1,1080 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="id"/>
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('id'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- <tr>
72
- <td>
73
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
- </td>
75
- <td>
76
- <input type="text" name="mattributes[]" autocomplete="off" required
77
- class="wf_validate_attr wf_mattributes wf_mattr" value="title"/>
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 _e('Attribute', 'woo-feed'); ?></option>
85
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
- </select>
87
- </td>
88
- <td>
89
- <select name="attributes[]" required="required"
90
- class="wf_validate_attr wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown('title'); ?>
92
- </select>
93
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
- style=" display: none;"/>
95
- </td>
96
- <td>
97
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
- </td>
99
- <td>
100
- <select name="output_type[][]" class="outputType wfnoempty">
101
- <option value="1">Default</option>
102
- <option value="2">Strip Tags</option>
103
- <option value="3">UTF-8 Encode</option>
104
- <option value="4">htmlentities</option>
105
- <option value="5">Integer</option>
106
- <option value="6">Price</option>
107
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
- <option value="8">CDATA</option>
109
- </select>
110
- <i class="dashicons dashicons-editor-expand expandType"></i>
111
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
- </td>
113
- <td>
114
- <input type="text" name="limit[]" class="wf_ps"/>
115
- </td>
116
- <td>
117
- <i class="delRow dashicons dashicons-trash"></i>
118
- </td>
119
- </tr>
120
- <tr>
121
- <td>
122
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
- </td>
124
- <td>
125
- <input type="text" name="mattributes[]" autocomplete="off" required
126
- class="wf_validate_attr wf_mattributes wf_mattr" value="description"/>
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 _e('Attribute', 'woo-feed'); ?></option>
134
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
- </select>
136
- </td>
137
- <td>
138
- <select name="attributes[]" required="required"
139
- class="wf_validate_attr wf_attr wf_attributes">
140
- <?php echo $product->attributeDropdown('description'); ?>
141
- </select>
142
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
- style=" display: none;"/>
144
- </td>
145
- <td>
146
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
- </td>
148
- <td>
149
- <select name="output_type[][]" class="outputType wfnoempty">
150
- <option value="1">Default</option>
151
- <option value="2">Strip Tags</option>
152
- <option value="3">UTF-8 Encode</option>
153
- <option value="4">htmlentities</option>
154
- <option value="5">Integer</option>
155
- <option value="6">Price</option>
156
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
- <option value="8">CDATA</option>
158
- </select>
159
- <i class="dashicons dashicons-editor-expand expandType"></i>
160
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
- </td>
162
- <td>
163
- <input type="text" name="limit[]" class="wf_ps"/>
164
- </td>
165
- <td>
166
- <i class="delRow dashicons dashicons-trash"></i>
167
- </td>
168
- </tr>
169
- <tr>
170
- <td>
171
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
- </td>
173
- <td>
174
- <input type="text" name="mattributes[]" autocomplete="off" required
175
- class="wf_validate_attr wf_mattributes wf_mattr" value="price"/>
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 _e('Attribute', 'woo-feed'); ?></option>
183
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
- </select>
185
- </td>
186
- <td>
187
- <select name="attributes[]" required="required"
188
- class="wf_validate_attr wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown('price'); ?>
190
- </select>
191
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
- style=" display: none;"/>
193
- </td>
194
- <td>
195
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
- </td>
197
- <td>
198
- <select name="output_type[][]" class="outputType wfnoempty">
199
- <option value="1">Default</option>
200
- <option value="2">Strip Tags</option>
201
- <option value="3">UTF-8 Encode</option>
202
- <option value="4">htmlentities</option>
203
- <option value="5">Integer</option>
204
- <option value="6">Price</option>
205
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
- <option value="8">CDATA</option>
207
- </select>
208
- <i class="dashicons dashicons-editor-expand expandType"></i>
209
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
- </td>
211
- <td>
212
- <input type="text" name="limit[]" class="wf_ps"/>
213
- </td>
214
- <td>
215
- <i class="delRow dashicons dashicons-trash"></i>
216
- </td>
217
- </tr>
218
- <tr>
219
- <td>
220
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
- </td>
222
- <td>
223
- <input type="text" name="mattributes[]" autocomplete="off" required
224
- class="wf_validate_attr wf_mattributes wf_mattr" value="images"/>
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 _e('Attribute', 'woo-feed'); ?></option>
232
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
- </select>
234
- </td>
235
- <td>
236
- <select name="attributes[]" required="required"
237
- class="wf_validate_attr wf_attr wf_attributes">
238
- <?php echo $product->attributeDropdown('image'); ?>
239
- </select>
240
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
- style=" display: none;"/>
242
- </td>
243
- <td>
244
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
- </td>
246
- <td>
247
- <select name="output_type[][]" class="outputType wfnoempty">
248
- <option value="1">Default</option>
249
- <option value="2">Strip Tags</option>
250
- <option value="3">UTF-8 Encode</option>
251
- <option value="4">htmlentities</option>
252
- <option value="5">Integer</option>
253
- <option value="6">Price</option>
254
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
- <option value="8">CDATA</option>
256
- </select>
257
- <i class="dashicons dashicons-editor-expand expandType"></i>
258
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
- </td>
260
- <td>
261
- <input type="text" name="limit[]" class="wf_ps"/>
262
- </td>
263
- <td>
264
- <i class="delRow dashicons dashicons-trash"></i>
265
- </td>
266
- </tr>
267
- <tr>
268
- <td>
269
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
- </td>
271
- <td>
272
- <input type="text" name="mattributes[]" autocomplete="off" required
273
- class="wf_validate_attr wf_mattributes wf_mattr" value="category"/>
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 _e('Attribute', 'woo-feed'); ?></option>
281
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
282
- </select>
283
- </td>
284
- <td>
285
- <select name="attributes[]" required="required" style=" display: none;"
286
- class="wf_validate_attr wf_attr wf_attributes">
287
- <?php echo $product->attributeDropdown(); ?>
288
- </select>
289
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
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[][]" class="outputType wfnoempty">
297
- <option value="1">Default</option>
298
- <option value="2">Strip Tags</option>
299
- <option value="3">UTF-8 Encode</option>
300
- <option value="4">htmlentities</option>
301
- <option value="5">Integer</option>
302
- <option value="6">Price</option>
303
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
- <option value="8">CDATA</option>
305
- </select>
306
- <i class="dashicons dashicons-editor-expand expandType"></i>
307
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
- </td>
309
- <td>
310
- <input type="text" name="limit[]" class="wf_ps"/>
311
- </td>
312
- <td>
313
- <i class="delRow dashicons dashicons-trash"></i>
314
- </td>
315
- </tr>
316
- <tr>
317
- <td>
318
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
- </td>
320
- <td>
321
- <input type="text" name="mattributes[]" autocomplete="off" required
322
- class="wf_validate_attr wf_mattributes wf_mattr" value="booth_category"/>
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 _e('Attribute', 'woo-feed'); ?></option>
330
- <option value="pattern" > <?php _e('Pattern', 'woo-feed'); ?></option>
331
- </select>
332
- </td>
333
- <td>
334
- <select name="attributes[]" required="required"
335
- class="wf_validate_attr wf_attr wf_attributes">
336
- <?php echo $product->attributeDropdown('product_type'); ?>
337
- </select>
338
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" style=" display: none;"
339
- />
340
- </td>
341
- <td>
342
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
- </td>
344
- <td>
345
- <select name="output_type[][]" class="outputType wfnoempty">
346
- <option value="1">Default</option>
347
- <option value="2">Strip Tags</option>
348
- <option value="3">UTF-8 Encode</option>
349
- <option value="4">htmlentities</option>
350
- <option value="5">Integer</option>
351
- <option value="6">Price</option>
352
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
- <option value="8">CDATA</option>
354
- </select>
355
- <i class="dashicons dashicons-editor-expand expandType"></i>
356
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
- </td>
358
- <td>
359
- <input type="text" name="limit[]" class="wf_ps"/>
360
- </td>
361
- <td>
362
- <i class="delRow dashicons dashicons-trash"></i>
363
- </td>
364
- </tr>
365
- <tr>
366
- <td>
367
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
368
- </td>
369
- <td>
370
- <input type="text" name="mattributes[]" autocomplete="off" required
371
- class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_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 _e('Attribute', 'woo-feed'); ?></option>
379
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
380
- </select>
381
- </td>
382
- <td>
383
- <select name="attributes[]" required="required" style=" display: none;"
384
- class="wf_validate_attr wf_attr wf_attributes">
385
- <?php echo $product->attributeDropdown(''); ?>
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[][]" class="outputType wfnoempty">
395
- <option value="1">Default</option>
396
- <option value="2">Strip Tags</option>
397
- <option value="3">UTF-8 Encode</option>
398
- <option value="4">htmlentities</option>
399
- <option value="5">Integer</option>
400
- <option value="6">Price</option>
401
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
- <option value="8">CDATA</option>
403
- </select>
404
- <i class="dashicons dashicons-editor-expand expandType"></i>
405
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
- </td>
407
- <td>
408
- <input type="text" name="limit[]" class="wf_ps"/>
409
- </td>
410
- <td>
411
- <i class="delRow dashicons dashicons-trash"></i>
412
- </td>
413
- </tr>
414
- <tr>
415
- <td>
416
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
- </td>
418
- <td>
419
- <input type="text" name="mattributes[]" autocomplete="off" required
420
- class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_type"/>
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 _e('Attribute', 'woo-feed'); ?></option>
428
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
429
- </select>
430
- </td>
431
- <td>
432
- <select name="attributes[]" required="required" 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
- />
438
- </td>
439
- <td>
440
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
- </td>
442
- <td>
443
- <select name="output_type[][]" class="outputType wfnoempty">
444
- <option value="1">Default</option>
445
- <option value="2">Strip Tags</option>
446
- <option value="3">UTF-8 Encode</option>
447
- <option value="4">htmlentities</option>
448
- <option value="5">Integer</option>
449
- <option value="6">Price</option>
450
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
- <option value="8">CDATA</option>
452
- </select>
453
- <i class="dashicons dashicons-editor-expand expandType"></i>
454
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
- </td>
456
- <td>
457
- <input type="text" name="limit[]" class="wf_ps"/>
458
- </td>
459
- <td>
460
- <i class="delRow dashicons dashicons-trash"></i>
461
- </td>
462
- </tr>
463
- <tr>
464
- <td>
465
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
- </td>
467
- <td>
468
- <input type="text" name="mattributes[]" autocomplete="off" required
469
- class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_service"/>
470
- </td>
471
- <td>
472
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
473
- </td>
474
- <td>
475
- <select name="type[]" class="attr_type wfnoempty">
476
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
477
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
478
- </select>
479
- </td>
480
- <td>
481
- <select name="attributes[]" required="required" style=" display: none;"
482
- class="wf_validate_attr wf_attr wf_attributes">
483
- <?php echo $product->attributeDropdown(''); ?>
484
- </select>
485
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
- />
487
- </td>
488
- <td>
489
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
- </td>
491
- <td>
492
- <select name="output_type[][]" class="outputType wfnoempty">
493
- <option value="1">Default</option>
494
- <option value="2">Strip Tags</option>
495
- <option value="3">UTF-8 Encode</option>
496
- <option value="4">htmlentities</option>
497
- <option value="5">Integer</option>
498
- <option value="6">Price</option>
499
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
- <option value="8">CDATA</option>
501
- </select>
502
- <i class="dashicons dashicons-editor-expand expandType"></i>
503
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
- </td>
505
- <td>
506
- <input type="text" name="limit[]" class="wf_ps"/>
507
- </td>
508
- <td>
509
- <i class="delRow dashicons dashicons-trash"></i>
510
- </td>
511
- </tr>
512
- <tr>
513
- <td>
514
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
- </td>
516
- <td>
517
- <input type="text" name="mattributes[]" autocomplete="off" required
518
- class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_lbs"/>
519
- </td>
520
- <td>
521
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
522
- </td>
523
- <td>
524
- <select name="type[]" class="attr_type wfnoempty">
525
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
526
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
527
- </select>
528
- </td>
529
- <td>
530
- <select name="attributes[]" required="required" style=" display: none;"
531
- class="wf_validate_attr wf_attr wf_attributes">
532
- <?php echo $product->attributeDropdown(''); ?>
533
- </select>
534
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
- />
536
- </td>
537
- <td>
538
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
539
- </td>
540
- <td>
541
- <select name="output_type[][]" class="outputType wfnoempty">
542
- <option value="1">Default</option>
543
- <option value="2">Strip Tags</option>
544
- <option value="3">UTF-8 Encode</option>
545
- <option value="4">htmlentities</option>
546
- <option value="5">Integer</option>
547
- <option value="6">Price</option>
548
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
- <option value="8">CDATA</option>
550
- </select>
551
- <i class="dashicons dashicons-editor-expand expandType"></i>
552
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
- </td>
554
- <td>
555
- <input type="text" name="limit[]" class="wf_ps"/>
556
- </td>
557
- <td>
558
- <i class="delRow dashicons dashicons-trash"></i>
559
- </td>
560
- </tr>
561
- <tr>
562
- <td>
563
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
564
- </td>
565
- <td>
566
- <input type="text" name="mattributes[]" autocomplete="off" required
567
- class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_oz"/>
568
- </td>
569
- <td>
570
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
571
- </td>
572
- <td>
573
- <select name="type[]" class="attr_type wfnoempty">
574
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
575
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
576
- </select>
577
- </td>
578
- <td>
579
- <select name="attributes[]" required="required" style=" display: none;"
580
- class="wf_validate_attr wf_attr wf_attributes">
581
- <?php echo $product->attributeDropdown(''); ?>
582
- </select>
583
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
584
- />
585
- </td>
586
- <td>
587
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
588
- </td>
589
- <td>
590
- <select name="output_type[][]" class="outputType wfnoempty">
591
- <option value="1">Default</option>
592
- <option value="2">Strip Tags</option>
593
- <option value="3">UTF-8 Encode</option>
594
- <option value="4">htmlentities</option>
595
- <option value="5">Integer</option>
596
- <option value="6">Price</option>
597
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
598
- <option value="8">CDATA</option>
599
- </select>
600
- <i class="dashicons dashicons-editor-expand expandType"></i>
601
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
602
- </td>
603
- <td>
604
- <input type="text" name="limit[]" class="wf_ps"/>
605
- </td>
606
- <td>
607
- <i class="delRow dashicons dashicons-trash"></i>
608
- </td>
609
- </tr>
610
- <tr>
611
- <td>
612
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
613
- </td>
614
- <td>
615
- <input type="text" name="mattributes[]" autocomplete="off" required
616
- class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_carrier"/>
617
- </td>
618
- <td>
619
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
620
- </td>
621
- <td>
622
- <select name="type[]" class="attr_type wfnoempty">
623
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
624
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
625
- </select>
626
- </td>
627
- <td>
628
- <select name="attributes[]" required="required" style=" display: none;"
629
- class="wf_validate_attr wf_attr wf_attributes">
630
- <?php echo $product->attributeDropdown(''); ?>
631
- </select>
632
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
633
- />
634
- </td>
635
- <td>
636
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
637
- </td>
638
- <td>
639
- <select name="output_type[][]" class="outputType wfnoempty">
640
- <option value="1">Default</option>
641
- <option value="2">Strip Tags</option>
642
- <option value="3">UTF-8 Encode</option>
643
- <option value="4">htmlentities</option>
644
- <option value="5">Integer</option>
645
- <option value="6">Price</option>
646
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
647
- <option value="8">CDATA</option>
648
- </select>
649
- <i class="dashicons dashicons-editor-expand expandType"></i>
650
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
651
- </td>
652
- <td>
653
- <input type="text" name="limit[]" class="wf_ps"/>
654
- </td>
655
- <td>
656
- <i class="delRow dashicons dashicons-trash"></i>
657
- </td>
658
- </tr>
659
- <tr>
660
- <td>
661
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
662
- </td>
663
- <td>
664
- <input type="text" name="mattributes[]" autocomplete="off" required
665
- class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_package"/>
666
- </td>
667
- <td>
668
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
669
- </td>
670
- <td>
671
- <select name="type[]" class="attr_type wfnoempty">
672
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
673
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
674
- </select>
675
- </td>
676
- <td>
677
- <select name="attributes[]" required="required" style=" display: none;"
678
- class="wf_validate_attr wf_attr wf_attributes">
679
- <?php echo $product->attributeDropdown(''); ?>
680
- </select>
681
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
682
- />
683
- </td>
684
- <td>
685
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
686
- </td>
687
- <td>
688
- <select name="output_type[][]" class="outputType wfnoempty">
689
- <option value="1">Default</option>
690
- <option value="2">Strip Tags</option>
691
- <option value="3">UTF-8 Encode</option>
692
- <option value="4">htmlentities</option>
693
- <option value="5">Integer</option>
694
- <option value="6">Price</option>
695
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
696
- <option value="8">CDATA</option>
697
- </select>
698
- <i class="dashicons dashicons-editor-expand expandType"></i>
699
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
700
- </td>
701
- <td>
702
- <input type="text" name="limit[]" class="wf_ps"/>
703
- </td>
704
- <td>
705
- <i class="delRow dashicons dashicons-trash"></i>
706
- </td>
707
- </tr>
708
- <tr>
709
- <td>
710
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
711
- </td>
712
- <td>
713
- <input type="text" name="mattributes[]" autocomplete="off" required
714
- class="wf_validate_attr wf_mattributes wf_mattr" value="sku"/>
715
- </td>
716
- <td>
717
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
718
- </td>
719
- <td>
720
- <select name="type[]" class="attr_type wfnoempty">
721
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
722
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
723
- </select>
724
- </td>
725
- <td>
726
- <select name="attributes[]" required="required"
727
- class="wf_validate_attr wf_attr wf_attributes">
728
- <?php echo $product->attributeDropdown('sku'); ?>
729
- </select>
730
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
731
- style=" display: none;"/>
732
- </td>
733
- <td>
734
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
735
- </td>
736
- <td>
737
- <select name="output_type[][]" class="outputType wfnoempty">
738
- <option value="1">Default</option>
739
- <option value="2">Strip Tags</option>
740
- <option value="3">UTF-8 Encode</option>
741
- <option value="4">htmlentities</option>
742
- <option value="5">Integer</option>
743
- <option value="6">Price</option>
744
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
745
- <option value="8">CDATA</option>
746
- </select>
747
- <i class="dashicons dashicons-editor-expand expandType"></i>
748
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
749
- </td>
750
- <td>
751
- <input type="text" name="limit[]" class="wf_ps"/>
752
- </td>
753
- <td>
754
- <i class="delRow dashicons dashicons-trash"></i>
755
- </td>
756
- </tr>
757
- <tr>
758
- <td>
759
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
760
- </td>
761
- <td>
762
- <input type="text" name="mattributes[]" autocomplete="off" required
763
- class="wf_validate_attr wf_mattributes wf_mattr" value="worldwide_shipping_price"/>
764
- </td>
765
- <td>
766
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
767
- </td>
768
- <td>
769
- <select name="type[]" class="attr_type wfnoempty">
770
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
771
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
772
- </select>
773
- </td>
774
- <td>
775
- <select name="attributes[]" required="required" style=" display: none;"
776
- class="wf_validate_attr wf_attr wf_attributes">
777
- <?php echo $product->attributeDropdown(); ?>
778
- </select>
779
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
780
- />
781
- </td>
782
- <td>
783
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
784
- </td>
785
- <td>
786
- <select name="output_type[][]" class="outputType wfnoempty">
787
- <option value="1">Default</option>
788
- <option value="2">Strip Tags</option>
789
- <option value="3">UTF-8 Encode</option>
790
- <option value="4">htmlentities</option>
791
- <option value="5">Integer</option>
792
- <option value="6">Price</option>
793
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
794
- <option value="8">CDATA</option>
795
- </select>
796
- <i class="dashicons dashicons-editor-expand expandType"></i>
797
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
798
- </td>
799
- <td>
800
- <input type="text" name="limit[]" class="wf_ps"/>
801
- </td>
802
- <td>
803
- <i class="delRow dashicons dashicons-trash"></i>
804
- </td>
805
- </tr>
806
- <tr>
807
- <td>
808
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
809
- </td>
810
- <td>
811
- <input type="text" name="mattributes[]" autocomplete="off" required
812
- class="wf_validate_attr wf_mattributes wf_mattr" value="worldwide_shipping_type"/>
813
- </td>
814
- <td>
815
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
816
- </td>
817
- <td>
818
- <select name="type[]" class="attr_type wfnoempty">
819
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
820
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
821
- </select>
822
- </td>
823
- <td>
824
- <select name="attributes[]" required="required" style=" display: none;"
825
- class="wf_validate_attr wf_attr wf_attributes">
826
- <?php echo $product->attributeDropdown(); ?>
827
- </select>
828
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
829
- />
830
- </td>
831
- <td>
832
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
833
- </td>
834
- <td>
835
- <select name="output_type[][]" class="outputType wfnoempty">
836
- <option value="1">Default</option>
837
- <option value="2">Strip Tags</option>
838
- <option value="3">UTF-8 Encode</option>
839
- <option value="4">htmlentities</option>
840
- <option value="5">Integer</option>
841
- <option value="6">Price</option>
842
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
843
- <option value="8">CDATA</option>
844
- </select>
845
- <i class="dashicons dashicons-editor-expand expandType"></i>
846
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
847
- </td>
848
- <td>
849
- <input type="text" name="limit[]" class="wf_ps"/>
850
- </td>
851
- <td>
852
- <i class="delRow dashicons dashicons-trash"></i>
853
- </td>
854
- </tr>
855
- <tr>
856
- <td>
857
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
858
- </td>
859
- <td>
860
- <input type="text" name="mattributes[]" autocomplete="off" required
861
- class="wf_validate_attr wf_mattributes wf_mattr" value="worldwide_shipping_carrier"/>
862
- </td>
863
- <td>
864
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
865
- </td>
866
- <td>
867
- <select name="type[]" class="attr_type wfnoempty">
868
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
869
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
870
- </select>
871
- </td>
872
- <td>
873
- <select name="attributes[]" required="required" style=" display: none;"
874
- class="wf_validate_attr wf_attr wf_attributes">
875
- <?php echo $product->attributeDropdown(); ?>
876
- </select>
877
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
878
- />
879
- </td>
880
- <td>
881
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
882
- </td>
883
- <td>
884
- <select name="output_type[][]" class="outputType wfnoempty">
885
- <option value="1">Default</option>
886
- <option value="2">Strip Tags</option>
887
- <option value="3">UTF-8 Encode</option>
888
- <option value="4">htmlentities</option>
889
- <option value="5">Integer</option>
890
- <option value="6">Price</option>
891
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
892
- <option value="8">CDATA</option>
893
- </select>
894
- <i class="dashicons dashicons-editor-expand expandType"></i>
895
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
896
- </td>
897
- <td>
898
- <input type="text" name="limit[]" class="wf_ps"/>
899
- </td>
900
- <td>
901
- <i class="delRow dashicons dashicons-trash"></i>
902
- </td>
903
- </tr>
904
- <tr>
905
- <td>
906
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
907
- </td>
908
- <td>
909
- <input type="text" name="mattributes[]" autocomplete="off" required
910
- class="wf_validate_attr wf_mattributes wf_mattr" value="quantity"/>
911
- </td>
912
- <td>
913
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
914
- </td>
915
- <td>
916
- <select name="type[]" class="attr_type wfnoempty">
917
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
918
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
919
- </select>
920
- </td>
921
- <td>
922
- <select name="attributes[]" required="required"
923
- class="wf_validate_attr wf_attr wf_attributes">
924
- <?php echo $product->attributeDropdown('quantity'); ?>
925
- </select>
926
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
927
- style=" display: none;"/>
928
- </td>
929
- <td>
930
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
931
- </td>
932
- <td>
933
- <select name="output_type[][]" class="outputType wfnoempty">
934
- <option value="1">Default</option>
935
- <option value="2">Strip Tags</option>
936
- <option value="3">UTF-8 Encode</option>
937
- <option value="4">htmlentities</option>
938
- <option value="5">Integer</option>
939
- <option value="6">Price</option>
940
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
941
- <option value="8">CDATA</option>
942
- </select>
943
- <i class="dashicons dashicons-editor-expand expandType"></i>
944
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
945
- </td>
946
- <td>
947
- <input type="text" name="limit[]" class="wf_ps"/>
948
- </td>
949
- <td>
950
- <i class="delRow dashicons dashicons-trash"></i>
951
- </td>
952
- </tr>
953
- <tr>
954
- <td>
955
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
956
- </td>
957
- <td>
958
- <input type="text" name="mattributes[]" autocomplete="off" required
959
- class="wf_validate_attr wf_mattributes wf_mattr" value="trait"/>
960
- </td>
961
- <td>
962
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
963
- </td>
964
- <td>
965
- <select name="type[]" class="attr_type wfnoempty">
966
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
967
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
968
- </select>
969
- </td>
970
- <td>
971
- <select name="attributes[]" required="required" style=" display: none;"
972
- class="wf_validate_attr wf_attr wf_attributes">
973
- <?php echo $product->attributeDropdown(); ?>
974
- </select>
975
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
976
- />
977
- </td>
978
- <td>
979
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
980
- </td>
981
- <td>
982
- <select name="output_type[][]" class="outputType wfnoempty">
983
- <option value="1">Default</option>
984
- <option value="2">Strip Tags</option>
985
- <option value="3">UTF-8 Encode</option>
986
- <option value="4">htmlentities</option>
987
- <option value="5">Integer</option>
988
- <option value="6">Price</option>
989
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
990
- <option value="8">CDATA</option>
991
- </select>
992
- <i class="dashicons dashicons-editor-expand expandType"></i>
993
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
994
- </td>
995
- <td>
996
- <input type="text" name="limit[]" class="wf_ps"/>
997
- </td>
998
- <td>
999
- <i class="delRow dashicons dashicons-trash"></i>
1000
- </td>
1001
- </tr>
1002
- <tr>
1003
- <td>
1004
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
1005
- </td>
1006
- <td>
1007
- <input type="text" name="mattributes[]" autocomplete="off" required
1008
- class="wf_validate_attr wf_mattributes wf_mattr" value="force_update"/>
1009
- </td>
1010
- <td>
1011
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
1012
- </td>
1013
- <td>
1014
- <select name="type[]" class="attr_type wfnoempty">
1015
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
1016
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
1017
- </select>
1018
- </td>
1019
- <td>
1020
- <select name="attributes[]" required="required" style=" display: none;"
1021
- class="wf_validate_attr wf_attr wf_attributes">
1022
- <?php echo $product->attributeDropdown(); ?>
1023
- </select>
1024
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
1025
- />
1026
- </td>
1027
- <td>
1028
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
1029
- </td>
1030
- <td>
1031
- <select name="output_type[][]" class="outputType wfnoempty">
1032
- <option value="1">Default</option>
1033
- <option value="2">Strip Tags</option>
1034
- <option value="3">UTF-8 Encode</option>
1035
- <option value="4">htmlentities</option>
1036
- <option value="5">Integer</option>
1037
- <option value="6">Price</option>
1038
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
1039
- <option value="8">CDATA</option>
1040
- </select>
1041
- <i class="dashicons dashicons-editor-expand expandType"></i>
1042
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
1043
- </td>
1044
- <td>
1045
- <input type="text" name="limit[]" class="wf_ps"/>
1046
- </td>
1047
- <td>
1048
- <i class="delRow dashicons dashicons-trash"></i>
1049
- </td>
1050
- </tr>
1051
- </tbody>
1052
- <tfoot>
1053
- <tr>
1054
- <td>
1055
- <button type="button" class="button-small button-primary" id="wf_newRow">
1056
- <?php _e('Add New Row', 'woo-feed'); ?>
1057
- </button>
1058
- </td>
1059
- <td colspan="8">
1060
-
1061
- </td>
1062
- </tr>
1063
- </tfoot>
1064
- </table>
1065
- <table class=" widefat fixed">
1066
- <tr>
1067
- <td align="left" class="">
1068
- <div class="makeFeedResponse"></div>
1069
- <div class="makeFeedComplete"></div>
1070
- </td>
1071
- <td align="right">
1072
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
1073
- </td>
1074
- </tr>
1075
- </table>
1076
- </div>
1077
- </li>
1078
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
1079
-
1080
  </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr" value="id"/>
29
+ </td>
30
+ <td>
31
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
+ </td>
33
+ <td>
34
+ <select name="type[]" class="attr_type wfnoempty">
35
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('id'); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ <tr>
72
+ <td>
73
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
+ </td>
75
+ <td>
76
+ <input type="text" name="mattributes[]" autocomplete="off" required
77
+ class="wf_validate_attr wf_mattributes wf_mattr" value="title"/>
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 _e('Attribute', 'woo-feed'); ?></option>
85
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" required="required"
90
+ class="wf_validate_attr wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('title'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" class="outputType wfnoempty">
101
+ <option value="1">Default</option>
102
+ <option value="2">Strip Tags</option>
103
+ <option value="3">UTF-8 Encode</option>
104
+ <option value="4">htmlentities</option>
105
+ <option value="5">Integer</option>
106
+ <option value="6">Price</option>
107
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
+ <option value="8">CDATA</option>
109
+ </select>
110
+ <i class="dashicons dashicons-editor-expand expandType"></i>
111
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
+ </td>
113
+ <td>
114
+ <input type="text" name="limit[]" class="wf_ps"/>
115
+ </td>
116
+ <td>
117
+ <i class="delRow dashicons dashicons-trash"></i>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
+ </td>
124
+ <td>
125
+ <input type="text" name="mattributes[]" autocomplete="off" required
126
+ class="wf_validate_attr wf_mattributes wf_mattr" value="description"/>
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 _e('Attribute', 'woo-feed'); ?></option>
134
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" required="required"
139
+ class="wf_validate_attr wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown('description'); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" class="wf_ps"/>
164
+ </td>
165
+ <td>
166
+ <i class="delRow dashicons dashicons-trash"></i>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td>
171
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
+ </td>
173
+ <td>
174
+ <input type="text" name="mattributes[]" autocomplete="off" required
175
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price"/>
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 _e('Attribute', 'woo-feed'); ?></option>
183
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" required="required"
188
+ class="wf_validate_attr wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('price'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" class="outputType wfnoempty">
199
+ <option value="1">Default</option>
200
+ <option value="2">Strip Tags</option>
201
+ <option value="3">UTF-8 Encode</option>
202
+ <option value="4">htmlentities</option>
203
+ <option value="5">Integer</option>
204
+ <option value="6">Price</option>
205
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
+ <option value="8">CDATA</option>
207
+ </select>
208
+ <i class="dashicons dashicons-editor-expand expandType"></i>
209
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="limit[]" class="wf_ps"/>
213
+ </td>
214
+ <td>
215
+ <i class="delRow dashicons dashicons-trash"></i>
216
+ </td>
217
+ </tr>
218
+ <tr>
219
+ <td>
220
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
+ </td>
222
+ <td>
223
+ <input type="text" name="mattributes[]" autocomplete="off" required
224
+ class="wf_validate_attr wf_mattributes wf_mattr" value="images"/>
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 _e('Attribute', 'woo-feed'); ?></option>
232
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" required="required"
237
+ class="wf_validate_attr wf_attr wf_attributes">
238
+ <?php echo $product->attributeDropdown('image'); ?>
239
+ </select>
240
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
+ style=" display: none;"/>
242
+ </td>
243
+ <td>
244
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
+ </td>
246
+ <td>
247
+ <select name="output_type[][]" class="outputType wfnoempty">
248
+ <option value="1">Default</option>
249
+ <option value="2">Strip Tags</option>
250
+ <option value="3">UTF-8 Encode</option>
251
+ <option value="4">htmlentities</option>
252
+ <option value="5">Integer</option>
253
+ <option value="6">Price</option>
254
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
+ <option value="8">CDATA</option>
256
+ </select>
257
+ <i class="dashicons dashicons-editor-expand expandType"></i>
258
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
+ </td>
260
+ <td>
261
+ <input type="text" name="limit[]" class="wf_ps"/>
262
+ </td>
263
+ <td>
264
+ <i class="delRow dashicons dashicons-trash"></i>
265
+ </td>
266
+ </tr>
267
+ <tr>
268
+ <td>
269
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
+ </td>
271
+ <td>
272
+ <input type="text" name="mattributes[]" autocomplete="off" required
273
+ class="wf_validate_attr wf_mattributes wf_mattr" value="category"/>
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 _e('Attribute', 'woo-feed'); ?></option>
281
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" required="required" style=" display: none;"
286
+ class="wf_validate_attr wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown(); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
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[][]" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td>
318
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
+ </td>
320
+ <td>
321
+ <input type="text" name="mattributes[]" autocomplete="off" required
322
+ class="wf_validate_attr wf_mattributes wf_mattr" value="booth_category"/>
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 _e('Attribute', 'woo-feed'); ?></option>
330
+ <option value="pattern" > <?php _e('Pattern', 'woo-feed'); ?></option>
331
+ </select>
332
+ </td>
333
+ <td>
334
+ <select name="attributes[]" required="required"
335
+ class="wf_validate_attr wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown('product_type'); ?>
337
+ </select>
338
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes" style=" display: none;"
339
+ />
340
+ </td>
341
+ <td>
342
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
+ </td>
344
+ <td>
345
+ <select name="output_type[][]" class="outputType wfnoempty">
346
+ <option value="1">Default</option>
347
+ <option value="2">Strip Tags</option>
348
+ <option value="3">UTF-8 Encode</option>
349
+ <option value="4">htmlentities</option>
350
+ <option value="5">Integer</option>
351
+ <option value="6">Price</option>
352
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
+ <option value="8">CDATA</option>
354
+ </select>
355
+ <i class="dashicons dashicons-editor-expand expandType"></i>
356
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
+ </td>
358
+ <td>
359
+ <input type="text" name="limit[]" class="wf_ps"/>
360
+ </td>
361
+ <td>
362
+ <i class="delRow dashicons dashicons-trash"></i>
363
+ </td>
364
+ </tr>
365
+ <tr>
366
+ <td>
367
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
368
+ </td>
369
+ <td>
370
+ <input type="text" name="mattributes[]" autocomplete="off" required
371
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_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 _e('Attribute', 'woo-feed'); ?></option>
379
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
380
+ </select>
381
+ </td>
382
+ <td>
383
+ <select name="attributes[]" required="required" style=" display: none;"
384
+ class="wf_validate_attr wf_attr wf_attributes">
385
+ <?php echo $product->attributeDropdown(''); ?>
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[][]" class="outputType wfnoempty">
395
+ <option value="1">Default</option>
396
+ <option value="2">Strip Tags</option>
397
+ <option value="3">UTF-8 Encode</option>
398
+ <option value="4">htmlentities</option>
399
+ <option value="5">Integer</option>
400
+ <option value="6">Price</option>
401
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
+ <option value="8">CDATA</option>
403
+ </select>
404
+ <i class="dashicons dashicons-editor-expand expandType"></i>
405
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
+ </td>
407
+ <td>
408
+ <input type="text" name="limit[]" class="wf_ps"/>
409
+ </td>
410
+ <td>
411
+ <i class="delRow dashicons dashicons-trash"></i>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td>
416
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
+ </td>
418
+ <td>
419
+ <input type="text" name="mattributes[]" autocomplete="off" required
420
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_type"/>
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 _e('Attribute', 'woo-feed'); ?></option>
428
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
429
+ </select>
430
+ </td>
431
+ <td>
432
+ <select name="attributes[]" required="required" 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
+ />
438
+ </td>
439
+ <td>
440
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
+ </td>
442
+ <td>
443
+ <select name="output_type[][]" class="outputType wfnoempty">
444
+ <option value="1">Default</option>
445
+ <option value="2">Strip Tags</option>
446
+ <option value="3">UTF-8 Encode</option>
447
+ <option value="4">htmlentities</option>
448
+ <option value="5">Integer</option>
449
+ <option value="6">Price</option>
450
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
+ <option value="8">CDATA</option>
452
+ </select>
453
+ <i class="dashicons dashicons-editor-expand expandType"></i>
454
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
+ </td>
456
+ <td>
457
+ <input type="text" name="limit[]" class="wf_ps"/>
458
+ </td>
459
+ <td>
460
+ <i class="delRow dashicons dashicons-trash"></i>
461
+ </td>
462
+ </tr>
463
+ <tr>
464
+ <td>
465
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
+ </td>
467
+ <td>
468
+ <input type="text" name="mattributes[]" autocomplete="off" required
469
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_service"/>
470
+ </td>
471
+ <td>
472
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
473
+ </td>
474
+ <td>
475
+ <select name="type[]" class="attr_type wfnoempty">
476
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
477
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
478
+ </select>
479
+ </td>
480
+ <td>
481
+ <select name="attributes[]" required="required" style=" display: none;"
482
+ class="wf_validate_attr wf_attr wf_attributes">
483
+ <?php echo $product->attributeDropdown(''); ?>
484
+ </select>
485
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
+ />
487
+ </td>
488
+ <td>
489
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
+ </td>
491
+ <td>
492
+ <select name="output_type[][]" class="outputType wfnoempty">
493
+ <option value="1">Default</option>
494
+ <option value="2">Strip Tags</option>
495
+ <option value="3">UTF-8 Encode</option>
496
+ <option value="4">htmlentities</option>
497
+ <option value="5">Integer</option>
498
+ <option value="6">Price</option>
499
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
+ <option value="8">CDATA</option>
501
+ </select>
502
+ <i class="dashicons dashicons-editor-expand expandType"></i>
503
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
+ </td>
505
+ <td>
506
+ <input type="text" name="limit[]" class="wf_ps"/>
507
+ </td>
508
+ <td>
509
+ <i class="delRow dashicons dashicons-trash"></i>
510
+ </td>
511
+ </tr>
512
+ <tr>
513
+ <td>
514
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
+ </td>
516
+ <td>
517
+ <input type="text" name="mattributes[]" autocomplete="off" required
518
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_lbs"/>
519
+ </td>
520
+ <td>
521
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
522
+ </td>
523
+ <td>
524
+ <select name="type[]" class="attr_type wfnoempty">
525
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
526
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
527
+ </select>
528
+ </td>
529
+ <td>
530
+ <select name="attributes[]" required="required" style=" display: none;"
531
+ class="wf_validate_attr wf_attr wf_attributes">
532
+ <?php echo $product->attributeDropdown(''); ?>
533
+ </select>
534
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
+ />
536
+ </td>
537
+ <td>
538
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
539
+ </td>
540
+ <td>
541
+ <select name="output_type[][]" class="outputType wfnoempty">
542
+ <option value="1">Default</option>
543
+ <option value="2">Strip Tags</option>
544
+ <option value="3">UTF-8 Encode</option>
545
+ <option value="4">htmlentities</option>
546
+ <option value="5">Integer</option>
547
+ <option value="6">Price</option>
548
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
+ <option value="8">CDATA</option>
550
+ </select>
551
+ <i class="dashicons dashicons-editor-expand expandType"></i>
552
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
+ </td>
554
+ <td>
555
+ <input type="text" name="limit[]" class="wf_ps"/>
556
+ </td>
557
+ <td>
558
+ <i class="delRow dashicons dashicons-trash"></i>
559
+ </td>
560
+ </tr>
561
+ <tr>
562
+ <td>
563
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
564
+ </td>
565
+ <td>
566
+ <input type="text" name="mattributes[]" autocomplete="off" required
567
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_oz"/>
568
+ </td>
569
+ <td>
570
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
571
+ </td>
572
+ <td>
573
+ <select name="type[]" class="attr_type wfnoempty">
574
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
575
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
576
+ </select>
577
+ </td>
578
+ <td>
579
+ <select name="attributes[]" required="required" style=" display: none;"
580
+ class="wf_validate_attr wf_attr wf_attributes">
581
+ <?php echo $product->attributeDropdown(''); ?>
582
+ </select>
583
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
584
+ />
585
+ </td>
586
+ <td>
587
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
588
+ </td>
589
+ <td>
590
+ <select name="output_type[][]" class="outputType wfnoempty">
591
+ <option value="1">Default</option>
592
+ <option value="2">Strip Tags</option>
593
+ <option value="3">UTF-8 Encode</option>
594
+ <option value="4">htmlentities</option>
595
+ <option value="5">Integer</option>
596
+ <option value="6">Price</option>
597
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
598
+ <option value="8">CDATA</option>
599
+ </select>
600
+ <i class="dashicons dashicons-editor-expand expandType"></i>
601
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
602
+ </td>
603
+ <td>
604
+ <input type="text" name="limit[]" class="wf_ps"/>
605
+ </td>
606
+ <td>
607
+ <i class="delRow dashicons dashicons-trash"></i>
608
+ </td>
609
+ </tr>
610
+ <tr>
611
+ <td>
612
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
613
+ </td>
614
+ <td>
615
+ <input type="text" name="mattributes[]" autocomplete="off" required
616
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_carrier"/>
617
+ </td>
618
+ <td>
619
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
620
+ </td>
621
+ <td>
622
+ <select name="type[]" class="attr_type wfnoempty">
623
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
624
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
625
+ </select>
626
+ </td>
627
+ <td>
628
+ <select name="attributes[]" required="required" style=" display: none;"
629
+ class="wf_validate_attr wf_attr wf_attributes">
630
+ <?php echo $product->attributeDropdown(''); ?>
631
+ </select>
632
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
633
+ />
634
+ </td>
635
+ <td>
636
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
637
+ </td>
638
+ <td>
639
+ <select name="output_type[][]" class="outputType wfnoempty">
640
+ <option value="1">Default</option>
641
+ <option value="2">Strip Tags</option>
642
+ <option value="3">UTF-8 Encode</option>
643
+ <option value="4">htmlentities</option>
644
+ <option value="5">Integer</option>
645
+ <option value="6">Price</option>
646
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
647
+ <option value="8">CDATA</option>
648
+ </select>
649
+ <i class="dashicons dashicons-editor-expand expandType"></i>
650
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
651
+ </td>
652
+ <td>
653
+ <input type="text" name="limit[]" class="wf_ps"/>
654
+ </td>
655
+ <td>
656
+ <i class="delRow dashicons dashicons-trash"></i>
657
+ </td>
658
+ </tr>
659
+ <tr>
660
+ <td>
661
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
662
+ </td>
663
+ <td>
664
+ <input type="text" name="mattributes[]" autocomplete="off" required
665
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shipping_package"/>
666
+ </td>
667
+ <td>
668
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
669
+ </td>
670
+ <td>
671
+ <select name="type[]" class="attr_type wfnoempty">
672
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
673
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
674
+ </select>
675
+ </td>
676
+ <td>
677
+ <select name="attributes[]" required="required" style=" display: none;"
678
+ class="wf_validate_attr wf_attr wf_attributes">
679
+ <?php echo $product->attributeDropdown(''); ?>
680
+ </select>
681
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
682
+ />
683
+ </td>
684
+ <td>
685
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
686
+ </td>
687
+ <td>
688
+ <select name="output_type[][]" class="outputType wfnoempty">
689
+ <option value="1">Default</option>
690
+ <option value="2">Strip Tags</option>
691
+ <option value="3">UTF-8 Encode</option>
692
+ <option value="4">htmlentities</option>
693
+ <option value="5">Integer</option>
694
+ <option value="6">Price</option>
695
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
696
+ <option value="8">CDATA</option>
697
+ </select>
698
+ <i class="dashicons dashicons-editor-expand expandType"></i>
699
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
700
+ </td>
701
+ <td>
702
+ <input type="text" name="limit[]" class="wf_ps"/>
703
+ </td>
704
+ <td>
705
+ <i class="delRow dashicons dashicons-trash"></i>
706
+ </td>
707
+ </tr>
708
+ <tr>
709
+ <td>
710
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
711
+ </td>
712
+ <td>
713
+ <input type="text" name="mattributes[]" autocomplete="off" required
714
+ class="wf_validate_attr wf_mattributes wf_mattr" value="sku"/>
715
+ </td>
716
+ <td>
717
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
718
+ </td>
719
+ <td>
720
+ <select name="type[]" class="attr_type wfnoempty">
721
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
722
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
723
+ </select>
724
+ </td>
725
+ <td>
726
+ <select name="attributes[]" required="required"
727
+ class="wf_validate_attr wf_attr wf_attributes">
728
+ <?php echo $product->attributeDropdown('sku'); ?>
729
+ </select>
730
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
731
+ style=" display: none;"/>
732
+ </td>
733
+ <td>
734
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
735
+ </td>
736
+ <td>
737
+ <select name="output_type[][]" class="outputType wfnoempty">
738
+ <option value="1">Default</option>
739
+ <option value="2">Strip Tags</option>
740
+ <option value="3">UTF-8 Encode</option>
741
+ <option value="4">htmlentities</option>
742
+ <option value="5">Integer</option>
743
+ <option value="6">Price</option>
744
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
745
+ <option value="8">CDATA</option>
746
+ </select>
747
+ <i class="dashicons dashicons-editor-expand expandType"></i>
748
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
749
+ </td>
750
+ <td>
751
+ <input type="text" name="limit[]" class="wf_ps"/>
752
+ </td>
753
+ <td>
754
+ <i class="delRow dashicons dashicons-trash"></i>
755
+ </td>
756
+ </tr>
757
+ <tr>
758
+ <td>
759
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
760
+ </td>
761
+ <td>
762
+ <input type="text" name="mattributes[]" autocomplete="off" required
763
+ class="wf_validate_attr wf_mattributes wf_mattr" value="worldwide_shipping_price"/>
764
+ </td>
765
+ <td>
766
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
767
+ </td>
768
+ <td>
769
+ <select name="type[]" class="attr_type wfnoempty">
770
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
771
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
772
+ </select>
773
+ </td>
774
+ <td>
775
+ <select name="attributes[]" required="required" style=" display: none;"
776
+ class="wf_validate_attr wf_attr wf_attributes">
777
+ <?php echo $product->attributeDropdown(); ?>
778
+ </select>
779
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
780
+ />
781
+ </td>
782
+ <td>
783
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
784
+ </td>
785
+ <td>
786
+ <select name="output_type[][]" class="outputType wfnoempty">
787
+ <option value="1">Default</option>
788
+ <option value="2">Strip Tags</option>
789
+ <option value="3">UTF-8 Encode</option>
790
+ <option value="4">htmlentities</option>
791
+ <option value="5">Integer</option>
792
+ <option value="6">Price</option>
793
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
794
+ <option value="8">CDATA</option>
795
+ </select>
796
+ <i class="dashicons dashicons-editor-expand expandType"></i>
797
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
798
+ </td>
799
+ <td>
800
+ <input type="text" name="limit[]" class="wf_ps"/>
801
+ </td>
802
+ <td>
803
+ <i class="delRow dashicons dashicons-trash"></i>
804
+ </td>
805
+ </tr>
806
+ <tr>
807
+ <td>
808
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
809
+ </td>
810
+ <td>
811
+ <input type="text" name="mattributes[]" autocomplete="off" required
812
+ class="wf_validate_attr wf_mattributes wf_mattr" value="worldwide_shipping_type"/>
813
+ </td>
814
+ <td>
815
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
816
+ </td>
817
+ <td>
818
+ <select name="type[]" class="attr_type wfnoempty">
819
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
820
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
821
+ </select>
822
+ </td>
823
+ <td>
824
+ <select name="attributes[]" required="required" style=" display: none;"
825
+ class="wf_validate_attr wf_attr wf_attributes">
826
+ <?php echo $product->attributeDropdown(); ?>
827
+ </select>
828
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
829
+ />
830
+ </td>
831
+ <td>
832
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
833
+ </td>
834
+ <td>
835
+ <select name="output_type[][]" class="outputType wfnoempty">
836
+ <option value="1">Default</option>
837
+ <option value="2">Strip Tags</option>
838
+ <option value="3">UTF-8 Encode</option>
839
+ <option value="4">htmlentities</option>
840
+ <option value="5">Integer</option>
841
+ <option value="6">Price</option>
842
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
843
+ <option value="8">CDATA</option>
844
+ </select>
845
+ <i class="dashicons dashicons-editor-expand expandType"></i>
846
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
847
+ </td>
848
+ <td>
849
+ <input type="text" name="limit[]" class="wf_ps"/>
850
+ </td>
851
+ <td>
852
+ <i class="delRow dashicons dashicons-trash"></i>
853
+ </td>
854
+ </tr>
855
+ <tr>
856
+ <td>
857
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
858
+ </td>
859
+ <td>
860
+ <input type="text" name="mattributes[]" autocomplete="off" required
861
+ class="wf_validate_attr wf_mattributes wf_mattr" value="worldwide_shipping_carrier"/>
862
+ </td>
863
+ <td>
864
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
865
+ </td>
866
+ <td>
867
+ <select name="type[]" class="attr_type wfnoempty">
868
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
869
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
870
+ </select>
871
+ </td>
872
+ <td>
873
+ <select name="attributes[]" required="required" style=" display: none;"
874
+ class="wf_validate_attr wf_attr wf_attributes">
875
+ <?php echo $product->attributeDropdown(); ?>
876
+ </select>
877
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
878
+ />
879
+ </td>
880
+ <td>
881
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
882
+ </td>
883
+ <td>
884
+ <select name="output_type[][]" class="outputType wfnoempty">
885
+ <option value="1">Default</option>
886
+ <option value="2">Strip Tags</option>
887
+ <option value="3">UTF-8 Encode</option>
888
+ <option value="4">htmlentities</option>
889
+ <option value="5">Integer</option>
890
+ <option value="6">Price</option>
891
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
892
+ <option value="8">CDATA</option>
893
+ </select>
894
+ <i class="dashicons dashicons-editor-expand expandType"></i>
895
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
896
+ </td>
897
+ <td>
898
+ <input type="text" name="limit[]" class="wf_ps"/>
899
+ </td>
900
+ <td>
901
+ <i class="delRow dashicons dashicons-trash"></i>
902
+ </td>
903
+ </tr>
904
+ <tr>
905
+ <td>
906
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
907
+ </td>
908
+ <td>
909
+ <input type="text" name="mattributes[]" autocomplete="off" required
910
+ class="wf_validate_attr wf_mattributes wf_mattr" value="quantity"/>
911
+ </td>
912
+ <td>
913
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
914
+ </td>
915
+ <td>
916
+ <select name="type[]" class="attr_type wfnoempty">
917
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
918
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
919
+ </select>
920
+ </td>
921
+ <td>
922
+ <select name="attributes[]" required="required"
923
+ class="wf_validate_attr wf_attr wf_attributes">
924
+ <?php echo $product->attributeDropdown('quantity'); ?>
925
+ </select>
926
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
927
+ style=" display: none;"/>
928
+ </td>
929
+ <td>
930
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
931
+ </td>
932
+ <td>
933
+ <select name="output_type[][]" class="outputType wfnoempty">
934
+ <option value="1">Default</option>
935
+ <option value="2">Strip Tags</option>
936
+ <option value="3">UTF-8 Encode</option>
937
+ <option value="4">htmlentities</option>
938
+ <option value="5">Integer</option>
939
+ <option value="6">Price</option>
940
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
941
+ <option value="8">CDATA</option>
942
+ </select>
943
+ <i class="dashicons dashicons-editor-expand expandType"></i>
944
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
945
+ </td>
946
+ <td>
947
+ <input type="text" name="limit[]" class="wf_ps"/>
948
+ </td>
949
+ <td>
950
+ <i class="delRow dashicons dashicons-trash"></i>
951
+ </td>
952
+ </tr>
953
+ <tr>
954
+ <td>
955
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
956
+ </td>
957
+ <td>
958
+ <input type="text" name="mattributes[]" autocomplete="off" required
959
+ class="wf_validate_attr wf_mattributes wf_mattr" value="trait"/>
960
+ </td>
961
+ <td>
962
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
963
+ </td>
964
+ <td>
965
+ <select name="type[]" class="attr_type wfnoempty">
966
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
967
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
968
+ </select>
969
+ </td>
970
+ <td>
971
+ <select name="attributes[]" required="required" style=" display: none;"
972
+ class="wf_validate_attr wf_attr wf_attributes">
973
+ <?php echo $product->attributeDropdown(); ?>
974
+ </select>
975
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
976
+ />
977
+ </td>
978
+ <td>
979
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
980
+ </td>
981
+ <td>
982
+ <select name="output_type[][]" class="outputType wfnoempty">
983
+ <option value="1">Default</option>
984
+ <option value="2">Strip Tags</option>
985
+ <option value="3">UTF-8 Encode</option>
986
+ <option value="4">htmlentities</option>
987
+ <option value="5">Integer</option>
988
+ <option value="6">Price</option>
989
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
990
+ <option value="8">CDATA</option>
991
+ </select>
992
+ <i class="dashicons dashicons-editor-expand expandType"></i>
993
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
994
+ </td>
995
+ <td>
996
+ <input type="text" name="limit[]" class="wf_ps"/>
997
+ </td>
998
+ <td>
999
+ <i class="delRow dashicons dashicons-trash"></i>
1000
+ </td>
1001
+ </tr>
1002
+ <tr>
1003
+ <td>
1004
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
1005
+ </td>
1006
+ <td>
1007
+ <input type="text" name="mattributes[]" autocomplete="off" required
1008
+ class="wf_validate_attr wf_mattributes wf_mattr" value="force_update"/>
1009
+ </td>
1010
+ <td>
1011
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
1012
+ </td>
1013
+ <td>
1014
+ <select name="type[]" class="attr_type wfnoempty">
1015
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
1016
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
1017
+ </select>
1018
+ </td>
1019
+ <td>
1020
+ <select name="attributes[]" required="required" style=" display: none;"
1021
+ class="wf_validate_attr wf_attr wf_attributes">
1022
+ <?php echo $product->attributeDropdown(); ?>
1023
+ </select>
1024
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
1025
+ />
1026
+ </td>
1027
+ <td>
1028
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
1029
+ </td>
1030
+ <td>
1031
+ <select name="output_type[][]" class="outputType wfnoempty">
1032
+ <option value="1">Default</option>
1033
+ <option value="2">Strip Tags</option>
1034
+ <option value="3">UTF-8 Encode</option>
1035
+ <option value="4">htmlentities</option>
1036
+ <option value="5">Integer</option>
1037
+ <option value="6">Price</option>
1038
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
1039
+ <option value="8">CDATA</option>
1040
+ </select>
1041
+ <i class="dashicons dashicons-editor-expand expandType"></i>
1042
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
1043
+ </td>
1044
+ <td>
1045
+ <input type="text" name="limit[]" class="wf_ps"/>
1046
+ </td>
1047
+ <td>
1048
+ <i class="delRow dashicons dashicons-trash"></i>
1049
+ </td>
1050
+ </tr>
1051
+ </tbody>
1052
+ <tfoot>
1053
+ <tr>
1054
+ <td>
1055
+ <button type="button" class="button-small button-primary" id="wf_newRow">
1056
+ <?php _e('Add New Row', 'woo-feed'); ?>
1057
+ </button>
1058
+ </td>
1059
+ <td colspan="8">
1060
+
1061
+ </td>
1062
+ </tr>
1063
+ </tfoot>
1064
+ </table>
1065
+ <table class=" widefat fixed">
1066
+ <tr>
1067
+ <td align="left" class="">
1068
+ <div class="makeFeedResponse"></div>
1069
+ <div class="makeFeedComplete"></div>
1070
+ </td>
1071
+ <td align="right">
1072
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
1073
+ </td>
1074
+ </tr>
1075
+ </table>
1076
+ </div>
1077
+ </li>
1078
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
1079
+
1080
  </ul>
admin/partials/templates/cdiscount.fr_add-feed.php CHANGED
@@ -1,100 +1,100 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr"/>
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 _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown(); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- </tbody>
72
- <tfoot>
73
- <tr>
74
- <td>
75
- <button type="button" class="button-small button-primary" id="wf_newRow">
76
- <?php _e('Add New Row', 'woo-feed'); ?>
77
- </button>
78
- </td>
79
- <td colspan="8">
80
-
81
- </td>
82
- </tr>
83
- </tfoot>
84
- </table>
85
- <table class=" widefat fixed">
86
- <tr>
87
- <td align="left" class="">
88
- <div class="makeFeedResponse"></div>
89
- <div class="makeFeedComplete"></div>
90
- </td>
91
- <td align="right">
92
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
93
- </td>
94
- </tr>
95
- </table>
96
- </div>
97
- </li>
98
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
99
-
100
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr"/>
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 _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown(); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ </tbody>
72
+ <tfoot>
73
+ <tr>
74
+ <td>
75
+ <button type="button" class="button-small button-primary" id="wf_newRow">
76
+ <?php _e('Add New Row', 'woo-feed'); ?>
77
+ </button>
78
+ </td>
79
+ <td colspan="8">
80
+
81
+ </td>
82
+ </tr>
83
+ </tfoot>
84
+ </table>
85
+ <table class=" widefat fixed">
86
+ <tr>
87
+ <td align="left" class="">
88
+ <div class="makeFeedResponse"></div>
89
+ <div class="makeFeedComplete"></div>
90
+ </td>
91
+ <td align="right">
92
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
93
+ </td>
94
+ </tr>
95
+ </table>
96
+ </div>
97
+ </li>
98
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
99
+
100
+ </ul>
admin/partials/templates/connexity_add-feed.php CHANGED
@@ -1,491 +1,491 @@
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 _e('Feed Config','woo-feed');?></label>
5
- <div id="wf-tab-content1" class="wf-tab-content">
6
- <table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-1">
7
- <thead>
8
- <tr>
9
- <th></th>
10
- <th><?php echo ucfirst($provider); ?> <?php _e('Attributes','woo-feed');?></th>
11
- <th><?php _e('Prefix','woo-feed');?></th>
12
- <th><?php _e('Type','woo-feed');?></th>
13
- <th><?php _e('Value','woo-feed');?></th>
14
- <th><?php _e('Suffix','woo-feed');?></th>
15
- <th><?php _e('Output Type','woo-feed');?></th>
16
- <th><?php _e('Output Limit','woo-feed');?></th>
17
- <th></th>
18
- </tr>
19
- </thead>
20
- <tbody>
21
- <tr>
22
- <td>
23
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
24
- </td>
25
- <td>
26
- <select name="mattributes[]" required class="wf_mattributes">
27
- <?php echo $dropDown->connexityAttributesDropdown('Unique ID'); ?>
28
- </select>
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 _e('Attribute','woo-feed');?></option>
36
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" class="wf_attr wf_attributes">
41
- <?php echo $product->attributeDropdown('id'); ?>
42
- </select>
43
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
44
- style=" display: none;"/>
45
- </td>
46
- <td>
47
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
48
- </td>
49
- <td>
50
- <select name="output_type[][]" class="outputType wfnoempty">
51
- <option value="1">Default</option>
52
- <option value="2">Strip Tags</option>
53
- <option value="3">UTF-8 Encode</option>
54
- <option value="4">htmlentities</option>
55
- <option value="5">Integer</option>
56
- <option value="6">Price</option>
57
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
58
- <option value="8">CDATA</option>
59
- </select>
60
- <i class="dashicons dashicons-editor-expand expandType"></i>
61
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
62
- </td>
63
- <td>
64
- <input type="text" name="limit[]" class="wf_ps"/>
65
- </td>
66
- <td>
67
- <i class="delRow dashicons dashicons-trash"></i>
68
- </td>
69
- </tr>
70
- <tr>
71
- <td>
72
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
73
- </td>
74
- <td>
75
- <select name="mattributes[]" required class="wf_mattributes">
76
- <?php echo $dropDown->connexityAttributesDropdown('Title'); ?>
77
- </select>
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 _e('Attribute','woo-feed');?></option>
85
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
86
- </select>
87
- </td>
88
- <td>
89
- <select name="attributes[]" class="wf_attr wf_attributes">
90
- <?php echo $product->attributeDropdown('title'); ?>
91
- </select>
92
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
93
- style=" display: none;"/>
94
- </td>
95
- <td>
96
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
97
- </td>
98
- <td>
99
- <select name="output_type[][]" class="outputType wfnoempty">
100
- <option value="1">Default</option>
101
- <option value="2">Strip Tags</option>
102
- <option value="3">UTF-8 Encode</option>
103
- <option value="4">htmlentities</option>
104
- <option value="5">Integer</option>
105
- <option value="6">Price</option>
106
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
107
- <option value="8">CDATA</option>
108
- </select>
109
- <i class="dashicons dashicons-editor-expand expandType"></i>
110
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
111
- </td>
112
- <td>
113
- <input type="text" name="limit[]" class="wf_ps"/>
114
- </td>
115
- <td>
116
- <i class="delRow dashicons dashicons-trash"></i>
117
- </td>
118
- </tr>
119
- <tr>
120
- <td>
121
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
122
- </td>
123
- <td>
124
- <select name="mattributes[]" required class="wf_mattributes">
125
- <?php echo $dropDown->connexityAttributesDropdown('Description'); ?>
126
- </select>
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 _e('Attribute','woo-feed');?></option>
134
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
135
- </select>
136
- </td>
137
- <td>
138
- <select name="attributes[]" class="wf_attr wf_attributes">
139
- <?php echo $product->attributeDropdown('description'); ?>
140
- </select>
141
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
142
- style=" display: none;"/>
143
- </td>
144
- <td>
145
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
146
- </td>
147
- <td>
148
- <select name="output_type[][]" class="outputType wfnoempty">
149
- <option value="1">Default</option>
150
- <option value="2">Strip Tags</option>
151
- <option value="3">UTF-8 Encode</option>
152
- <option value="4">htmlentities</option>
153
- <option value="5">Integer</option>
154
- <option value="6">Price</option>
155
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
156
- <option value="8">CDATA</option>
157
- </select>
158
- <i class="dashicons dashicons-editor-expand expandType"></i>
159
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
160
- </td>
161
- <td>
162
- <input type="text" name="limit[]" class="wf_ps"/>
163
- </td>
164
- <td>
165
- <i class="delRow dashicons dashicons-trash"></i>
166
- </td>
167
- </tr>
168
- <tr>
169
- <td>
170
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
171
- </td>
172
- <td>
173
- <select name="mattributes[]" required class="wf_mattributes">
174
- <?php echo $dropDown->connexityAttributesDropdown('Category'); ?>
175
- </select>
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 _e('Attribute','woo-feed');?></option>
183
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
184
- </select>
185
- </td>
186
- <td>
187
- <select name="attributes[]" class="wf_attr wf_attributes">
188
- <?php echo $product->attributeDropdown('product_type'); ?>
189
- </select>
190
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
191
- style=" display: none;"/>
192
- </td>
193
- <td>
194
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
195
- </td>
196
- <td>
197
- <select name="output_type[][]" class="outputType wfnoempty">
198
- <option value="1">Default</option>
199
- <option value="2">Strip Tags</option>
200
- <option value="3">UTF-8 Encode</option>
201
- <option value="4">htmlentities</option>
202
- <option value="5">Integer</option>
203
- <option value="6">Price</option>
204
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
205
- <option value="8">CDATA</option>
206
- </select>
207
- <i class="dashicons dashicons-editor-expand expandType"></i>
208
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
209
- </td>
210
- <td>
211
- <input type="text" name="limit[]" class="wf_ps"/>
212
- </td>
213
- <td>
214
- <i class="delRow dashicons dashicons-trash"></i>
215
- </td>
216
- </tr>
217
- <tr>
218
- <td>
219
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
220
- </td>
221
- <td>
222
- <select name="mattributes[]" required class="wf_mattributes">
223
- <?php echo $dropDown->connexityAttributesDropdown('Product URL'); ?>
224
- </select>
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 _e('Attribute','woo-feed');?></option>
232
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
233
- </select>
234
- </td>
235
- <td>
236
- <select name="attributes[]" class="wf_attr wf_attributes">
237
- <?php echo $product->attributeDropdown('link'); ?>
238
- </select>
239
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
240
- style=" display: none;"/>
241
- </td>
242
- <td>
243
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
244
- </td>
245
- <td>
246
- <select name="output_type[][]" class="outputType wfnoempty">
247
- <option value="1">Default</option>
248
- <option value="2">Strip Tags</option>
249
- <option value="3">UTF-8 Encode</option>
250
- <option value="4">htmlentities</option>
251
- <option value="5">Integer</option>
252
- <option value="6">Price</option>
253
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
254
- <option value="8">CDATA</option>
255
- </select>
256
- <i class="dashicons dashicons-editor-expand expandType"></i>
257
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
258
- </td>
259
- <td>
260
- <input type="text" name="limit[]" class="wf_ps"/>
261
- </td>
262
- <td>
263
- <i class="delRow dashicons dashicons-trash"></i>
264
- </td>
265
- </tr>
266
- <tr>
267
- <td>
268
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
269
- </td>
270
- <td>
271
- <select name="mattributes[]" required class="wf_mattributes">
272
- <?php echo $dropDown->connexityAttributesDropdown('Image URL'); ?>
273
- </select>
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 _e('Attribute','woo-feed');?></option>
281
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
282
- </select>
283
- </td>
284
- <td>
285
- <select name="attributes[]" class="wf_attr wf_attributes">
286
- <?php echo $product->attributeDropdown('image'); ?>
287
- </select>
288
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
289
- style=" display: none;"/>
290
- </td>
291
- <td>
292
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
293
- </td>
294
- <td>
295
- <select name="output_type[][]" class="outputType wfnoempty">
296
- <option value="1">Default</option>
297
- <option value="2">Strip Tags</option>
298
- <option value="3">UTF-8 Encode</option>
299
- <option value="4">htmlentities</option>
300
- <option value="5">Integer</option>
301
- <option value="6">Price</option>
302
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
303
- <option value="8">CDATA</option>
304
- </select>
305
- <i class="dashicons dashicons-editor-expand expandType"></i>
306
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
307
- </td>
308
- <td>
309
- <input type="text" name="limit[]" class="wf_ps"/>
310
- </td>
311
- <td>
312
- <i class="delRow dashicons dashicons-trash"></i>
313
- </td>
314
- </tr>
315
- <tr>
316
- <td>
317
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
318
- </td>
319
- <td>
320
- <select name="mattributes[]" required class="wf_mattributes">
321
- <?php echo $dropDown->connexityAttributesDropdown('Condition'); ?>
322
- </select>
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 _e('Attribute','woo-feed');?></option>
330
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
331
- </select>
332
- </td>
333
- <td>
334
- <select name="attributes[]" class="wf_attr wf_attributes">
335
- <?php echo $product->attributeDropdown('condition'); ?>
336
- </select>
337
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
338
- style=" display: none;"/>
339
- </td>
340
- <td>
341
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
342
- </td>
343
- <td>
344
- <select name="output_type[][]" class="outputType wfnoempty">
345
- <option value="1">Default</option>
346
- <option value="2">Strip Tags</option>
347
- <option value="3">UTF-8 Encode</option>
348
- <option value="4">htmlentities</option>
349
- <option value="5">Integer</option>
350
- <option value="6">Price</option>
351
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
352
- <option value="8">CDATA</option>
353
- </select>
354
- <i class="dashicons dashicons-editor-expand expandType"></i>
355
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
356
- </td>
357
- <td>
358
- <input type="text" name="limit[]" class="wf_ps"/>
359
- </td>
360
- <td>
361
- <i class="delRow dashicons dashicons-trash"></i>
362
- </td>
363
- </tr>
364
- <tr>
365
- <td>
366
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
367
- </td>
368
- <td>
369
- <select name="mattributes[]" required class="wf_mattributes">
370
- <?php echo $dropDown->connexityAttributesDropdown('Availability'); ?>
371
- </select>
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 _e('Attribute','woo-feed');?></option>
379
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
380
- </select>
381
- </td>
382
- <td>
383
- <select name="attributes[]" class="wf_attr wf_attributes">
384
- <?php echo $product->attributeDropdown('availability'); ?>
385
- </select>
386
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
387
- style=" display: none;"/>
388
- </td>
389
- <td>
390
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
391
- </td>
392
- <td>
393
- <select name="output_type[][]" class="outputType wfnoempty">
394
- <option value="1">Default</option>
395
- <option value="2">Strip Tags</option>
396
- <option value="3">UTF-8 Encode</option>
397
- <option value="4">htmlentities</option>
398
- <option value="5">Integer</option>
399
- <option value="6">Price</option>
400
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
401
- <option value="8">CDATA</option>
402
- </select>
403
- <i class="dashicons dashicons-editor-expand expandType"></i>
404
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
405
- </td>
406
- <td>
407
- <input type="text" name="limit[]" class="wf_ps"/>
408
- </td>
409
- <td>
410
- <i class="delRow dashicons dashicons-trash"></i>
411
- </td>
412
- </tr>
413
- <tr>
414
- <td>
415
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
416
- </td>
417
- <td>
418
- <select name="mattributes[]" required class="wf_mattributes">
419
- <?php echo $dropDown->connexityAttributesDropdown('Current Price'); ?>
420
- </select>
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 _e('Attribute','woo-feed');?></option>
428
- <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
429
- </select>
430
- </td>
431
- <td>
432
- <select name="attributes[]" class="wf_attr wf_attributes">
433
- <?php echo $product->attributeDropdown('price'); ?>
434
- </select>
435
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
436
- style=" display: none;"/>
437
- </td>
438
- <td>
439
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
440
- </td>
441
- <td>
442
- <select name="output_type[][]" 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
- </tbody>
463
- <tfoot>
464
- <tr>
465
- <td>
466
- <button type="button" class="button-small button-primary" id="wf_newRow">
467
- <?php _e('Add New Row','woo-feed');?>
468
- </button>
469
- </td>
470
- <td colspan="8">
471
-
472
- </td>
473
- </tr>
474
- </tfoot>
475
- </table>
476
- <table class=" widefat fixed">
477
- <tr>
478
- <td align="left" class="">
479
- <div class="makeFeedResponse"></div>
480
- <div class="makeFeedComplete"></div>
481
- </td>
482
- <td align="right">
483
- <button type="submit" class="wfbtn"><?php _e('Save & Generate Feed', 'woo-feed'); ?></button>
484
- </td>
485
- </tr>
486
- </table>
487
- </div>
488
- </li>
489
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
490
-
491
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _e('Feed Config','woo-feed');?></label>
5
+ <div id="wf-tab-content1" class="wf-tab-content">
6
+ <table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-1">
7
+ <thead>
8
+ <tr>
9
+ <th></th>
10
+ <th><?php echo ucfirst($provider); ?> <?php _e('Attributes','woo-feed');?></th>
11
+ <th><?php _e('Prefix','woo-feed');?></th>
12
+ <th><?php _e('Type','woo-feed');?></th>
13
+ <th><?php _e('Value','woo-feed');?></th>
14
+ <th><?php _e('Suffix','woo-feed');?></th>
15
+ <th><?php _e('Output Type','woo-feed');?></th>
16
+ <th><?php _e('Output Limit','woo-feed');?></th>
17
+ <th></th>
18
+ </tr>
19
+ </thead>
20
+ <tbody>
21
+ <tr>
22
+ <td>
23
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
24
+ </td>
25
+ <td>
26
+ <select name="mattributes[]" required class="wf_mattributes">
27
+ <?php echo $dropDown->connexityAttributesDropdown('Unique ID'); ?>
28
+ </select>
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 _e('Attribute','woo-feed');?></option>
36
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" class="wf_attr wf_attributes">
41
+ <?php echo $product->attributeDropdown('id'); ?>
42
+ </select>
43
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
44
+ style=" display: none;"/>
45
+ </td>
46
+ <td>
47
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
48
+ </td>
49
+ <td>
50
+ <select name="output_type[][]" class="outputType wfnoempty">
51
+ <option value="1">Default</option>
52
+ <option value="2">Strip Tags</option>
53
+ <option value="3">UTF-8 Encode</option>
54
+ <option value="4">htmlentities</option>
55
+ <option value="5">Integer</option>
56
+ <option value="6">Price</option>
57
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
58
+ <option value="8">CDATA</option>
59
+ </select>
60
+ <i class="dashicons dashicons-editor-expand expandType"></i>
61
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
62
+ </td>
63
+ <td>
64
+ <input type="text" name="limit[]" class="wf_ps"/>
65
+ </td>
66
+ <td>
67
+ <i class="delRow dashicons dashicons-trash"></i>
68
+ </td>
69
+ </tr>
70
+ <tr>
71
+ <td>
72
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
73
+ </td>
74
+ <td>
75
+ <select name="mattributes[]" required class="wf_mattributes">
76
+ <?php echo $dropDown->connexityAttributesDropdown('Title'); ?>
77
+ </select>
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 _e('Attribute','woo-feed');?></option>
85
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" class="wf_attr wf_attributes">
90
+ <?php echo $product->attributeDropdown('title'); ?>
91
+ </select>
92
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
93
+ style=" display: none;"/>
94
+ </td>
95
+ <td>
96
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
97
+ </td>
98
+ <td>
99
+ <select name="output_type[][]" class="outputType wfnoempty">
100
+ <option value="1">Default</option>
101
+ <option value="2">Strip Tags</option>
102
+ <option value="3">UTF-8 Encode</option>
103
+ <option value="4">htmlentities</option>
104
+ <option value="5">Integer</option>
105
+ <option value="6">Price</option>
106
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
107
+ <option value="8">CDATA</option>
108
+ </select>
109
+ <i class="dashicons dashicons-editor-expand expandType"></i>
110
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
111
+ </td>
112
+ <td>
113
+ <input type="text" name="limit[]" class="wf_ps"/>
114
+ </td>
115
+ <td>
116
+ <i class="delRow dashicons dashicons-trash"></i>
117
+ </td>
118
+ </tr>
119
+ <tr>
120
+ <td>
121
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
122
+ </td>
123
+ <td>
124
+ <select name="mattributes[]" required class="wf_mattributes">
125
+ <?php echo $dropDown->connexityAttributesDropdown('Description'); ?>
126
+ </select>
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 _e('Attribute','woo-feed');?></option>
134
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" class="wf_attr wf_attributes">
139
+ <?php echo $product->attributeDropdown('description'); ?>
140
+ </select>
141
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
142
+ style=" display: none;"/>
143
+ </td>
144
+ <td>
145
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
146
+ </td>
147
+ <td>
148
+ <select name="output_type[][]" class="outputType wfnoempty">
149
+ <option value="1">Default</option>
150
+ <option value="2">Strip Tags</option>
151
+ <option value="3">UTF-8 Encode</option>
152
+ <option value="4">htmlentities</option>
153
+ <option value="5">Integer</option>
154
+ <option value="6">Price</option>
155
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
156
+ <option value="8">CDATA</option>
157
+ </select>
158
+ <i class="dashicons dashicons-editor-expand expandType"></i>
159
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
160
+ </td>
161
+ <td>
162
+ <input type="text" name="limit[]" class="wf_ps"/>
163
+ </td>
164
+ <td>
165
+ <i class="delRow dashicons dashicons-trash"></i>
166
+ </td>
167
+ </tr>
168
+ <tr>
169
+ <td>
170
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
171
+ </td>
172
+ <td>
173
+ <select name="mattributes[]" required class="wf_mattributes">
174
+ <?php echo $dropDown->connexityAttributesDropdown('Category'); ?>
175
+ </select>
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 _e('Attribute','woo-feed');?></option>
183
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" class="wf_attr wf_attributes">
188
+ <?php echo $product->attributeDropdown('product_type'); ?>
189
+ </select>
190
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
191
+ style=" display: none;"/>
192
+ </td>
193
+ <td>
194
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
195
+ </td>
196
+ <td>
197
+ <select name="output_type[][]" class="outputType wfnoempty">
198
+ <option value="1">Default</option>
199
+ <option value="2">Strip Tags</option>
200
+ <option value="3">UTF-8 Encode</option>
201
+ <option value="4">htmlentities</option>
202
+ <option value="5">Integer</option>
203
+ <option value="6">Price</option>
204
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
205
+ <option value="8">CDATA</option>
206
+ </select>
207
+ <i class="dashicons dashicons-editor-expand expandType"></i>
208
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
209
+ </td>
210
+ <td>
211
+ <input type="text" name="limit[]" class="wf_ps"/>
212
+ </td>
213
+ <td>
214
+ <i class="delRow dashicons dashicons-trash"></i>
215
+ </td>
216
+ </tr>
217
+ <tr>
218
+ <td>
219
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
220
+ </td>
221
+ <td>
222
+ <select name="mattributes[]" required class="wf_mattributes">
223
+ <?php echo $dropDown->connexityAttributesDropdown('Product URL'); ?>
224
+ </select>
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 _e('Attribute','woo-feed');?></option>
232
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" class="wf_attr wf_attributes">
237
+ <?php echo $product->attributeDropdown('link'); ?>
238
+ </select>
239
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
240
+ style=" display: none;"/>
241
+ </td>
242
+ <td>
243
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
244
+ </td>
245
+ <td>
246
+ <select name="output_type[][]" class="outputType wfnoempty">
247
+ <option value="1">Default</option>
248
+ <option value="2">Strip Tags</option>
249
+ <option value="3">UTF-8 Encode</option>
250
+ <option value="4">htmlentities</option>
251
+ <option value="5">Integer</option>
252
+ <option value="6">Price</option>
253
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
254
+ <option value="8">CDATA</option>
255
+ </select>
256
+ <i class="dashicons dashicons-editor-expand expandType"></i>
257
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
258
+ </td>
259
+ <td>
260
+ <input type="text" name="limit[]" class="wf_ps"/>
261
+ </td>
262
+ <td>
263
+ <i class="delRow dashicons dashicons-trash"></i>
264
+ </td>
265
+ </tr>
266
+ <tr>
267
+ <td>
268
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
269
+ </td>
270
+ <td>
271
+ <select name="mattributes[]" required class="wf_mattributes">
272
+ <?php echo $dropDown->connexityAttributesDropdown('Image URL'); ?>
273
+ </select>
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 _e('Attribute','woo-feed');?></option>
281
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" class="wf_attr wf_attributes">
286
+ <?php echo $product->attributeDropdown('image'); ?>
287
+ </select>
288
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
289
+ style=" display: none;"/>
290
+ </td>
291
+ <td>
292
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
293
+ </td>
294
+ <td>
295
+ <select name="output_type[][]" class="outputType wfnoempty">
296
+ <option value="1">Default</option>
297
+ <option value="2">Strip Tags</option>
298
+ <option value="3">UTF-8 Encode</option>
299
+ <option value="4">htmlentities</option>
300
+ <option value="5">Integer</option>
301
+ <option value="6">Price</option>
302
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
303
+ <option value="8">CDATA</option>
304
+ </select>
305
+ <i class="dashicons dashicons-editor-expand expandType"></i>
306
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
307
+ </td>
308
+ <td>
309
+ <input type="text" name="limit[]" class="wf_ps"/>
310
+ </td>
311
+ <td>
312
+ <i class="delRow dashicons dashicons-trash"></i>
313
+ </td>
314
+ </tr>
315
+ <tr>
316
+ <td>
317
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
318
+ </td>
319
+ <td>
320
+ <select name="mattributes[]" required class="wf_mattributes">
321
+ <?php echo $dropDown->connexityAttributesDropdown('Condition'); ?>
322
+ </select>
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 _e('Attribute','woo-feed');?></option>
330
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
331
+ </select>
332
+ </td>
333
+ <td>
334
+ <select name="attributes[]" class="wf_attr wf_attributes">
335
+ <?php echo $product->attributeDropdown('condition'); ?>
336
+ </select>
337
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
338
+ style=" display: none;"/>
339
+ </td>
340
+ <td>
341
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
342
+ </td>
343
+ <td>
344
+ <select name="output_type[][]" class="outputType wfnoempty">
345
+ <option value="1">Default</option>
346
+ <option value="2">Strip Tags</option>
347
+ <option value="3">UTF-8 Encode</option>
348
+ <option value="4">htmlentities</option>
349
+ <option value="5">Integer</option>
350
+ <option value="6">Price</option>
351
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
352
+ <option value="8">CDATA</option>
353
+ </select>
354
+ <i class="dashicons dashicons-editor-expand expandType"></i>
355
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
356
+ </td>
357
+ <td>
358
+ <input type="text" name="limit[]" class="wf_ps"/>
359
+ </td>
360
+ <td>
361
+ <i class="delRow dashicons dashicons-trash"></i>
362
+ </td>
363
+ </tr>
364
+ <tr>
365
+ <td>
366
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
367
+ </td>
368
+ <td>
369
+ <select name="mattributes[]" required class="wf_mattributes">
370
+ <?php echo $dropDown->connexityAttributesDropdown('Availability'); ?>
371
+ </select>
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 _e('Attribute','woo-feed');?></option>
379
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
380
+ </select>
381
+ </td>
382
+ <td>
383
+ <select name="attributes[]" class="wf_attr wf_attributes">
384
+ <?php echo $product->attributeDropdown('availability'); ?>
385
+ </select>
386
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
387
+ style=" display: none;"/>
388
+ </td>
389
+ <td>
390
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
391
+ </td>
392
+ <td>
393
+ <select name="output_type[][]" class="outputType wfnoempty">
394
+ <option value="1">Default</option>
395
+ <option value="2">Strip Tags</option>
396
+ <option value="3">UTF-8 Encode</option>
397
+ <option value="4">htmlentities</option>
398
+ <option value="5">Integer</option>
399
+ <option value="6">Price</option>
400
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
401
+ <option value="8">CDATA</option>
402
+ </select>
403
+ <i class="dashicons dashicons-editor-expand expandType"></i>
404
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
405
+ </td>
406
+ <td>
407
+ <input type="text" name="limit[]" class="wf_ps"/>
408
+ </td>
409
+ <td>
410
+ <i class="delRow dashicons dashicons-trash"></i>
411
+ </td>
412
+ </tr>
413
+ <tr>
414
+ <td>
415
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
416
+ </td>
417
+ <td>
418
+ <select name="mattributes[]" required class="wf_mattributes">
419
+ <?php echo $dropDown->connexityAttributesDropdown('Current Price'); ?>
420
+ </select>
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 _e('Attribute','woo-feed');?></option>
428
+ <option value="pattern"><?php _e('Pattern','woo-feed');?></option>
429
+ </select>
430
+ </td>
431
+ <td>
432
+ <select name="attributes[]" class="wf_attr wf_attributes">
433
+ <?php echo $product->attributeDropdown('price'); ?>
434
+ </select>
435
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
436
+ style=" display: none;"/>
437
+ </td>
438
+ <td>
439
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
440
+ </td>
441
+ <td>
442
+ <select name="output_type[][]" 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
+ </tbody>
463
+ <tfoot>
464
+ <tr>
465
+ <td>
466
+ <button type="button" class="button-small button-primary" id="wf_newRow">
467
+ <?php _e('Add New Row','woo-feed');?>
468
+ </button>
469
+ </td>
470
+ <td colspan="8">
471
+
472
+ </td>
473
+ </tr>
474
+ </tfoot>
475
+ </table>
476
+ <table class=" widefat fixed">
477
+ <tr>
478
+ <td align="left" class="">
479
+ <div class="makeFeedResponse"></div>
480
+ <div class="makeFeedComplete"></div>
481
+ </td>
482
+ <td align="right">
483
+ <button type="submit" class="wfbtn"><?php _e('Save & Generate Feed', 'woo-feed'); ?></button>
484
+ </td>
485
+ </tr>
486
+ </table>
487
+ </div>
488
+ </li>
489
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
490
+
491
+ </ul>
admin/partials/templates/criteo_add-feed.php CHANGED
@@ -1,1000 +1,1000 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="ID" />
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('id'); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps" value="240" />
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
-
72
- <tr>
73
- <td>
74
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
- </td>
76
- <td>
77
- <input type="text" name="mattributes[]" autocomplete="off" required
78
- class="wf_validate_attr wf_mattributes wf_mattr" value="title" />
79
- </td>
80
- <td>
81
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
82
- </td>
83
- <td>
84
- <select name="type[]" class="attr_type wfnoempty">
85
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
86
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
- </select>
88
- </td>
89
- <td>
90
- <select name="attributes[]" required="required"
91
- class="wf_validate_attr wf_attr wf_attributes">
92
- <?php echo $product->attributeDropdown('title'); ?>
93
- </select>
94
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
95
- style=" display: none;"/>
96
- </td>
97
- <td>
98
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
99
- </td>
100
- <td>
101
- <select name="output_type[][]" class="outputType wfnoempty">
102
- <option value="1">Default</option>
103
- <option value="2">Strip Tags</option>
104
- <option value="3">UTF-8 Encode</option>
105
- <option value="4">htmlentities</option>
106
- <option value="5">Integer</option>
107
- <option value="6">Price</option>
108
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
109
- <option value="8">CDATA</option>
110
- </select>
111
- <i class="dashicons dashicons-editor-expand expandType"></i>
112
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
113
- </td>
114
- <td>
115
- <input type="text" name="limit[]" class="wf_ps" value="150" />
116
- </td>
117
- <td>
118
- <i class="delRow dashicons dashicons-trash"></i>
119
- </td>
120
- </tr>
121
-
122
- <tr>
123
- <td>
124
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
125
- </td>
126
- <td>
127
- <input type="text" name="mattributes[]" autocomplete="off" required
128
- class="wf_validate_attr wf_mattributes wf_mattr" value="description" />
129
- </td>
130
- <td>
131
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
132
- </td>
133
- <td>
134
- <select name="type[]" class="attr_type wfnoempty">
135
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
136
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
137
- </select>
138
- </td>
139
- <td>
140
- <select name="attributes[]" required="required"
141
- class="wf_validate_attr wf_attr wf_attributes">
142
- <?php echo $product->attributeDropdown('description'); ?>
143
- </select>
144
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
145
- style=" display: none;"/>
146
- </td>
147
- <td>
148
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
149
- </td>
150
- <td>
151
- <select name="output_type[][]" class="outputType wfnoempty">
152
- <option value="1">Default</option>
153
- <option value="2">Strip Tags</option>
154
- <option value="3">UTF-8 Encode</option>
155
- <option value="4">htmlentities</option>
156
- <option value="5">Integer</option>
157
- <option value="6">Price</option>
158
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
159
- <option value="8">CDATA</option>
160
- </select>
161
- <i class="dashicons dashicons-editor-expand expandType"></i>
162
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
163
- </td>
164
- <td>
165
- <input type="text" name="limit[]" class="wf_ps" value="5000" />
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="google_product_category" />
179
- </td>
180
- <td>
181
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
182
- </td>
183
- <td>
184
- <select name="type[]" class="attr_type wfnoempty">
185
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
186
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
187
- </select>
188
- </td>
189
- <td>
190
- <select name="attributes[]" required="required"
191
- class="wf_validate_attr wf_attr wf_attributes">
192
- <?php echo $product->attributeDropdown('product_type'); ?>
193
- </select>
194
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
195
- style=" display: none;"/>
196
- </td>
197
- <td>
198
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
199
- </td>
200
- <td>
201
- <select name="output_type[][]" class="outputType wfnoempty">
202
- <option value="1">Default</option>
203
- <option value="2">Strip Tags</option>
204
- <option value="3">UTF-8 Encode</option>
205
- <option value="4">htmlentities</option>
206
- <option value="5">Integer</option>
207
- <option value="6">Price</option>
208
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
209
- <option value="8">CDATA</option>
210
- </select>
211
- <i class="dashicons dashicons-editor-expand expandType"></i>
212
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
213
- </td>
214
- <td>
215
- <input type="text" name="limit[]" class="wf_ps"/>
216
- </td>
217
- <td>
218
- <i class="delRow dashicons dashicons-trash"></i>
219
- </td>
220
- </tr>
221
-
222
- <tr>
223
- <td>
224
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
225
- </td>
226
- <td>
227
- <input type="text" name="mattributes[]" autocomplete="off" required
228
- class="wf_validate_attr wf_mattributes wf_mattr" value="link" />
229
- </td>
230
- <td>
231
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
232
- </td>
233
- <td>
234
- <select name="type[]" class="attr_type wfnoempty">
235
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
236
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
237
- </select>
238
- </td>
239
- <td>
240
- <select name="attributes[]" required="required"
241
- class="wf_validate_attr wf_attr wf_attributes">
242
- <?php echo $product->attributeDropdown('link'); ?>
243
- </select>
244
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
- style=" display: none;"/>
246
- </td>
247
- <td>
248
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
249
- </td>
250
- <td>
251
- <select name="output_type[][]" class="outputType wfnoempty">
252
- <option value="1">Default</option>
253
- <option value="2">Strip Tags</option>
254
- <option value="3">UTF-8 Encode</option>
255
- <option value="4">htmlentities</option>
256
- <option value="5">Integer</option>
257
- <option value="6">Price</option>
258
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
259
- <option value="8">CDATA</option>
260
- </select>
261
- <i class="dashicons dashicons-editor-expand expandType"></i>
262
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
263
- </td>
264
- <td>
265
- <input type="text" name="limit[]" class="wf_ps" value="1024" />
266
- </td>
267
- <td>
268
- <i class="delRow dashicons dashicons-trash"></i>
269
- </td>
270
- </tr>
271
-
272
- <tr>
273
- <td>
274
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
275
- </td>
276
- <td>
277
- <input type="text" name="mattributes[]" autocomplete="off" required
278
- class="wf_validate_attr wf_mattributes wf_mattr" value="image_link" />
279
- </td>
280
- <td>
281
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
282
- </td>
283
- <td>
284
- <select name="type[]" class="attr_type wfnoempty">
285
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
286
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
287
- </select>
288
- </td>
289
- <td>
290
- <select name="attributes[]" required="required"
291
- class="wf_validate_attr wf_attr wf_attributes">
292
- <?php echo $product->attributeDropdown('image'); ?>
293
- </select>
294
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
295
- style=" display: none;"/>
296
- </td>
297
- <td>
298
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
299
- </td>
300
- <td>
301
- <select name="output_type[][]" class="outputType wfnoempty">
302
- <option value="1">Default</option>
303
- <option value="2">Strip Tags</option>
304
- <option value="3">UTF-8 Encode</option>
305
- <option value="4">htmlentities</option>
306
- <option value="5">Integer</option>
307
- <option value="6">Price</option>
308
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
309
- <option value="8">CDATA</option>
310
- </select>
311
- <i class="dashicons dashicons-editor-expand expandType"></i>
312
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
313
- </td>
314
- <td>
315
- <input type="text" name="limit[]" class="wf_ps" value="2000" />
316
- </td>
317
- <td>
318
- <i class="delRow dashicons dashicons-trash"></i>
319
- </td>
320
- </tr>
321
-
322
- <tr>
323
- <td>
324
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
325
- </td>
326
- <td>
327
- <input type="text" name="mattributes[]" autocomplete="off" required
328
- class="wf_validate_attr wf_mattributes wf_mattr" value="additional_image_link" />
329
- </td>
330
- <td>
331
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
332
- </td>
333
- <td>
334
- <select name="type[]" class="attr_type wfnoempty">
335
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
336
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
337
- </select>
338
- </td>
339
- <td>
340
- <select name="attributes[]" required="required"
341
- class="wf_validate_attr wf_attr wf_attributes">
342
- <?php echo $product->attributeDropdown('images'); ?>
343
- </select>
344
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
345
- style=" display: none;"/>
346
- </td>
347
- <td>
348
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
349
- </td>
350
- <td>
351
- <select name="output_type[][]" class="outputType wfnoempty">
352
- <option value="1">Default</option>
353
- <option value="2">Strip Tags</option>
354
- <option value="3">UTF-8 Encode</option>
355
- <option value="4">htmlentities</option>
356
- <option value="5">Integer</option>
357
- <option value="6">Price</option>
358
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
359
- <option value="8">CDATA</option>
360
- </select>
361
- <i class="dashicons dashicons-editor-expand expandType"></i>
362
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
363
- </td>
364
- <td>
365
- <input type="text" name="limit[]" class="wf_ps" value="2000" />
366
- </td>
367
- <td>
368
- <i class="delRow dashicons dashicons-trash"></i>
369
- </td>
370
- </tr>
371
-
372
- <tr>
373
- <td>
374
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
375
- </td>
376
- <td>
377
- <input type="text" name="mattributes[]" autocomplete="off" required
378
- class="wf_validate_attr wf_mattributes wf_mattr" value="availability" />
379
- </td>
380
- <td>
381
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
382
- </td>
383
- <td>
384
- <select name="type[]" class="attr_type wfnoempty">
385
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
386
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
387
- </select>
388
- </td>
389
- <td>
390
- <select name="attributes[]" required="required"
391
- class="wf_validate_attr wf_attr wf_attributes">
392
- <?php echo $product->attributeDropdown('availability'); ?>
393
- </select>
394
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
395
- style=" display: none;"/>
396
- </td>
397
- <td>
398
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
399
- </td>
400
- <td>
401
- <select name="output_type[][]" class="outputType wfnoempty">
402
- <option value="1">Default</option>
403
- <option value="2">Strip Tags</option>
404
- <option value="3">UTF-8 Encode</option>
405
- <option value="4">htmlentities</option>
406
- <option value="5">Integer</option>
407
- <option value="6">Price</option>
408
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
409
- <option value="8">CDATA</option>
410
- </select>
411
- <i class="dashicons dashicons-editor-expand expandType"></i>
412
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
413
- </td>
414
- <td>
415
- <input type="text" name="limit[]" class="wf_ps" value="25" />
416
- </td>
417
- <td>
418
- <i class="delRow dashicons dashicons-trash"></i>
419
- </td>
420
- </tr>
421
-
422
- <tr>
423
- <td>
424
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
425
- </td>
426
- <td>
427
- <input type="text" name="mattributes[]" autocomplete="off" required
428
- class="wf_validate_attr wf_mattributes wf_mattr" value="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 _e('Attribute', 'woo-feed'); ?></option>
436
- <option value="pattern"><?php _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('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" value="14" />
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="sale_price" />
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 _e('Attribute', 'woo-feed'); ?></option>
486
- <option value="pattern"><?php _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('sale_price'); ?>
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" value="50" />
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"
528
- class="wf_validate_attr wf_mattributes wf_mattr" value="gtin" />
529
- </td>
530
- <td>
531
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
532
- </td>
533
- <td>
534
- <select name="type[]" class="attr_type wfnoempty">
535
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
536
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
537
- </select>
538
- </td>
539
- <td>
540
- <select name="attributes[]"
541
- class="wf_validate_attr wf_attr wf_attributes">
542
- <?php echo $product->attributeDropdown(''); ?>
543
- </select>
544
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
545
- style=" display: none;"/>
546
- </td>
547
- <td>
548
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
549
- </td>
550
- <td>
551
- <select name="output_type[][]" class="outputType wfnoempty">
552
- <option value="1">Default</option>
553
- <option value="2">Strip Tags</option>
554
- <option value="3">UTF-8 Encode</option>
555
- <option value="4">htmlentities</option>
556
- <option value="5">Integer</option>
557
- <option value="6">Price</option>
558
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
559
- <option value="8">CDATA</option>
560
- </select>
561
- <i class="dashicons dashicons-editor-expand expandType"></i>
562
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
563
- </td>
564
- <td>
565
- <input type="text" name="limit[]" class="wf_ps" value="50" />
566
- </td>
567
- <td>
568
- <i class="delRow dashicons dashicons-trash"></i>
569
- </td>
570
- </tr>
571
-
572
- <tr>
573
- <td>
574
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
575
- </td>
576
- <td>
577
- <input type="text" name="mattributes[]" autocomplete="off"
578
- class="wf_validate_attr wf_mattributes wf_mattr" value="mpn" />
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 _e('Attribute', 'woo-feed'); ?></option>
586
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
587
- </select>
588
- </td>
589
- <td>
590
- <select name="attributes[]"
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" value="70" />
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"
628
- class="wf_validate_attr wf_mattributes wf_mattr" value="brand" />
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 _e('Attribute', 'woo-feed'); ?></option>
636
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
637
- </select>
638
- </td>
639
- <td>
640
- <select name="attributes[]"
641
- class="wf_validate_attr wf_attr wf_attributes">
642
- <?php echo $product->attributeDropdown(''); ?>
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" value="70" />
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"
678
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_type" />
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 _e('Attribute', 'woo-feed'); ?></option>
686
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
687
- </select>
688
- </td>
689
- <td>
690
- <select name="attributes[]"
691
- class="wf_validate_attr wf_attr wf_attributes">
692
- <?php echo $product->attributeDropdown(); ?>
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" value="500" />
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"
728
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_type_key" />
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 _e('Attribute', 'woo-feed'); ?></option>
736
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
737
- </select>
738
- </td>
739
- <td>
740
- <select name="attributes[]"
741
- class="wf_validate_attr wf_attr wf_attributes">
742
- <?php echo $product->attributeDropdown(''); ?>
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" value="500" />
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"
778
- class="wf_validate_attr wf_mattributes wf_mattr" value="number_of_reviews" />
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 _e('Attribute', 'woo-feed'); ?></option>
786
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
787
- </select>
788
- </td>
789
- <td>
790
- <select name="attributes[]"
791
- class="wf_validate_attr wf_attr wf_attributes">
792
- <?php echo $product->attributeDropdown(''); ?>
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" value="8" />
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"
828
- class="wf_validate_attr wf_mattributes wf_mattr" value="product_rating" />
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 _e('Attribute', 'woo-feed'); ?></option>
836
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
837
- </select>
838
- </td>
839
- <td>
840
- <select name="attributes[]"
841
- class="wf_validate_attr wf_attr wf_attributes">
842
- <?php echo $product->attributeDropdown(''); ?>
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" value="8" />
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"
878
- class="wf_validate_attr wf_mattributes wf_mattr" value="filters" />
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 _e('Attribute', 'woo-feed'); ?></option>
886
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
887
- </select>
888
- </td>
889
- <td>
890
- <select name="attributes[]"
891
- class="wf_validate_attr wf_attr wf_attributes">
892
- <?php echo $product->attributeDropdown(''); ?>
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" value="2000" />
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"
928
- class="wf_validate_attr wf_mattributes wf_mattr" value="adult" />
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 _e('Attribute', 'woo-feed'); ?></option>
936
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
937
- </select>
938
- </td>
939
- <td>
940
- <select name="attributes[]"
941
- class="wf_validate_attr wf_attr wf_attributes">
942
- <?php echo $product->attributeDropdown(''); ?>
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
- </tbody>
972
- <tfoot>
973
- <tr>
974
- <td>
975
- <button type="button" class="button-small button-primary" id="wf_newRow">
976
- <?php _e('Add New Row', 'woo-feed'); ?>
977
- </button>
978
- </td>
979
- <td colspan="8">
980
-
981
- </td>
982
- </tr>
983
- </tfoot>
984
- </table>
985
- <table class=" widefat fixed">
986
- <tr>
987
- <td align="left" class="">
988
- <div class="makeFeedResponse"></div>
989
- <div class="makeFeedComplete"></div>
990
- </td>
991
- <td align="right">
992
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
993
- </td>
994
- </tr>
995
- </table>
996
- </div>
997
- </li>
998
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
999
-
1000
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr" value="ID" />
29
+ </td>
30
+ <td>
31
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
+ </td>
33
+ <td>
34
+ <select name="type[]" class="attr_type wfnoempty">
35
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('id'); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps" value="240" />
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+
72
+ <tr>
73
+ <td>
74
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
75
+ </td>
76
+ <td>
77
+ <input type="text" name="mattributes[]" autocomplete="off" required
78
+ class="wf_validate_attr wf_mattributes wf_mattr" value="title" />
79
+ </td>
80
+ <td>
81
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
82
+ </td>
83
+ <td>
84
+ <select name="type[]" class="attr_type wfnoempty">
85
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
86
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
87
+ </select>
88
+ </td>
89
+ <td>
90
+ <select name="attributes[]" required="required"
91
+ class="wf_validate_attr wf_attr wf_attributes">
92
+ <?php echo $product->attributeDropdown('title'); ?>
93
+ </select>
94
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
95
+ style=" display: none;"/>
96
+ </td>
97
+ <td>
98
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
99
+ </td>
100
+ <td>
101
+ <select name="output_type[][]" class="outputType wfnoempty">
102
+ <option value="1">Default</option>
103
+ <option value="2">Strip Tags</option>
104
+ <option value="3">UTF-8 Encode</option>
105
+ <option value="4">htmlentities</option>
106
+ <option value="5">Integer</option>
107
+ <option value="6">Price</option>
108
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
109
+ <option value="8">CDATA</option>
110
+ </select>
111
+ <i class="dashicons dashicons-editor-expand expandType"></i>
112
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
113
+ </td>
114
+ <td>
115
+ <input type="text" name="limit[]" class="wf_ps" value="150" />
116
+ </td>
117
+ <td>
118
+ <i class="delRow dashicons dashicons-trash"></i>
119
+ </td>
120
+ </tr>
121
+
122
+ <tr>
123
+ <td>
124
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
125
+ </td>
126
+ <td>
127
+ <input type="text" name="mattributes[]" autocomplete="off" required
128
+ class="wf_validate_attr wf_mattributes wf_mattr" value="description" />
129
+ </td>
130
+ <td>
131
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
132
+ </td>
133
+ <td>
134
+ <select name="type[]" class="attr_type wfnoempty">
135
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
136
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
137
+ </select>
138
+ </td>
139
+ <td>
140
+ <select name="attributes[]" required="required"
141
+ class="wf_validate_attr wf_attr wf_attributes">
142
+ <?php echo $product->attributeDropdown('description'); ?>
143
+ </select>
144
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
145
+ style=" display: none;"/>
146
+ </td>
147
+ <td>
148
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
149
+ </td>
150
+ <td>
151
+ <select name="output_type[][]" class="outputType wfnoempty">
152
+ <option value="1">Default</option>
153
+ <option value="2">Strip Tags</option>
154
+ <option value="3">UTF-8 Encode</option>
155
+ <option value="4">htmlentities</option>
156
+ <option value="5">Integer</option>
157
+ <option value="6">Price</option>
158
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
159
+ <option value="8">CDATA</option>
160
+ </select>
161
+ <i class="dashicons dashicons-editor-expand expandType"></i>
162
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
163
+ </td>
164
+ <td>
165
+ <input type="text" name="limit[]" class="wf_ps" value="5000" />
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="google_product_category" />
179
+ </td>
180
+ <td>
181
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
182
+ </td>
183
+ <td>
184
+ <select name="type[]" class="attr_type wfnoempty">
185
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
186
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
187
+ </select>
188
+ </td>
189
+ <td>
190
+ <select name="attributes[]" required="required"
191
+ class="wf_validate_attr wf_attr wf_attributes">
192
+ <?php echo $product->attributeDropdown('product_type'); ?>
193
+ </select>
194
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
195
+ style=" display: none;"/>
196
+ </td>
197
+ <td>
198
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
199
+ </td>
200
+ <td>
201
+ <select name="output_type[][]" class="outputType wfnoempty">
202
+ <option value="1">Default</option>
203
+ <option value="2">Strip Tags</option>
204
+ <option value="3">UTF-8 Encode</option>
205
+ <option value="4">htmlentities</option>
206
+ <option value="5">Integer</option>
207
+ <option value="6">Price</option>
208
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
209
+ <option value="8">CDATA</option>
210
+ </select>
211
+ <i class="dashicons dashicons-editor-expand expandType"></i>
212
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
213
+ </td>
214
+ <td>
215
+ <input type="text" name="limit[]" class="wf_ps"/>
216
+ </td>
217
+ <td>
218
+ <i class="delRow dashicons dashicons-trash"></i>
219
+ </td>
220
+ </tr>
221
+
222
+ <tr>
223
+ <td>
224
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
225
+ </td>
226
+ <td>
227
+ <input type="text" name="mattributes[]" autocomplete="off" required
228
+ class="wf_validate_attr wf_mattributes wf_mattr" value="link" />
229
+ </td>
230
+ <td>
231
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
232
+ </td>
233
+ <td>
234
+ <select name="type[]" class="attr_type wfnoempty">
235
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
236
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
237
+ </select>
238
+ </td>
239
+ <td>
240
+ <select name="attributes[]" required="required"
241
+ class="wf_validate_attr wf_attr wf_attributes">
242
+ <?php echo $product->attributeDropdown('link'); ?>
243
+ </select>
244
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
245
+ style=" display: none;"/>
246
+ </td>
247
+ <td>
248
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
249
+ </td>
250
+ <td>
251
+ <select name="output_type[][]" class="outputType wfnoempty">
252
+ <option value="1">Default</option>
253
+ <option value="2">Strip Tags</option>
254
+ <option value="3">UTF-8 Encode</option>
255
+ <option value="4">htmlentities</option>
256
+ <option value="5">Integer</option>
257
+ <option value="6">Price</option>
258
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
259
+ <option value="8">CDATA</option>
260
+ </select>
261
+ <i class="dashicons dashicons-editor-expand expandType"></i>
262
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
263
+ </td>
264
+ <td>
265
+ <input type="text" name="limit[]" class="wf_ps" value="1024" />
266
+ </td>
267
+ <td>
268
+ <i class="delRow dashicons dashicons-trash"></i>
269
+ </td>
270
+ </tr>
271
+
272
+ <tr>
273
+ <td>
274
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
275
+ </td>
276
+ <td>
277
+ <input type="text" name="mattributes[]" autocomplete="off" required
278
+ class="wf_validate_attr wf_mattributes wf_mattr" value="image_link" />
279
+ </td>
280
+ <td>
281
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
282
+ </td>
283
+ <td>
284
+ <select name="type[]" class="attr_type wfnoempty">
285
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
286
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
287
+ </select>
288
+ </td>
289
+ <td>
290
+ <select name="attributes[]" required="required"
291
+ class="wf_validate_attr wf_attr wf_attributes">
292
+ <?php echo $product->attributeDropdown('image'); ?>
293
+ </select>
294
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
295
+ style=" display: none;"/>
296
+ </td>
297
+ <td>
298
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
299
+ </td>
300
+ <td>
301
+ <select name="output_type[][]" class="outputType wfnoempty">
302
+ <option value="1">Default</option>
303
+ <option value="2">Strip Tags</option>
304
+ <option value="3">UTF-8 Encode</option>
305
+ <option value="4">htmlentities</option>
306
+ <option value="5">Integer</option>
307
+ <option value="6">Price</option>
308
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
309
+ <option value="8">CDATA</option>
310
+ </select>
311
+ <i class="dashicons dashicons-editor-expand expandType"></i>
312
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
313
+ </td>
314
+ <td>
315
+ <input type="text" name="limit[]" class="wf_ps" value="2000" />
316
+ </td>
317
+ <td>
318
+ <i class="delRow dashicons dashicons-trash"></i>
319
+ </td>
320
+ </tr>
321
+
322
+ <tr>
323
+ <td>
324
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
325
+ </td>
326
+ <td>
327
+ <input type="text" name="mattributes[]" autocomplete="off" required
328
+ class="wf_validate_attr wf_mattributes wf_mattr" value="additional_image_link" />
329
+ </td>
330
+ <td>
331
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
332
+ </td>
333
+ <td>
334
+ <select name="type[]" class="attr_type wfnoempty">
335
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
336
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
337
+ </select>
338
+ </td>
339
+ <td>
340
+ <select name="attributes[]" required="required"
341
+ class="wf_validate_attr wf_attr wf_attributes">
342
+ <?php echo $product->attributeDropdown('images'); ?>
343
+ </select>
344
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
345
+ style=" display: none;"/>
346
+ </td>
347
+ <td>
348
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
349
+ </td>
350
+ <td>
351
+ <select name="output_type[][]" class="outputType wfnoempty">
352
+ <option value="1">Default</option>
353
+ <option value="2">Strip Tags</option>
354
+ <option value="3">UTF-8 Encode</option>
355
+ <option value="4">htmlentities</option>
356
+ <option value="5">Integer</option>
357
+ <option value="6">Price</option>
358
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
359
+ <option value="8">CDATA</option>
360
+ </select>
361
+ <i class="dashicons dashicons-editor-expand expandType"></i>
362
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
363
+ </td>
364
+ <td>
365
+ <input type="text" name="limit[]" class="wf_ps" value="2000" />
366
+ </td>
367
+ <td>
368
+ <i class="delRow dashicons dashicons-trash"></i>
369
+ </td>
370
+ </tr>
371
+
372
+ <tr>
373
+ <td>
374
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
375
+ </td>
376
+ <td>
377
+ <input type="text" name="mattributes[]" autocomplete="off" required
378
+ class="wf_validate_attr wf_mattributes wf_mattr" value="availability" />
379
+ </td>
380
+ <td>
381
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
382
+ </td>
383
+ <td>
384
+ <select name="type[]" class="attr_type wfnoempty">
385
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
386
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
387
+ </select>
388
+ </td>
389
+ <td>
390
+ <select name="attributes[]" required="required"
391
+ class="wf_validate_attr wf_attr wf_attributes">
392
+ <?php echo $product->attributeDropdown('availability'); ?>
393
+ </select>
394
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
395
+ style=" display: none;"/>
396
+ </td>
397
+ <td>
398
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
399
+ </td>
400
+ <td>
401
+ <select name="output_type[][]" class="outputType wfnoempty">
402
+ <option value="1">Default</option>
403
+ <option value="2">Strip Tags</option>
404
+ <option value="3">UTF-8 Encode</option>
405
+ <option value="4">htmlentities</option>
406
+ <option value="5">Integer</option>
407
+ <option value="6">Price</option>
408
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
409
+ <option value="8">CDATA</option>
410
+ </select>
411
+ <i class="dashicons dashicons-editor-expand expandType"></i>
412
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
413
+ </td>
414
+ <td>
415
+ <input type="text" name="limit[]" class="wf_ps" value="25" />
416
+ </td>
417
+ <td>
418
+ <i class="delRow dashicons dashicons-trash"></i>
419
+ </td>
420
+ </tr>
421
+
422
+ <tr>
423
+ <td>
424
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
425
+ </td>
426
+ <td>
427
+ <input type="text" name="mattributes[]" autocomplete="off" required
428
+ class="wf_validate_attr wf_mattributes wf_mattr" value="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 _e('Attribute', 'woo-feed'); ?></option>
436
+ <option value="pattern"><?php _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('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" value="14" />
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="sale_price" />
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 _e('Attribute', 'woo-feed'); ?></option>
486
+ <option value="pattern"><?php _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('sale_price'); ?>
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" value="50" />
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"
528
+ class="wf_validate_attr wf_mattributes wf_mattr" value="gtin" />
529
+ </td>
530
+ <td>
531
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
532
+ </td>
533
+ <td>
534
+ <select name="type[]" class="attr_type wfnoempty">
535
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
536
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
537
+ </select>
538
+ </td>
539
+ <td>
540
+ <select name="attributes[]"
541
+ class="wf_validate_attr wf_attr wf_attributes">
542
+ <?php echo $product->attributeDropdown(''); ?>
543
+ </select>
544
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
545
+ style=" display: none;"/>
546
+ </td>
547
+ <td>
548
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
549
+ </td>
550
+ <td>
551
+ <select name="output_type[][]" class="outputType wfnoempty">
552
+ <option value="1">Default</option>
553
+ <option value="2">Strip Tags</option>
554
+ <option value="3">UTF-8 Encode</option>
555
+ <option value="4">htmlentities</option>
556
+ <option value="5">Integer</option>
557
+ <option value="6">Price</option>
558
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
559
+ <option value="8">CDATA</option>
560
+ </select>
561
+ <i class="dashicons dashicons-editor-expand expandType"></i>
562
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
563
+ </td>
564
+ <td>
565
+ <input type="text" name="limit[]" class="wf_ps" value="50" />
566
+ </td>
567
+ <td>
568
+ <i class="delRow dashicons dashicons-trash"></i>
569
+ </td>
570
+ </tr>
571
+
572
+ <tr>
573
+ <td>
574
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
575
+ </td>
576
+ <td>
577
+ <input type="text" name="mattributes[]" autocomplete="off"
578
+ class="wf_validate_attr wf_mattributes wf_mattr" value="mpn" />
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 _e('Attribute', 'woo-feed'); ?></option>
586
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
587
+ </select>
588
+ </td>
589
+ <td>
590
+ <select name="attributes[]"
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" value="70" />
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"
628
+ class="wf_validate_attr wf_mattributes wf_mattr" value="brand" />
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 _e('Attribute', 'woo-feed'); ?></option>
636
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
637
+ </select>
638
+ </td>
639
+ <td>
640
+ <select name="attributes[]"
641
+ class="wf_validate_attr wf_attr wf_attributes">
642
+ <?php echo $product->attributeDropdown(''); ?>
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" value="70" />
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"
678
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_type" />
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 _e('Attribute', 'woo-feed'); ?></option>
686
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
687
+ </select>
688
+ </td>
689
+ <td>
690
+ <select name="attributes[]"
691
+ class="wf_validate_attr wf_attr wf_attributes">
692
+ <?php echo $product->attributeDropdown(); ?>
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" value="500" />
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"
728
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_type_key" />
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 _e('Attribute', 'woo-feed'); ?></option>
736
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
737
+ </select>
738
+ </td>
739
+ <td>
740
+ <select name="attributes[]"
741
+ class="wf_validate_attr wf_attr wf_attributes">
742
+ <?php echo $product->attributeDropdown(''); ?>
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" value="500" />
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"
778
+ class="wf_validate_attr wf_mattributes wf_mattr" value="number_of_reviews" />
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 _e('Attribute', 'woo-feed'); ?></option>
786
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
787
+ </select>
788
+ </td>
789
+ <td>
790
+ <select name="attributes[]"
791
+ class="wf_validate_attr wf_attr wf_attributes">
792
+ <?php echo $product->attributeDropdown(''); ?>
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" value="8" />
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"
828
+ class="wf_validate_attr wf_mattributes wf_mattr" value="product_rating" />
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 _e('Attribute', 'woo-feed'); ?></option>
836
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
837
+ </select>
838
+ </td>
839
+ <td>
840
+ <select name="attributes[]"
841
+ class="wf_validate_attr wf_attr wf_attributes">
842
+ <?php echo $product->attributeDropdown(''); ?>
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" value="8" />
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"
878
+ class="wf_validate_attr wf_mattributes wf_mattr" value="filters" />
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 _e('Attribute', 'woo-feed'); ?></option>
886
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
887
+ </select>
888
+ </td>
889
+ <td>
890
+ <select name="attributes[]"
891
+ class="wf_validate_attr wf_attr wf_attributes">
892
+ <?php echo $product->attributeDropdown(''); ?>
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" value="2000" />
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"
928
+ class="wf_validate_attr wf_mattributes wf_mattr" value="adult" />
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 _e('Attribute', 'woo-feed'); ?></option>
936
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
937
+ </select>
938
+ </td>
939
+ <td>
940
+ <select name="attributes[]"
941
+ class="wf_validate_attr wf_attr wf_attributes">
942
+ <?php echo $product->attributeDropdown(''); ?>
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
+ </tbody>
972
+ <tfoot>
973
+ <tr>
974
+ <td>
975
+ <button type="button" class="button-small button-primary" id="wf_newRow">
976
+ <?php _e('Add New Row', 'woo-feed'); ?>
977
+ </button>
978
+ </td>
979
+ <td colspan="8">
980
+
981
+ </td>
982
+ </tr>
983
+ </tfoot>
984
+ </table>
985
+ <table class=" widefat fixed">
986
+ <tr>
987
+ <td align="left" class="">
988
+ <div class="makeFeedResponse"></div>
989
+ <div class="makeFeedComplete"></div>
990
+ </td>
991
+ <td align="right">
992
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
993
+ </td>
994
+ </tr>
995
+ </table>
996
+ </div>
997
+ </li>
998
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
999
+
1000
+ </ul>
admin/partials/templates/crowdfox_add-feed.php CHANGED
@@ -1,737 +1,737 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="sku "/>
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 _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown('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[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- <tr>
72
- <td>
73
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
- </td>
75
- <td>
76
- <input type="text" name="mattributes[]" autocomplete="off" required
77
- class="wf_validate_attr wf_mattributes wf_mattr" value="image"/>
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 _e('Attribute', 'woo-feed'); ?></option>
85
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
- </select>
87
- </td>
88
- <td>
89
- <select name="attributes[]" required="required"
90
- class="wf_validate_attr wf_attr wf_attributes">
91
- <?php echo $product->attributeDropdown('image'); ?>
92
- </select>
93
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
- style=" display: none;"/>
95
- </td>
96
- <td>
97
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
- </td>
99
- <td>
100
- <select name="output_type[][]" class="outputType wfnoempty">
101
- <option value="1">Default</option>
102
- <option value="2">Strip Tags</option>
103
- <option value="3">UTF-8 Encode</option>
104
- <option value="4">htmlentities</option>
105
- <option value="5">Integer</option>
106
- <option value="6">Price</option>
107
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
- <option value="8">CDATA</option>
109
- </select>
110
- <i class="dashicons dashicons-editor-expand expandType"></i>
111
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
- </td>
113
- <td>
114
- <input type="text" name="limit[]" class="wf_ps"/>
115
- </td>
116
- <td>
117
- <i class="delRow dashicons dashicons-trash"></i>
118
- </td>
119
- </tr>
120
- <tr>
121
- <td>
122
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
- </td>
124
- <td>
125
- <input type="text" name="mattributes[]" autocomplete="off" required
126
- class="wf_validate_attr wf_mattributes wf_mattr" value="name"/>
127
- </td>
128
- <td>
129
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
- </td>
131
- <td>
132
- <select name="type[]" class="attr_type wfnoempty">
133
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
- </select>
136
- </td>
137
- <td>
138
- <select name="attributes[]" required="required"
139
- class="wf_validate_attr wf_attr wf_attributes">
140
- <?php echo $product->attributeDropdown('title'); ?>
141
- </select>
142
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
- style=" display: none;"/>
144
- </td>
145
- <td>
146
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
- </td>
148
- <td>
149
- <select name="output_type[][]" class="outputType wfnoempty">
150
- <option value="1">Default</option>
151
- <option value="2">Strip Tags</option>
152
- <option value="3">UTF-8 Encode</option>
153
- <option value="4">htmlentities</option>
154
- <option value="5">Integer</option>
155
- <option value="6">Price</option>
156
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
- <option value="8">CDATA</option>
158
- </select>
159
- <i class="dashicons dashicons-editor-expand expandType"></i>
160
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
- </td>
162
- <td>
163
- <input type="text" name="limit[]" class="wf_ps"/>
164
- </td>
165
- <td>
166
- <i class="delRow dashicons dashicons-trash"></i>
167
- </td>
168
- </tr>
169
- <tr>
170
- <td>
171
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
- </td>
173
- <td>
174
- <input type="text" name="mattributes[]" autocomplete="off" required
175
- class="wf_validate_attr wf_mattributes wf_mattr" value="price"/>
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 _e('Attribute', 'woo-feed'); ?></option>
183
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
- </select>
185
- </td>
186
- <td>
187
- <select name="attributes[]" required="required"
188
- class="wf_validate_attr wf_attr wf_attributes">
189
- <?php echo $product->attributeDropdown('price'); ?>
190
- </select>
191
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
- style=" display: none;"/>
193
- </td>
194
- <td>
195
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
- </td>
197
- <td>
198
- <select name="output_type[][]" class="outputType wfnoempty">
199
- <option value="1">Default</option>
200
- <option value="2">Strip Tags</option>
201
- <option value="3">UTF-8 Encode</option>
202
- <option value="4">htmlentities</option>
203
- <option value="5">Integer</option>
204
- <option value="6">Price</option>
205
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
- <option value="8">CDATA</option>
207
- </select>
208
- <i class="dashicons dashicons-editor-expand expandType"></i>
209
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
- </td>
211
- <td>
212
- <input type="text" name="limit[]" class="wf_ps"/>
213
- </td>
214
- <td>
215
- <i class="delRow dashicons dashicons-trash"></i>
216
- </td>
217
- </tr>
218
- <tr>
219
- <td>
220
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
- </td>
222
- <td>
223
- <input type="text" name="mattributes[]" autocomplete="off" required
224
- class="wf_validate_attr wf_mattributes wf_mattr" value="ean"/>
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 _e('Attribute', 'woo-feed'); ?></option>
232
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
- </select>
234
- </td>
235
- <td>
236
- <select name="attributes[]" required="required"
237
- class="wf_validate_attr wf_attr wf_attributes">
238
- <?php echo $product->attributeDropdown(); ?>
239
- </select>
240
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
- style=" display: none;"/>
242
- </td>
243
- <td>
244
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
- </td>
246
- <td>
247
- <select name="output_type[][]" class="outputType wfnoempty">
248
- <option value="1">Default</option>
249
- <option value="2">Strip Tags</option>
250
- <option value="3">UTF-8 Encode</option>
251
- <option value="4">htmlentities</option>
252
- <option value="5">Integer</option>
253
- <option value="6">Price</option>
254
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
- <option value="8">CDATA</option>
256
- </select>
257
- <i class="dashicons dashicons-editor-expand expandType"></i>
258
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
- </td>
260
- <td>
261
- <input type="text" name="limit[]" class="wf_ps"/>
262
- </td>
263
- <td>
264
- <i class="delRow dashicons dashicons-trash"></i>
265
- </td>
266
- </tr>
267
- <tr>
268
- <td>
269
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
- </td>
271
- <td>
272
- <input type="text" name="mattributes[]" autocomplete="off" required
273
- class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_time"/>
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 _e('Attribute', 'woo-feed'); ?></option>
281
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
282
- </select>
283
- </td>
284
- <td>
285
- <select name="attributes[]" required="required" style=" display: none;"
286
- class="wf_validate_attr wf_attr wf_attributes">
287
- <?php echo $product->attributeDropdown(); ?>
288
- </select>
289
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
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[][]" class="outputType wfnoempty">
297
- <option value="1">Default</option>
298
- <option value="2">Strip Tags</option>
299
- <option value="3">UTF-8 Encode</option>
300
- <option value="4">htmlentities</option>
301
- <option value="5">Integer</option>
302
- <option value="6">Price</option>
303
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
- <option value="8">CDATA</option>
305
- </select>
306
- <i class="dashicons dashicons-editor-expand expandType"></i>
307
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
- </td>
309
- <td>
310
- <input type="text" name="limit[]" class="wf_ps"/>
311
- </td>
312
- <td>
313
- <i class="delRow dashicons dashicons-trash"></i>
314
- </td>
315
- </tr>
316
- <tr>
317
- <td>
318
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
- </td>
320
- <td>
321
- <input type="text" name="mattributes[]" autocomplete="off" required
322
- class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_cost"/>
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 _e('Attribute', 'woo-feed'); ?></option>
330
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
331
- </select>
332
- </td>
333
- <td>
334
- <select name="attributes[]" required="required" style=" display: none;"
335
- class="wf_validate_attr wf_attr wf_attributes">
336
- <?php echo $product->attributeDropdown(); ?>
337
- </select>
338
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
339
- />
340
- </td>
341
- <td>
342
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
- </td>
344
- <td>
345
- <select name="output_type[][]" class="outputType wfnoempty">
346
- <option value="1">Default</option>
347
- <option value="2">Strip Tags</option>
348
- <option value="3">UTF-8 Encode</option>
349
- <option value="4">htmlentities</option>
350
- <option value="5">Integer</option>
351
- <option value="6">Price</option>
352
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
- <option value="8">CDATA</option>
354
- </select>
355
- <i class="dashicons dashicons-editor-expand expandType"></i>
356
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
- </td>
358
- <td>
359
- <input type="text" name="limit[]" class="wf_ps"/>
360
- </td>
361
- <td>
362
- <i class="delRow dashicons dashicons-trash"></i>
363
- </td>
364
- </tr>
365
- <tr>
366
- <td>
367
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
368
- </td>
369
- <td>
370
- <input type="text" name="mattributes[]" autocomplete="off" required
371
- class="wf_validate_attr wf_mattributes wf_mattr" value="mpn"/>
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 _e('Attribute', 'woo-feed'); ?></option>
379
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
380
- </select>
381
- </td>
382
- <td>
383
- <select name="attributes[]" required="required"
384
- class="wf_validate_attr wf_attr wf_attributes">
385
- <?php echo $product->attributeDropdown(); ?>
386
- </select>
387
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
- style=" display: none;"/>
389
- </td>
390
- <td>
391
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
- </td>
393
- <td>
394
- <select name="output_type[][]" class="outputType wfnoempty">
395
- <option value="1">Default</option>
396
- <option value="2">Strip Tags</option>
397
- <option value="3">UTF-8 Encode</option>
398
- <option value="4">htmlentities</option>
399
- <option value="5">Integer</option>
400
- <option value="6">Price</option>
401
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
- <option value="8">CDATA</option>
403
- </select>
404
- <i class="dashicons dashicons-editor-expand expandType"></i>
405
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
- </td>
407
- <td>
408
- <input type="text" name="limit[]" class="wf_ps"/>
409
- </td>
410
- <td>
411
- <i class="delRow dashicons dashicons-trash"></i>
412
- </td>
413
- </tr>
414
- <tr>
415
- <td>
416
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
- </td>
418
- <td>
419
- <input type="text" name="mattributes[]" autocomplete="off" required
420
- class="wf_validate_attr wf_mattributes wf_mattr" value="link"/>
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 _e('Attribute', 'woo-feed'); ?></option>
428
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
429
- </select>
430
- </td>
431
- <td>
432
- <select name="attributes[]" required="required"
433
- class="wf_validate_attr wf_attr wf_attributes">
434
- <?php echo $product->attributeDropdown('link'); ?>
435
- </select>
436
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
- style=" display: none;"/>
438
- </td>
439
- <td>
440
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
- </td>
442
- <td>
443
- <select name="output_type[][]" class="outputType wfnoempty">
444
- <option value="1">Default</option>
445
- <option value="2">Strip Tags</option>
446
- <option value="3">UTF-8 Encode</option>
447
- <option value="4">htmlentities</option>
448
- <option value="5">Integer</option>
449
- <option value="6">Price</option>
450
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
- <option value="8">CDATA</option>
452
- </select>
453
- <i class="dashicons dashicons-editor-expand expandType"></i>
454
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
- </td>
456
- <td>
457
- <input type="text" name="limit[]" class="wf_ps"/>
458
- </td>
459
- <td>
460
- <i class="delRow dashicons dashicons-trash"></i>
461
- </td>
462
- </tr>
463
- <tr>
464
- <td>
465
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
- </td>
467
- <td>
468
- <input type="text" name="mattributes[]" autocomplete="off" required
469
- class="wf_validate_attr wf_mattributes wf_mattr" value="desc"/>
470
- </td>
471
- <td>
472
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
473
- </td>
474
- <td>
475
- <select name="type[]" class="attr_type wfnoempty">
476
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
477
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
478
- </select>
479
- </td>
480
- <td>
481
- <select name="attributes[]" required="required"
482
- class="wf_validate_attr wf_attr wf_attributes">
483
- <?php echo $product->attributeDropdown('description'); ?>
484
- </select>
485
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
- style=" display: none;"/>
487
- </td>
488
- <td>
489
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
- </td>
491
- <td>
492
- <select name="output_type[][]" class="outputType wfnoempty">
493
- <option value="1">Default</option>
494
- <option value="2">Strip Tags</option>
495
- <option value="3">UTF-8 Encode</option>
496
- <option value="4">htmlentities</option>
497
- <option value="5">Integer</option>
498
- <option value="6">Price</option>
499
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
- <option value="8">CDATA</option>
501
- </select>
502
- <i class="dashicons dashicons-editor-expand expandType"></i>
503
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
- </td>
505
- <td>
506
- <input type="text" name="limit[]" class="wf_ps"/>
507
- </td>
508
- <td>
509
- <i class="delRow dashicons dashicons-trash"></i>
510
- </td>
511
- </tr>
512
- <tr>
513
- <td>
514
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
- </td>
516
- <td>
517
- <input type="text" name="mattributes[]" autocomplete="off" required
518
- class="wf_validate_attr wf_mattributes wf_mattr" value="sell_max"/>
519
- </td>
520
- <td>
521
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
522
- </td>
523
- <td>
524
- <select name="type[]" class="attr_type wfnoempty">
525
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
526
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
527
- </select>
528
- </td>
529
- <td>
530
- <select name="attributes[]" required="required"
531
- class="wf_validate_attr wf_attr wf_attributes">
532
- <?php echo $product->attributeDropdown('quantity'); ?>
533
- </select>
534
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
- style=" display: none;"/>
536
- </td>
537
- <td>
538
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
539
- </td>
540
- <td>
541
- <select name="output_type[][]" class="outputType wfnoempty">
542
- <option value="1">Default</option>
543
- <option value="2">Strip Tags</option>
544
- <option value="3">UTF-8 Encode</option>
545
- <option value="4">htmlentities</option>
546
- <option value="5">Integer</option>
547
- <option value="6">Price</option>
548
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
- <option value="8">CDATA</option>
550
- </select>
551
- <i class="dashicons dashicons-editor-expand expandType"></i>
552
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
- </td>
554
- <td>
555
- <input type="text" name="limit[]" class="wf_ps"/>
556
- </td>
557
- <td>
558
- <i class="delRow dashicons dashicons-trash"></i>
559
- </td>
560
- </tr>
561
- <tr>
562
- <td>
563
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
564
- </td>
565
- <td>
566
- <input type="text" name="mattributes[]" autocomplete="off" required
567
- class="wf_validate_attr wf_mattributes wf_mattr" value="shop_cat"/>
568
- </td>
569
- <td>
570
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
571
- </td>
572
- <td>
573
- <select name="type[]" class="attr_type wfnoempty">
574
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
575
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
576
- </select>
577
- </td>
578
- <td>
579
- <select name="attributes[]" required="required"
580
- class="wf_validate_attr wf_attr wf_attributes">
581
- <?php echo $product->attributeDropdown('product_type'); ?>
582
- </select>
583
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
584
- style=" display: none;"/>
585
- </td>
586
- <td>
587
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
588
- </td>
589
- <td>
590
- <select name="output_type[][]" class="outputType wfnoempty">
591
- <option value="1">Default</option>
592
- <option value="2">Strip Tags</option>
593
- <option value="3">UTF-8 Encode</option>
594
- <option value="4">htmlentities</option>
595
- <option value="5">Integer</option>
596
- <option value="6">Price</option>
597
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
598
- <option value="8">CDATA</option>
599
- </select>
600
- <i class="dashicons dashicons-editor-expand expandType"></i>
601
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
602
- </td>
603
- <td>
604
- <input type="text" name="limit[]" class="wf_ps"/>
605
- </td>
606
- <td>
607
- <i class="delRow dashicons dashicons-trash"></i>
608
- </td>
609
- </tr>
610
- <tr>
611
- <td>
612
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
613
- </td>
614
- <td>
615
- <input type="text" name="mattributes[]" autocomplete="off" required
616
- class="wf_validate_attr wf_mattributes wf_mattr" value="obl_info"/>
617
- </td>
618
- <td>
619
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
620
- </td>
621
- <td>
622
- <select name="type[]" class="attr_type wfnoempty">
623
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
624
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
625
- </select>
626
- </td>
627
- <td>
628
- <select name="attributes[]" required="required"
629
- class="wf_validate_attr wf_attr wf_attributes">
630
- <?php echo $product->attributeDropdown(); ?>
631
- </select>
632
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
633
- style=" display: none;"/>
634
- </td>
635
- <td>
636
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
637
- </td>
638
- <td>
639
- <select name="output_type[][]" class="outputType wfnoempty">
640
- <option value="1">Default</option>
641
- <option value="2">Strip Tags</option>
642
- <option value="3">UTF-8 Encode</option>
643
- <option value="4">htmlentities</option>
644
- <option value="5">Integer</option>
645
- <option value="6">Price</option>
646
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
647
- <option value="8">CDATA</option>
648
- </select>
649
- <i class="dashicons dashicons-editor-expand expandType"></i>
650
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
651
- </td>
652
- <td>
653
- <input type="text" name="limit[]" class="wf_ps"/>
654
- </td>
655
- <td>
656
- <i class="delRow dashicons dashicons-trash"></i>
657
- </td>
658
- </tr>
659
- <tr>
660
- <td>
661
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
662
- </td>
663
- <td>
664
- <input type="text" name="mattributes[]" autocomplete="off" required
665
- class="wf_validate_attr wf_mattributes wf_mattr" value="brand"/>
666
- </td>
667
- <td>
668
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
669
- </td>
670
- <td>
671
- <select name="type[]" class="attr_type wfnoempty">
672
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
673
- <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
674
- </select>
675
- </td>
676
- <td>
677
- <select name="attributes[]" required="required" style=" display: none;"
678
- class="wf_validate_attr wf_attr wf_attributes">
679
- <?php echo $product->attributeDropdown(); ?>
680
- </select>
681
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
682
- />
683
- </td>
684
- <td>
685
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
686
- </td>
687
- <td>
688
- <select name="output_type[][]" class="outputType wfnoempty">
689
- <option value="1">Default</option>
690
- <option value="2">Strip Tags</option>
691
- <option value="3">UTF-8 Encode</option>
692
- <option value="4">htmlentities</option>
693
- <option value="5">Integer</option>
694
- <option value="6">Price</option>
695
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
696
- <option value="8">CDATA</option>
697
- </select>
698
- <i class="dashicons dashicons-editor-expand expandType"></i>
699
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
700
- </td>
701
- <td>
702
- <input type="text" name="limit[]" class="wf_ps"/>
703
- </td>
704
- <td>
705
- <i class="delRow dashicons dashicons-trash"></i>
706
- </td>
707
- </tr>
708
- </tbody>
709
- <tfoot>
710
- <tr>
711
- <td>
712
- <button type="button" class="button-small button-primary" id="wf_newRow">
713
- <?php _e('Add New Row', 'woo-feed'); ?>
714
- </button>
715
- </td>
716
- <td colspan="8">
717
-
718
- </td>
719
- </tr>
720
- </tfoot>
721
- </table>
722
- <table class=" widefat fixed">
723
- <tr>
724
- <td align="left" class="">
725
- <div class="makeFeedResponse"></div>
726
- <div class="makeFeedComplete"></div>
727
- </td>
728
- <td align="right">
729
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
730
- </td>
731
- </tr>
732
- </table>
733
- </div>
734
- </li>
735
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
736
-
737
  </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr" value="sku "/>
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 _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown('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[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ <tr>
72
+ <td>
73
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
74
+ </td>
75
+ <td>
76
+ <input type="text" name="mattributes[]" autocomplete="off" required
77
+ class="wf_validate_attr wf_mattributes wf_mattr" value="image"/>
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 _e('Attribute', 'woo-feed'); ?></option>
85
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
86
+ </select>
87
+ </td>
88
+ <td>
89
+ <select name="attributes[]" required="required"
90
+ class="wf_validate_attr wf_attr wf_attributes">
91
+ <?php echo $product->attributeDropdown('image'); ?>
92
+ </select>
93
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
94
+ style=" display: none;"/>
95
+ </td>
96
+ <td>
97
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
98
+ </td>
99
+ <td>
100
+ <select name="output_type[][]" class="outputType wfnoempty">
101
+ <option value="1">Default</option>
102
+ <option value="2">Strip Tags</option>
103
+ <option value="3">UTF-8 Encode</option>
104
+ <option value="4">htmlentities</option>
105
+ <option value="5">Integer</option>
106
+ <option value="6">Price</option>
107
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
108
+ <option value="8">CDATA</option>
109
+ </select>
110
+ <i class="dashicons dashicons-editor-expand expandType"></i>
111
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
112
+ </td>
113
+ <td>
114
+ <input type="text" name="limit[]" class="wf_ps"/>
115
+ </td>
116
+ <td>
117
+ <i class="delRow dashicons dashicons-trash"></i>
118
+ </td>
119
+ </tr>
120
+ <tr>
121
+ <td>
122
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
123
+ </td>
124
+ <td>
125
+ <input type="text" name="mattributes[]" autocomplete="off" required
126
+ class="wf_validate_attr wf_mattributes wf_mattr" value="name"/>
127
+ </td>
128
+ <td>
129
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
130
+ </td>
131
+ <td>
132
+ <select name="type[]" class="attr_type wfnoempty">
133
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
134
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
135
+ </select>
136
+ </td>
137
+ <td>
138
+ <select name="attributes[]" required="required"
139
+ class="wf_validate_attr wf_attr wf_attributes">
140
+ <?php echo $product->attributeDropdown('title'); ?>
141
+ </select>
142
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
143
+ style=" display: none;"/>
144
+ </td>
145
+ <td>
146
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
147
+ </td>
148
+ <td>
149
+ <select name="output_type[][]" class="outputType wfnoempty">
150
+ <option value="1">Default</option>
151
+ <option value="2">Strip Tags</option>
152
+ <option value="3">UTF-8 Encode</option>
153
+ <option value="4">htmlentities</option>
154
+ <option value="5">Integer</option>
155
+ <option value="6">Price</option>
156
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
157
+ <option value="8">CDATA</option>
158
+ </select>
159
+ <i class="dashicons dashicons-editor-expand expandType"></i>
160
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
161
+ </td>
162
+ <td>
163
+ <input type="text" name="limit[]" class="wf_ps"/>
164
+ </td>
165
+ <td>
166
+ <i class="delRow dashicons dashicons-trash"></i>
167
+ </td>
168
+ </tr>
169
+ <tr>
170
+ <td>
171
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
172
+ </td>
173
+ <td>
174
+ <input type="text" name="mattributes[]" autocomplete="off" required
175
+ class="wf_validate_attr wf_mattributes wf_mattr" value="price"/>
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 _e('Attribute', 'woo-feed'); ?></option>
183
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
184
+ </select>
185
+ </td>
186
+ <td>
187
+ <select name="attributes[]" required="required"
188
+ class="wf_validate_attr wf_attr wf_attributes">
189
+ <?php echo $product->attributeDropdown('price'); ?>
190
+ </select>
191
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
192
+ style=" display: none;"/>
193
+ </td>
194
+ <td>
195
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
196
+ </td>
197
+ <td>
198
+ <select name="output_type[][]" class="outputType wfnoempty">
199
+ <option value="1">Default</option>
200
+ <option value="2">Strip Tags</option>
201
+ <option value="3">UTF-8 Encode</option>
202
+ <option value="4">htmlentities</option>
203
+ <option value="5">Integer</option>
204
+ <option value="6">Price</option>
205
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
206
+ <option value="8">CDATA</option>
207
+ </select>
208
+ <i class="dashicons dashicons-editor-expand expandType"></i>
209
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
210
+ </td>
211
+ <td>
212
+ <input type="text" name="limit[]" class="wf_ps"/>
213
+ </td>
214
+ <td>
215
+ <i class="delRow dashicons dashicons-trash"></i>
216
+ </td>
217
+ </tr>
218
+ <tr>
219
+ <td>
220
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
221
+ </td>
222
+ <td>
223
+ <input type="text" name="mattributes[]" autocomplete="off" required
224
+ class="wf_validate_attr wf_mattributes wf_mattr" value="ean"/>
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 _e('Attribute', 'woo-feed'); ?></option>
232
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
233
+ </select>
234
+ </td>
235
+ <td>
236
+ <select name="attributes[]" required="required"
237
+ class="wf_validate_attr wf_attr wf_attributes">
238
+ <?php echo $product->attributeDropdown(); ?>
239
+ </select>
240
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
241
+ style=" display: none;"/>
242
+ </td>
243
+ <td>
244
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
245
+ </td>
246
+ <td>
247
+ <select name="output_type[][]" class="outputType wfnoempty">
248
+ <option value="1">Default</option>
249
+ <option value="2">Strip Tags</option>
250
+ <option value="3">UTF-8 Encode</option>
251
+ <option value="4">htmlentities</option>
252
+ <option value="5">Integer</option>
253
+ <option value="6">Price</option>
254
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
255
+ <option value="8">CDATA</option>
256
+ </select>
257
+ <i class="dashicons dashicons-editor-expand expandType"></i>
258
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
259
+ </td>
260
+ <td>
261
+ <input type="text" name="limit[]" class="wf_ps"/>
262
+ </td>
263
+ <td>
264
+ <i class="delRow dashicons dashicons-trash"></i>
265
+ </td>
266
+ </tr>
267
+ <tr>
268
+ <td>
269
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
270
+ </td>
271
+ <td>
272
+ <input type="text" name="mattributes[]" autocomplete="off" required
273
+ class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_time"/>
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 _e('Attribute', 'woo-feed'); ?></option>
281
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
282
+ </select>
283
+ </td>
284
+ <td>
285
+ <select name="attributes[]" required="required" style=" display: none;"
286
+ class="wf_validate_attr wf_attr wf_attributes">
287
+ <?php echo $product->attributeDropdown(); ?>
288
+ </select>
289
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
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[][]" class="outputType wfnoempty">
297
+ <option value="1">Default</option>
298
+ <option value="2">Strip Tags</option>
299
+ <option value="3">UTF-8 Encode</option>
300
+ <option value="4">htmlentities</option>
301
+ <option value="5">Integer</option>
302
+ <option value="6">Price</option>
303
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
304
+ <option value="8">CDATA</option>
305
+ </select>
306
+ <i class="dashicons dashicons-editor-expand expandType"></i>
307
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
308
+ </td>
309
+ <td>
310
+ <input type="text" name="limit[]" class="wf_ps"/>
311
+ </td>
312
+ <td>
313
+ <i class="delRow dashicons dashicons-trash"></i>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td>
318
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
319
+ </td>
320
+ <td>
321
+ <input type="text" name="mattributes[]" autocomplete="off" required
322
+ class="wf_validate_attr wf_mattributes wf_mattr" value="dlv_cost"/>
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 _e('Attribute', 'woo-feed'); ?></option>
330
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
331
+ </select>
332
+ </td>
333
+ <td>
334
+ <select name="attributes[]" required="required" style=" display: none;"
335
+ class="wf_validate_attr wf_attr wf_attributes">
336
+ <?php echo $product->attributeDropdown(); ?>
337
+ </select>
338
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
339
+ />
340
+ </td>
341
+ <td>
342
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
343
+ </td>
344
+ <td>
345
+ <select name="output_type[][]" class="outputType wfnoempty">
346
+ <option value="1">Default</option>
347
+ <option value="2">Strip Tags</option>
348
+ <option value="3">UTF-8 Encode</option>
349
+ <option value="4">htmlentities</option>
350
+ <option value="5">Integer</option>
351
+ <option value="6">Price</option>
352
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
353
+ <option value="8">CDATA</option>
354
+ </select>
355
+ <i class="dashicons dashicons-editor-expand expandType"></i>
356
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
357
+ </td>
358
+ <td>
359
+ <input type="text" name="limit[]" class="wf_ps"/>
360
+ </td>
361
+ <td>
362
+ <i class="delRow dashicons dashicons-trash"></i>
363
+ </td>
364
+ </tr>
365
+ <tr>
366
+ <td>
367
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
368
+ </td>
369
+ <td>
370
+ <input type="text" name="mattributes[]" autocomplete="off" required
371
+ class="wf_validate_attr wf_mattributes wf_mattr" value="mpn"/>
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 _e('Attribute', 'woo-feed'); ?></option>
379
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
380
+ </select>
381
+ </td>
382
+ <td>
383
+ <select name="attributes[]" required="required"
384
+ class="wf_validate_attr wf_attr wf_attributes">
385
+ <?php echo $product->attributeDropdown(); ?>
386
+ </select>
387
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
388
+ style=" display: none;"/>
389
+ </td>
390
+ <td>
391
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
392
+ </td>
393
+ <td>
394
+ <select name="output_type[][]" class="outputType wfnoempty">
395
+ <option value="1">Default</option>
396
+ <option value="2">Strip Tags</option>
397
+ <option value="3">UTF-8 Encode</option>
398
+ <option value="4">htmlentities</option>
399
+ <option value="5">Integer</option>
400
+ <option value="6">Price</option>
401
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
402
+ <option value="8">CDATA</option>
403
+ </select>
404
+ <i class="dashicons dashicons-editor-expand expandType"></i>
405
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
406
+ </td>
407
+ <td>
408
+ <input type="text" name="limit[]" class="wf_ps"/>
409
+ </td>
410
+ <td>
411
+ <i class="delRow dashicons dashicons-trash"></i>
412
+ </td>
413
+ </tr>
414
+ <tr>
415
+ <td>
416
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
417
+ </td>
418
+ <td>
419
+ <input type="text" name="mattributes[]" autocomplete="off" required
420
+ class="wf_validate_attr wf_mattributes wf_mattr" value="link"/>
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 _e('Attribute', 'woo-feed'); ?></option>
428
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
429
+ </select>
430
+ </td>
431
+ <td>
432
+ <select name="attributes[]" required="required"
433
+ class="wf_validate_attr wf_attr wf_attributes">
434
+ <?php echo $product->attributeDropdown('link'); ?>
435
+ </select>
436
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
437
+ style=" display: none;"/>
438
+ </td>
439
+ <td>
440
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
441
+ </td>
442
+ <td>
443
+ <select name="output_type[][]" class="outputType wfnoempty">
444
+ <option value="1">Default</option>
445
+ <option value="2">Strip Tags</option>
446
+ <option value="3">UTF-8 Encode</option>
447
+ <option value="4">htmlentities</option>
448
+ <option value="5">Integer</option>
449
+ <option value="6">Price</option>
450
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
451
+ <option value="8">CDATA</option>
452
+ </select>
453
+ <i class="dashicons dashicons-editor-expand expandType"></i>
454
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
455
+ </td>
456
+ <td>
457
+ <input type="text" name="limit[]" class="wf_ps"/>
458
+ </td>
459
+ <td>
460
+ <i class="delRow dashicons dashicons-trash"></i>
461
+ </td>
462
+ </tr>
463
+ <tr>
464
+ <td>
465
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
466
+ </td>
467
+ <td>
468
+ <input type="text" name="mattributes[]" autocomplete="off" required
469
+ class="wf_validate_attr wf_mattributes wf_mattr" value="desc"/>
470
+ </td>
471
+ <td>
472
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
473
+ </td>
474
+ <td>
475
+ <select name="type[]" class="attr_type wfnoempty">
476
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
477
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
478
+ </select>
479
+ </td>
480
+ <td>
481
+ <select name="attributes[]" required="required"
482
+ class="wf_validate_attr wf_attr wf_attributes">
483
+ <?php echo $product->attributeDropdown('description'); ?>
484
+ </select>
485
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
486
+ style=" display: none;"/>
487
+ </td>
488
+ <td>
489
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
490
+ </td>
491
+ <td>
492
+ <select name="output_type[][]" class="outputType wfnoempty">
493
+ <option value="1">Default</option>
494
+ <option value="2">Strip Tags</option>
495
+ <option value="3">UTF-8 Encode</option>
496
+ <option value="4">htmlentities</option>
497
+ <option value="5">Integer</option>
498
+ <option value="6">Price</option>
499
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
500
+ <option value="8">CDATA</option>
501
+ </select>
502
+ <i class="dashicons dashicons-editor-expand expandType"></i>
503
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
504
+ </td>
505
+ <td>
506
+ <input type="text" name="limit[]" class="wf_ps"/>
507
+ </td>
508
+ <td>
509
+ <i class="delRow dashicons dashicons-trash"></i>
510
+ </td>
511
+ </tr>
512
+ <tr>
513
+ <td>
514
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
515
+ </td>
516
+ <td>
517
+ <input type="text" name="mattributes[]" autocomplete="off" required
518
+ class="wf_validate_attr wf_mattributes wf_mattr" value="sell_max"/>
519
+ </td>
520
+ <td>
521
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
522
+ </td>
523
+ <td>
524
+ <select name="type[]" class="attr_type wfnoempty">
525
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
526
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
527
+ </select>
528
+ </td>
529
+ <td>
530
+ <select name="attributes[]" required="required"
531
+ class="wf_validate_attr wf_attr wf_attributes">
532
+ <?php echo $product->attributeDropdown('quantity'); ?>
533
+ </select>
534
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
535
+ style=" display: none;"/>
536
+ </td>
537
+ <td>
538
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
539
+ </td>
540
+ <td>
541
+ <select name="output_type[][]" class="outputType wfnoempty">
542
+ <option value="1">Default</option>
543
+ <option value="2">Strip Tags</option>
544
+ <option value="3">UTF-8 Encode</option>
545
+ <option value="4">htmlentities</option>
546
+ <option value="5">Integer</option>
547
+ <option value="6">Price</option>
548
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
549
+ <option value="8">CDATA</option>
550
+ </select>
551
+ <i class="dashicons dashicons-editor-expand expandType"></i>
552
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
553
+ </td>
554
+ <td>
555
+ <input type="text" name="limit[]" class="wf_ps"/>
556
+ </td>
557
+ <td>
558
+ <i class="delRow dashicons dashicons-trash"></i>
559
+ </td>
560
+ </tr>
561
+ <tr>
562
+ <td>
563
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
564
+ </td>
565
+ <td>
566
+ <input type="text" name="mattributes[]" autocomplete="off" required
567
+ class="wf_validate_attr wf_mattributes wf_mattr" value="shop_cat"/>
568
+ </td>
569
+ <td>
570
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
571
+ </td>
572
+ <td>
573
+ <select name="type[]" class="attr_type wfnoempty">
574
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
575
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
576
+ </select>
577
+ </td>
578
+ <td>
579
+ <select name="attributes[]" required="required"
580
+ class="wf_validate_attr wf_attr wf_attributes">
581
+ <?php echo $product->attributeDropdown('product_type'); ?>
582
+ </select>
583
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
584
+ style=" display: none;"/>
585
+ </td>
586
+ <td>
587
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
588
+ </td>
589
+ <td>
590
+ <select name="output_type[][]" class="outputType wfnoempty">
591
+ <option value="1">Default</option>
592
+ <option value="2">Strip Tags</option>
593
+ <option value="3">UTF-8 Encode</option>
594
+ <option value="4">htmlentities</option>
595
+ <option value="5">Integer</option>
596
+ <option value="6">Price</option>
597
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
598
+ <option value="8">CDATA</option>
599
+ </select>
600
+ <i class="dashicons dashicons-editor-expand expandType"></i>
601
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
602
+ </td>
603
+ <td>
604
+ <input type="text" name="limit[]" class="wf_ps"/>
605
+ </td>
606
+ <td>
607
+ <i class="delRow dashicons dashicons-trash"></i>
608
+ </td>
609
+ </tr>
610
+ <tr>
611
+ <td>
612
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
613
+ </td>
614
+ <td>
615
+ <input type="text" name="mattributes[]" autocomplete="off" required
616
+ class="wf_validate_attr wf_mattributes wf_mattr" value="obl_info"/>
617
+ </td>
618
+ <td>
619
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
620
+ </td>
621
+ <td>
622
+ <select name="type[]" class="attr_type wfnoempty">
623
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
624
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
625
+ </select>
626
+ </td>
627
+ <td>
628
+ <select name="attributes[]" required="required"
629
+ class="wf_validate_attr wf_attr wf_attributes">
630
+ <?php echo $product->attributeDropdown(); ?>
631
+ </select>
632
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
633
+ style=" display: none;"/>
634
+ </td>
635
+ <td>
636
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
637
+ </td>
638
+ <td>
639
+ <select name="output_type[][]" class="outputType wfnoempty">
640
+ <option value="1">Default</option>
641
+ <option value="2">Strip Tags</option>
642
+ <option value="3">UTF-8 Encode</option>
643
+ <option value="4">htmlentities</option>
644
+ <option value="5">Integer</option>
645
+ <option value="6">Price</option>
646
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
647
+ <option value="8">CDATA</option>
648
+ </select>
649
+ <i class="dashicons dashicons-editor-expand expandType"></i>
650
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
651
+ </td>
652
+ <td>
653
+ <input type="text" name="limit[]" class="wf_ps"/>
654
+ </td>
655
+ <td>
656
+ <i class="delRow dashicons dashicons-trash"></i>
657
+ </td>
658
+ </tr>
659
+ <tr>
660
+ <td>
661
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
662
+ </td>
663
+ <td>
664
+ <input type="text" name="mattributes[]" autocomplete="off" required
665
+ class="wf_validate_attr wf_mattributes wf_mattr" value="brand"/>
666
+ </td>
667
+ <td>
668
+ <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
669
+ </td>
670
+ <td>
671
+ <select name="type[]" class="attr_type wfnoempty">
672
+ <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
673
+ <option value="pattern" selected><?php _e('Pattern', 'woo-feed'); ?></option>
674
+ </select>
675
+ </td>
676
+ <td>
677
+ <select name="attributes[]" required="required" style=" display: none;"
678
+ class="wf_validate_attr wf_attr wf_attributes">
679
+ <?php echo $product->attributeDropdown(); ?>
680
+ </select>
681
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
682
+ />
683
+ </td>
684
+ <td>
685
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
686
+ </td>
687
+ <td>
688
+ <select name="output_type[][]" class="outputType wfnoempty">
689
+ <option value="1">Default</option>
690
+ <option value="2">Strip Tags</option>
691
+ <option value="3">UTF-8 Encode</option>
692
+ <option value="4">htmlentities</option>
693
+ <option value="5">Integer</option>
694
+ <option value="6">Price</option>
695
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
696
+ <option value="8">CDATA</option>
697
+ </select>
698
+ <i class="dashicons dashicons-editor-expand expandType"></i>
699
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
700
+ </td>
701
+ <td>
702
+ <input type="text" name="limit[]" class="wf_ps"/>
703
+ </td>
704
+ <td>
705
+ <i class="delRow dashicons dashicons-trash"></i>
706
+ </td>
707
+ </tr>
708
+ </tbody>
709
+ <tfoot>
710
+ <tr>
711
+ <td>
712
+ <button type="button" class="button-small button-primary" id="wf_newRow">
713
+ <?php _e('Add New Row', 'woo-feed'); ?>
714
+ </button>
715
+ </td>
716
+ <td colspan="8">
717
+
718
+ </td>
719
+ </tr>
720
+ </tfoot>
721
+ </table>
722
+ <table class=" widefat fixed">
723
+ <tr>
724
+ <td align="left" class="">
725
+ <div class="makeFeedResponse"></div>
726
+ <div class="makeFeedComplete"></div>
727
+ </td>
728
+ <td align="right">
729
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
730
+ </td>
731
+ </tr>
732
+ </table>
733
+ </div>
734
+ </li>
735
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
736
+
737
  </ul>
admin/partials/templates/custom_add-feed.php CHANGED
@@ -1,100 +1,100 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr"/>
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 _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_attr wf_attr wf_attributes">
42
- <?php echo $product->attributeDropdown(); ?>
43
- </select>
44
- <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
- style=" display: none;"/>
46
- </td>
47
- <td>
48
- <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
- </td>
50
- <td>
51
- <select name="output_type[][]" class="outputType wfnoempty">
52
- <option value="1">Default</option>
53
- <option value="2">Strip Tags</option>
54
- <option value="3">UTF-8 Encode</option>
55
- <option value="4">htmlentities</option>
56
- <option value="5">Integer</option>
57
- <option value="6">Price</option>
58
- <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
- <option value="8">CDATA</option>
60
- </select>
61
- <i class="dashicons dashicons-editor-expand expandType"></i>
62
- <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
- </td>
64
- <td>
65
- <input type="text" name="limit[]" class="wf_ps"/>
66
- </td>
67
- <td>
68
- <i class="delRow dashicons dashicons-trash"></i>
69
- </td>
70
- </tr>
71
- </tbody>
72
- <tfoot>
73
- <tr>
74
- <td>
75
- <button type="button" class="button-small button-primary" id="wf_newRow">
76
- <?php _e('Add New Row', 'woo-feed'); ?>
77
- </button>
78
- </td>
79
- <td colspan="8">
80
-
81
- </td>
82
- </tr>
83
- </tfoot>
84
- </table>
85
- <table class=" widefat fixed">
86
- <tr>
87
- <td align="left" class="">
88
- <div class="makeFeedResponse"></div>
89
- <div class="makeFeedComplete"></div>
90
- </td>
91
- <td align="right">
92
- <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
93
- </td>
94
- </tr>
95
- </table>
96
- </div>
97
- </li>
98
- <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
99
-
100
- </ul>
1
+ <ul class="wf_tabs">
2
+ <li>
3
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
4
+ <label class="wf-tab-name" for="tab1"><?php _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 _e('Attributes', 'woo-feed'); ?></th>
12
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
+ <th><?php _e('Type', 'woo-feed'); ?></th>
14
+ <th><?php _e('Value', 'woo-feed'); ?></th>
15
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
+ <th></th>
19
+ </tr>
20
+ </thead>
21
+ <tbody>
22
+ <tr>
23
+ <td>
24
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
+ </td>
26
+ <td>
27
+ <input type="text" name="mattributes[]" autocomplete="off" required
28
+ class="wf_validate_attr wf_mattributes wf_mattr"/>
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 _e('Attribute', 'woo-feed'); ?></option>
36
+ <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
+ </select>
38
+ </td>
39
+ <td>
40
+ <select name="attributes[]" required="required"
41
+ class="wf_validate_attr wf_attr wf_attributes">
42
+ <?php echo $product->attributeDropdown(); ?>
43
+ </select>
44
+ <input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
45
+ style=" display: none;"/>
46
+ </td>
47
+ <td>
48
+ <input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
49
+ </td>
50
+ <td>
51
+ <select name="output_type[][]" class="outputType wfnoempty">
52
+ <option value="1">Default</option>
53
+ <option value="2">Strip Tags</option>
54
+ <option value="3">UTF-8 Encode</option>
55
+ <option value="4">htmlentities</option>
56
+ <option value="5">Integer</option>
57
+ <option value="6">Price</option>
58
+ <option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
59
+ <option value="8">CDATA</option>
60
+ </select>
61
+ <i class="dashicons dashicons-editor-expand expandType"></i>
62
+ <i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
63
+ </td>
64
+ <td>
65
+ <input type="text" name="limit[]" class="wf_ps"/>
66
+ </td>
67
+ <td>
68
+ <i class="delRow dashicons dashicons-trash"></i>
69
+ </td>
70
+ </tr>
71
+ </tbody>
72
+ <tfoot>
73
+ <tr>
74
+ <td>
75
+ <button type="button" class="button-small button-primary" id="wf_newRow">
76
+ <?php _e('Add New Row', 'woo-feed'); ?>
77
+ </button>
78
+ </td>
79
+ <td colspan="8">
80
+
81
+ </td>
82
+ </tr>
83
+ </tfoot>
84
+ </table>
85
+ <table class=" widefat fixed">
86
+ <tr>
87
+ <td align="left" class="">
88
+ <div class="makeFeedResponse"></div>
89
+ <div class="makeFeedComplete"></div>
90
+ </td>
91
+ <td align="right">
92
+ <button type="submit" class="wfbtn"><?php _e( 'Save & Generate Feed', 'woo-feed' ); ?></button>
93
+ </td>
94
+ </tr>
95
+ </table>
96
+ </div>
97
+ </li>
98
+ <?php include plugin_dir_path(__FILE__) . "../woo-feed-ftp-sftp-template.php"; ?>
99
+
100
+ </ul>
admin/partials/templates/custom_edit-feed.php CHANGED
@@ -1,370 +1,370 @@
1
- <?php
2
- /** @noinspection PhpUndefinedVariableInspection */
3
- $dropDown = new Woo_Feed_Dropdown();
4
- $product = new Woo_Feed_Products();
5
- $product->load_attributes();
6
-
7
- # @since After adding the SFTP Feature
8
- if(!isset($feedRules['ftporsftp'])){
9
- $feedRules['ftporsftp']="ftp";
10
- }
11
-
12
- ?>
13
- <!--suppress SpellCheckingInspection, HtmlFormInputWithoutLabel, HtmlDeprecatedAttribute -->
14
- <div class="wrap" id="Feed">
15
- <h2><?php _e('WooCommerce Product Feed', 'woo-feed'); ?></h2>
16
- <table class="widefat fixed">
17
- <tbody>
18
- <tr>
19
- <td align="center"><b><a target="_blank" href="http://webappick.helpscoutdocs.com/article/17-woocommerce-product-feed">Help & Docs</a></b></td>
20
- <td align="center"><b><a style="color:#ee264a;" target="_blank" href="https://www.youtube.com/channel/UCzy3G9pA3yVgo0YZc-yJmfw">VIDEOS</a></b>
21
- </td>
22
- <td>Contact <b style="color:#2CC185;">support@webappick.com</b> for support.</td>
23
- </tr>
24
- </tbody>
25
- </table>
26
- <br/>
27
-
28
- <form action="" name="feed" id="updatefeed" method="post" autocomplete="disabled">
29
- <input type="hidden" name="feed_name" value="<?php echo $fname; ?>">
30
- <input type="hidden" name="feed_id" value="<?php echo $feedId; ?>">
31
- <?php wp_nonce_field('wf_edit_feed'); ?>
32
-
33
- <table class=" widefat fixed">
34
- <thead>
35
- <tr>
36
- <td colspan="2"><b><?php _e('Content Settings', 'woo-feed'); ?></b></td>
37
- </tr>
38
- </thead>
39
- <tbody>
40
- <tr>
41
- <td width="30%"><b><?php _e('Template', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
42
- <td>
43
- <select name="provider" id="provider" class="generalInput">
44
- <?php echo $dropDown->merchantsDropdown(esc_attr($feedRules['provider'])); ?>
45
- </select>
46
- </td>
47
- </tr>
48
- <tr>
49
- <td><b><?php _e('File Name', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
50
- <td><input name="filename"
51
- value="<?php echo isset($feedRules['filename']) ? esc_attr($feedRules['filename']) : ''; ?>"
52
- type="text"
53
- class="generalInput"/></td>
54
- </tr>
55
- <tr>
56
- <td><b><?php _e('Feed Type', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
57
- <td>
58
- <select name="feedType" id="feedType" class="generalInput">
59
- <option <?php echo ($feedRules['feedType'] == "xml") ? 'selected="selected"' : ''; ?> value="xml">
60
- XML
61
- </option>
62
- <option <?php echo ($feedRules['feedType'] == "csv") ? 'selected="selected"' : ''; ?> value="csv">
63
- CSV
64
- </option>
65
- <option <?php echo ($feedRules['feedType'] == "txt") ? 'selected="selected"' : ''; ?> value="txt">
66
- TXT
67
- </option>
68
- </select>
69
- </td>
70
- </tr>
71
-
72
- <tr class="itemWrapper" <?php echo ($feedRules['feedType'] != "xml") ? 'style="display: none;"' : ''; ?> >
73
- <td><b><?php _e('Items Wrapper', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
74
- <td><input name="itemsWrapper" type="text"
75
- value="<?php echo ($feedRules['feedType'] == "xml") && isset($feedRules['itemsWrapper']) ? esc_attr($feedRules['itemsWrapper']) : 'products'; ?>"
76
- class="generalInput" required="required"/>
77
- </td>
78
- </tr>
79
- <tr class="itemWrapper" <?php echo ($feedRules['feedType'] != "xml") ? 'style="display: none;"' : ''; ?>>
80
- <td><b><?php _e('Single Item Wrapper', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
81
- <td><input name="itemWrapper" type="text"
82
- value="<?php echo ($feedRules['feedType'] == "xml") && isset($feedRules['itemWrapper']) ? esc_attr($feedRules['itemWrapper']) : 'product'; ?>"
83
- class="generalInput" required="required"/>
84
- </td>
85
- </tr>
86
- <tr class="itemWrapper" >
87
- <td><b><?php _e('Extra Header', 'woo-feed'); ?> </b></td>
88
- <td>
89
- <textarea name="extraHeader" style="width: 100%" placeholder="Insert Extra Header value. Press enter at the end of each line."
90
- rows="3"><?php echo isset($feedRules['extraHeader']) ? $feedRules['extraHeader'] : ''; ?></textarea>
91
- </td>
92
- </tr>
93
- <tr class="wf_csvtxt" <?php echo ($feedRules['feedType'] == "xml") ? 'style="display: none;"' : ''; ?>>
94
- <td><b><?php _e('Delimiter', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
95
- <td>
96
- <select name="delimiter" id="delimiter" class="generalInput">
97
- <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == "," ? 'selected="selected"' : ''; ?>
98
- value=",">Comma
99
- </option>
100
- <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == "tab" ? 'selected="selected"' : ''; ?>
101
- value="tab">Tab
102
- </option>
103
- <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == ":" ? 'selected="selected"' : ''; ?>
104
- value=":">Colon
105
- </option>
106
- <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == " " ? 'selected="selected"' : ''; ?>
107
- value=" ">Space
108
- </option>
109
- <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == "|" ? 'selected="selected"' : ''; ?>
110
- value="|">Pipe
111
- </option>
112
- <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == ";" ? 'selected="selected"' : ''; ?>
113
- value=";">Semi Colon
114
- </option>
115
- </select>
116
- </td>
117
- </tr>
118
- <tr class="wf_csvtxt" <?php echo ($feedRules['feedType'] == "xml") ? 'style="display: none;"' : ''; ?>>
119
- <td><b><?php _e('Enclosure', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
120
- <td>
121
- <select name="enclosure" id="enclosure" class="generalInput">
122
- <option <?php echo isset($feedRules['enclosure']) && $feedRules['enclosure'] == " " ? 'selected="selected"' : ''; ?>
123
- value=" ">None
124
- </option>
125
- <option <?php echo isset($feedRules['enclosure']) && $feedRules['enclosure'] == "double" ? 'selected="selected"' : ''; ?>
126
- value='double'>"
127
- </option>
128
- <option <?php echo isset($feedRules['enclosure']) && $feedRules['enclosure'] == "single" ? 'selected="selected"' : ''; ?>
129
- value="single">'
130
- </option>
131
- </select>
132
- </td>
133
- </tr>
134
- </tbody>
135
- </table>
136
- <br/>
137
-
138
- <ul class="wf_tabs">
139
- <li>
140
- <input type="radio" name="wf_tabs" id="tab1" checked/>
141
- <label class="wf-tab-name" for="tab1">Feed Config</label>
142
-
143
- <div id="wf-tab-content1" class="wf-tab-content">
144
- <table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-1">
145
- <thead>
146
- <tr>
147
- <th></th>
148
- <th><?php echo ucfirst($provider); ?> <?php _e('Attributes', 'woo-feed'); ?></th>
149
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
150
- <th><?php _e('Type', 'woo-feed'); ?></th>
151
- <th><?php _e('Value', 'woo-feed'); ?></th>
152
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
153
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
154
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
155
- <th></th>
156
- </tr>
157
- </thead>
158
- <tbody>
159
- <?php
160
- if (count($feedRules['mattributes']) > 0) {
161
- $mAttributes = $feedRules['mattributes'];
162
- $wooAttributes = $feedRules['attributes'];
163
- $type = $feedRules['type'];
164
- $default = $feedRules['default'];
165
- $prefix = $feedRules['prefix'];
166
- $suffix = $feedRules['suffix'];
167
- $outputType = $feedRules['output_type'];
168
- $limit = $feedRules['limit'];
169
- $counter = 0;
170
- foreach ($mAttributes as $merchant => $mAttribute) {
171
-
172
- ?>
173
- <tr>
174
- <td>
175
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
176
- </td>
177
- <td>
178
- <input type="text" name="mattributes[]" value="<?php echo esc_attr($mAttribute); ?>"
179
- required
180
- class="wf_mattributes"/>
181
- </td>
182
- <td>
183
- <input type="text" name="prefix[]" value="<?php echo stripslashes($prefix[$merchant]); ?>"
184
- autocomplete="off"
185
- class="wf_ps"/>
186
- </td>
187
- <td>
188
- <select name="type[]" class="attr_type wfnoempty">
189
- <option <?php echo ($type[$merchant] == "attribute") ? 'selected="selected"' : ''; ?>
190
- value="attribute"><?php _e('Attribute', 'woo-feed'); ?>
191
- </option>
192
- <option <?php echo ($type[$merchant] == "pattern") ? 'selected="selected"' : ''; ?>
193
- value="pattern"><?php _e('Pattern', 'woo-feed'); ?>
194
- </option>
195
- </select>
196
-
197
- </td>
198
- <td>
199
- <select <?php echo ($type[$merchant] == "attribute") ? '' : 'style=" display: none;"'; ?>
200
- name="attributes[]"
201
- class="wf_attr wf_attributes">
202
- <?php echo $product->attributeDropdown(esc_attr($wooAttributes[$merchant])); ?>
203
- </select>
204
-
205
- <input <?php echo ($type[$merchant] == "pattern") ? '' : 'style=" display: none;"'; ?>
206
- autocomplete="off"
207
- class="wf_default wf_attributes" type="text" name="default[]"
208
- value="<?php echo stripslashes($default[$merchant]); ?>"/>
209
-
210
- </td>
211
- <td>
212
- <input type="text" name="suffix[]" value="<?php echo stripslashes($suffix[$merchant]); ?>"
213
- autocomplete="off"
214
- class="wf_ps"/>
215
- </td>
216
-
217
- <td>
218
- <select name="output_type[<?php echo $counter; ?>][]"
219
- class="outputType wfnoempty" <?php echo (count($outputType[$counter]) > 1) ? 'multiple="multiple"' : ''; ?>>
220
- <option <?php echo (in_array('1', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
221
- value="1">Default
222
- </option>
223
- <option <?php echo (in_array('2', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
224
- value="2">Strip Tags
225
- </option>
226
- <option <?php echo (in_array('3', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
227
- value="3">UTF-8 Encode
228
- </option>
229
- <option <?php echo (in_array('4', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
230
- value="4">htmlentities
231
- </option>
232
- <option <?php echo (in_array('5', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
233
- value="5">Integer
234
- </option>
235
- <option <?php echo (in_array('6', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
236
- value="6">Price
237
- </option>
238
- <option <?php echo (in_array('7', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
239
- value="7">Remove Space
240
- </option>
241
- <option <?php echo (in_array('10', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
242
- value="10">Remove ShortCodes
243
- </option>
244
- <option <?php echo (in_array('9', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
245
- value="9">Remove Special Character
246
- </option>
247
- <option <?php echo (in_array('8', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
248
- value="8">CDATA
249
- </option>
250
- </select>
251
- <i class="dashicons dashicons-editor-expand expandType"></i>
252
- <i style="display: none;"
253
- class="dashicons dashicons-editor-contract contractType"></i>
254
- </td>
255
- <td>
256
- <input type="text" name="limit[]" value="<?php echo esc_attr($limit[$merchant]); ?>" autocomplete="off" class="wf_ps"/>
257
- </td>
258
- <td>
259
- <i class="delRow dashicons dashicons-trash"></i>
260
- </td>
261
- </tr>
262
-
263
- <?php
264
- $counter++;
265
- }
266
- }
267
- ?>
268
-
269
- </tbody>
270
- <tfoot>
271
- <tr>
272
- <td colspan="3">
273
- <button type="button" class="button-small button-primary" id="wf_newRow">
274
- <?php _e('Add New Row', 'woo-feed'); ?>
275
- </button>
276
- </td>
277
- <td colspan="6">
278
-
279
- </td>
280
- </tr>
281
- </tfoot>
282
- </table>
283
- <table class=" widefat fixed">
284
- <tr>
285
- <td align="left" class="">
286
- <div class="makeFeedResponse"></div>
287
- <div class="makeFeedComplete"></div>
288
- </td>
289
- <td align="right">
290
- <button name="<?php echo isset($_GET['action']) ? esc_attr($_GET['action']) : ''; ?>" type="submit" class="wfbtn updatefeed"><?php _e('Update and Generate Feed', 'woo-feed'); ?></button>
291
- </td>
292
- </tr>
293
- </table>
294
- </div>
295
- </li>
296
- <li>
297
- <input type="radio" name="wf_tabs" id="tab3"/>
298
- <label class="wf-tab-name" for="tab3"><?php _e('FTP / SFTP', 'woo-feed'); ?></label>
299
-
300
- <div id="wf-tab-content3" class="wf-tab-content">
301
- <table class="table widefat fixed mtable" width="100%">
302
- <tbody>
303
- <tr>
304
- <td><?php _e('Enabled', 'woo-feed'); ?></td>
305
- <td>
306
- <select name="ftpenabled" >
307
- <option <?php echo ($feedRules['ftpenabled'] == "0") ? 'selected="selected"' : ''; ?>
308
- value="0"><?php _e('Disabled', 'woo-feed'); ?>
309
- </option>
310
- <option <?php echo ($feedRules['ftpenabled'] == "1") ? 'selected="selected"' : ''; ?>
311
- value="1"><?php _e('Enabled', 'woo-feed'); ?>
312
- </option>
313
- </select>
314
- </td>
315
- </tr>
316
- <tr>
317
- <td><?php _e( 'Server Type', 'woo-feed' ); ?></td>
318
- <td>
319
- <select name="ftporsftp" class="ftporsftp">
320
- <option <?php echo ($feedRules['ftporsftp'] == "ftp") ? 'selected="selected"' : ''; ?> value="ftp"><?php _e( 'FTP', 'woo-feed' ); ?></option>
321
- <option <?php echo ($feedRules['ftporsftp'] == "sftp") ? 'selected="selected"' : ''; ?>value="sftp"><?php _e( 'SFTP', 'woo-feed' ); ?></option>
322
- </select>
323
- <span class="ssh2_status"></span>
324
- </td>
325
- </tr>
326
- <tr>
327
- <td><?php _e('Host Name', 'woo-feed'); ?></td>
328
- <td><input type="text" value="<?php echo esc_attr($feedRules['ftphost']); ?>" name="ftphost"
329
- autocomplete="off"/></td>
330
- </tr>
331
- <tr>
332
- <td><?php _e('User Name', 'woo-feed'); ?></td>
333
- <td><input type="text" value="<?php echo esc_attr($feedRules['ftpuser']); ?>" name="ftpuser"
334
- autocomplete="off"/></td>
335
- </tr>
336
- <tr>
337
- <td><?php _e('Password', 'woo-feed'); ?></td>
338
- <td><input type="password" value="<?php echo esc_attr($feedRules['ftppassword']); ?>"
339
- name="ftppassword" autocomplete="off"/></td>
340
- </tr>
341
- <tr>
342
- <td><?php _e('Port', 'woo-feed'); ?></td>
343
- <td><input type="text" value="<?php echo isset($feedRules['ftpport'])?esc_attr($feedRules['ftpport']):21; ?>"
344
- name="ftpport" autocomplete="off"/></td>
345
- </tr>
346
- <tr>
347
- <td><?php _e('Path', 'woo-feed'); ?></td>
348
- <td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
349
- autocomplete="off"/></td>
350
- </tr>
351
-
352
- </tbody>
353
- </table>
354
- <table class=" widefat fixed">
355
- <tr>
356
- <td align="left" class="">
357
- <div class="makeFeedResponse"></div>
358
- <div class="makeFeedComplete"></div>
359
- </td>
360
- <td align="right">
361
- <button name="<?php echo isset($_GET['action']) ? esc_attr($_GET['action']) : ''; ?>" type="submit" class="wfbtn updatefeed"><?php _e('Update and Generate Feed', 'woo-feed'); ?></button>
362
- </td>
363
- </tr>
364
- </table>
365
- </div>
366
- </li>
367
-
368
- </ul>
369
- </form>
370
  </div>
1
+ <?php
2
+ /** @noinspection PhpUndefinedVariableInspection */
3
+ $dropDown = new Woo_Feed_Dropdown();
4
+ $product = new Woo_Feed_Products();
5
+ $product->load_attributes();
6
+
7
+ # @since After adding the SFTP Feature
8
+ if(!isset($feedRules['ftporsftp'])){
9
+ $feedRules['ftporsftp']="ftp";
10
+ }
11
+
12
+ ?>
13
+ <!--suppress SpellCheckingInspection, HtmlFormInputWithoutLabel, HtmlDeprecatedAttribute -->
14
+ <div class="wrap" id="Feed">
15
+ <h2><?php _e('WooCommerce Product Feed', 'woo-feed'); ?></h2>
16
+ <table class="widefat fixed">
17
+ <tbody>
18
+ <tr>
19
+ <td align="center"><b><a target="_blank" href="http://webappick.helpscoutdocs.com/article/17-woocommerce-product-feed">Help & Docs</a></b></td>
20
+ <td align="center"><b><a style="color:#ee264a;" target="_blank" href="https://www.youtube.com/channel/UCzy3G9pA3yVgo0YZc-yJmfw">VIDEOS</a></b>
21
+ </td>
22
+ <td>Contact <b style="color:#2CC185;">support@webappick.com</b> for support.</td>
23
+ </tr>
24
+ </tbody>
25
+ </table>
26
+ <br/>
27
+
28
+ <form action="" name="feed" id="updatefeed" method="post" autocomplete="disabled">
29
+ <input type="hidden" name="feed_name" value="<?php echo $fname; ?>">
30
+ <input type="hidden" name="feed_id" value="<?php echo $feedId; ?>">
31
+ <?php wp_nonce_field('wf_edit_feed'); ?>
32
+
33
+ <table class=" widefat fixed">
34
+ <thead>
35
+ <tr>
36
+ <td colspan="2"><b><?php _e('Content Settings', 'woo-feed'); ?></b></td>
37
+ </tr>
38
+ </thead>
39
+ <tbody>
40
+ <tr>
41
+ <td width="30%"><b><?php _e('Template', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
42
+ <td>
43
+ <select name="provider" id="provider" class="generalInput">
44
+ <?php echo $dropDown->merchantsDropdown(esc_attr($feedRules['provider'])); ?>
45
+ </select>
46
+ </td>
47
+ </tr>
48
+ <tr>
49
+ <td><b><?php _e('File Name', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
50
+ <td><input name="filename"
51
+ value="<?php echo isset($feedRules['filename']) ? esc_attr($feedRules['filename']) : ''; ?>"
52
+ type="text"
53
+ class="generalInput"/></td>
54
+ </tr>
55
+ <tr>
56
+ <td><b><?php _e('Feed Type', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
57
+ <td>
58
+ <select name="feedType" id="feedType" class="generalInput">
59
+ <option <?php echo ($feedRules['feedType'] == "xml") ? 'selected="selected"' : ''; ?> value="xml">
60
+ XML
61
+ </option>
62
+ <option <?php echo ($feedRules['feedType'] == "csv") ? 'selected="selected"' : ''; ?> value="csv">
63
+ CSV
64
+ </option>
65
+ <option <?php echo ($feedRules['feedType'] == "txt") ? 'selected="selected"' : ''; ?> value="txt">
66
+ TXT
67
+ </option>
68
+ </select>
69
+ </td>
70
+ </tr>
71
+
72
+ <tr class="itemWrapper" <?php echo ($feedRules['feedType'] != "xml") ? 'style="display: none;"' : ''; ?> >
73
+ <td><b><?php _e('Items Wrapper', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
74
+ <td><input name="itemsWrapper" type="text"
75
+ value="<?php echo ($feedRules['feedType'] == "xml") && isset($feedRules['itemsWrapper']) ? esc_attr($feedRules['itemsWrapper']) : 'products'; ?>"
76
+ class="generalInput" required="required"/>
77
+ </td>
78
+ </tr>
79
+ <tr class="itemWrapper" <?php echo ($feedRules['feedType'] != "xml") ? 'style="display: none;"' : ''; ?>>
80
+ <td><b><?php _e('Single Item Wrapper', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
81
+ <td><input name="itemWrapper" type="text"
82
+ value="<?php echo ($feedRules['feedType'] == "xml") && isset($feedRules['itemWrapper']) ? esc_attr($feedRules['itemWrapper']) : 'product'; ?>"
83
+ class="generalInput" required="required"/>
84
+ </td>
85
+ </tr>
86
+ <tr class="itemWrapper" >
87
+ <td><b><?php _e('Extra Header', 'woo-feed'); ?> </b></td>
88
+ <td>
89
+ <textarea name="extraHeader" style="width: 100%" placeholder="Insert Extra Header value. Press enter at the end of each line."
90
+ rows="3"><?php echo isset($feedRules['extraHeader']) ? $feedRules['extraHeader'] : ''; ?></textarea>
91
+ </td>
92
+ </tr>
93
+ <tr class="wf_csvtxt" <?php echo ($feedRules['feedType'] == "xml") ? 'style="display: none;"' : ''; ?>>
94
+ <td><b><?php _e('Delimiter', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
95
+ <td>
96
+ <select name="delimiter" id="delimiter" class="generalInput">
97
+ <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == "," ? 'selected="selected"' : ''; ?>
98
+ value=",">Comma
99
+ </option>
100
+ <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == "tab" ? 'selected="selected"' : ''; ?>
101
+ value="tab">Tab
102
+ </option>
103
+ <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == ":" ? 'selected="selected"' : ''; ?>
104
+ value=":">Colon
105
+ </option>
106
+ <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == " " ? 'selected="selected"' : ''; ?>
107
+ value=" ">Space
108
+ </option>
109
+ <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == "|" ? 'selected="selected"' : ''; ?>
110
+ value="|">Pipe
111
+ </option>
112
+ <option <?php echo isset($feedRules['delimiter']) && $feedRules['delimiter'] == ";" ? 'selected="selected"' : ''; ?>
113
+ value=";">Semi Colon
114
+ </option>
115
+ </select>
116
+ </td>
117
+ </tr>
118
+ <tr class="wf_csvtxt" <?php echo ($feedRules['feedType'] == "xml") ? 'style="display: none;"' : ''; ?>>
119
+ <td><b><?php _e('Enclosure', 'woo-feed'); ?> <span class="requiredIn">*</span></b></td>
120
+ <td>
121
+ <select name="enclosure" id="enclosure" class="generalInput">
122
+ <option <?php echo isset($feedRules['enclosure']) && $feedRules['enclosure'] == " " ? 'selected="selected"' : ''; ?>
123
+ value=" ">None
124
+ </option>
125
+ <option <?php echo isset($feedRules['enclosure']) && $feedRules['enclosure'] == "double" ? 'selected="selected"' : ''; ?>
126
+ value='double'>"
127
+ </option>
128
+ <option <?php echo isset($feedRules['enclosure']) && $feedRules['enclosure'] == "single" ? 'selected="selected"' : ''; ?>
129
+ value="single">'
130
+ </option>
131
+ </select>
132
+ </td>
133
+ </tr>
134
+ </tbody>
135
+ </table>
136
+ <br/>
137
+
138
+ <ul class="wf_tabs">
139
+ <li>
140
+ <input type="radio" name="wf_tabs" id="tab1" checked/>
141
+ <label class="wf-tab-name" for="tab1">Feed Config</label>
142
+
143
+ <div id="wf-tab-content1" class="wf-tab-content">
144
+ <table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-1">
145
+ <thead>
146
+ <tr>
147
+ <th></th>
148
+ <th><?php echo ucfirst($provider); ?> <?php _e('Attributes', 'woo-feed'); ?></th>
149
+ <th><?php _e('Prefix', 'woo-feed'); ?></th>
150
+ <th><?php _e('Type', 'woo-feed'); ?></th>
151
+ <th><?php _e('Value', 'woo-feed'); ?></th>
152
+ <th><?php _e('Suffix', 'woo-feed'); ?></th>
153
+ <th><?php _e('Output Type', 'woo-feed'); ?></th>
154
+ <th><?php _e('Output Limit', 'woo-feed'); ?></th>
155
+ <th></th>
156
+ </tr>
157
+ </thead>
158
+ <tbody>
159
+ <?php
160
+ if (count($feedRules['mattributes']) > 0) {
161
+ $mAttributes = $feedRules['mattributes'];
162
+ $wooAttributes = $feedRules['attributes'];
163
+ $type = $feedRules['type'];
164
+ $default = $feedRules['default'];
165
+ $prefix = $feedRules['prefix'];
166
+ $suffix = $feedRules['suffix'];
167
+ $outputType = $feedRules['output_type'];
168
+ $limit = $feedRules['limit'];
169
+ $counter = 0;
170
+ foreach ($mAttributes as $merchant => $mAttribute) {
171
+
172
+ ?>
173
+ <tr>
174
+ <td>
175
+ <i class="wf_sortedtable dashicons dashicons-menu"></i>
176
+ </td>
177
+ <td>
178
+ <input type="text" name="mattributes[]" value="<?php echo esc_attr($mAttribute); ?>"
179
+ required
180
+ class="wf_mattributes"/>
181
+ </td>
182
+ <td>
183
+ <input type="text" name="prefix[]" value="<?php echo stripslashes($prefix[$merchant]); ?>"
184
+ autocomplete="off"
185
+ class="wf_ps"/>
186
+ </td>
187
+ <td>
188
+ <select name="type[]" class="attr_type wfnoempty">
189
+ <option <?php echo ($type[$merchant] == "attribute") ? 'selected="selected"' : ''; ?>
190
+ value="attribute"><?php _e('Attribute', 'woo-feed'); ?>
191
+ </option>
192
+ <option <?php echo ($type[$merchant] == "pattern") ? 'selected="selected"' : ''; ?>
193
+ value="pattern"><?php _e('Pattern', 'woo-feed'); ?>
194
+ </option>
195
+ </select>
196
+
197
+ </td>
198
+ <td>
199
+ <select <?php echo ($type[$merchant] == "attribute") ? '' : 'style=" display: none;"'; ?>
200
+ name="attributes[]"
201
+ class="wf_attr wf_attributes">
202
+ <?php echo $product->attributeDropdown(esc_attr($wooAttributes[$merchant])); ?>
203
+ </select>
204
+
205
+ <input <?php echo ($type[$merchant] == "pattern") ? '' : 'style=" display: none;"'; ?>
206
+ autocomplete="off"
207
+ class="wf_default wf_attributes" type="text" name="default[]"
208
+ value="<?php echo stripslashes($default[$merchant]); ?>"/>
209
+
210
+ </td>
211
+ <td>
212
+ <input type="text" name="suffix[]" value="<?php echo stripslashes($suffix[$merchant]); ?>"
213
+ autocomplete="off"
214
+ class="wf_ps"/>
215
+ </td>
216
+
217
+ <td>
218
+ <select name="output_type[<?php echo $counter; ?>][]"
219
+ class="outputType wfnoempty" <?php echo (count($outputType[$counter]) > 1) ? 'multiple="multiple"' : ''; ?>>
220
+ <option <?php echo (in_array('1', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
221
+ value="1">Default
222
+ </option>
223
+ <option <?php echo (in_array('2', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
224
+ value="2">Strip Tags
225
+ </option>
226
+ <option <?php echo (in_array('3', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
227
+ value="3">UTF-8 Encode
228
+ </option>
229
+ <option <?php echo (in_array('4', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
230
+ value="4">htmlentities
231
+ </option>
232
+ <option <?php echo (in_array('5', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
233
+ value="5">Integer
234
+ </option>
235
+ <option <?php echo (in_array('6', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
236
+ value="6">Price
237
+ </option>
238
+ <option <?php echo (in_array('7', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
239
+ value="7">Remove Space
240
+ </option>
241
+ <option <?php echo (in_array('10', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
242
+ value="10">Remove ShortCodes
243
+ </option>
244
+ <option <?php echo (in_array('9', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
245
+ value="9">Remove Special Character
246
+ </option>
247
+ <option <?php echo (in_array('8', $outputType[$counter])) ? 'selected="selected"' : ''; ?>
248
+ value="8">CDATA
249
+ </option>
250
+ </select>
251
+ <i class="dashicons dashicons-editor-expand expandType"></i>
252
+ <i style="display: none;"
253
+ class="dashicons dashicons-editor-contract contractType"></i>
254
+ </td>
255
+ <td>
256
+ <input type="text" name="limit[]" value="<?php echo esc_attr($limit[$merchant]); ?>" autocomplete="off" class="wf_ps"/>
257
+ </td>
258
+ <td>
259
+ <i class="delRow dashicons dashicons-trash"></i>
260
+ </td>
261
+ </tr>
262
+
263
+ <?php
264
+ $counter++;
265
+ }
266
+ }
267
+ ?>
268
+
269
+ </tbody>
270
+ <tfoot>
271
+ <tr>
272
+ <td colspan="3">
273
+ <button type="button" class="button-small button-primary" id="wf_newRow">
274
+ <?php _e('Add New Row', 'woo-feed'); ?>
275
+ </button>
276
+ </td>
277
+ <td colspan="6">
278
+
279
+ </td>
280
+ </tr>
281
+ </tfoot>
282
+ </table>
283
+ <table class=" widefat fixed">
284
+ <tr>
285
+ <td align="left" class="">
286
+ <div class="makeFeedResponse"></div>
287
+ <div class="makeFeedComplete"></div>
288
+ </td>
289
+ <td align="right">
290
+ <button name="<?php echo isset($_GET['action']) ? esc_attr($_GET['action']) : ''; ?>" type="submit" class="wfbtn updatefeed"><?php _e('Update and Generate Feed', 'woo-feed'); ?></button>
291
+ </td>
292
+ </tr>
293
+ </table>
294
+ </div>
295
+ </li>
296
+ <li>
297
+ <input type="radio" name="wf_tabs" id="tab3"/>
298
+ <label class="wf-tab-name" for="tab3"><?php _e('FTP / SFTP', 'woo-feed'); ?></label>
299
+
300
+ <div id="wf-tab-content3" class="wf-tab-content">
301
+ <table class="table widefat fixed mtable" width="100%">
302
+ <tbody>
303
+ <tr>
304
+ <td><?php _e('Enabled', 'woo-feed'); ?></td>
305
+ <td>
306
+ <select name="ftpenabled" >
307
+ <option <?php echo ($feedRules['ftpenabled'] == "0") ? 'selected="selected"' : ''; ?>
308
+ value="0"><?php _e('Disabled', 'woo-feed'); ?>
309
+ </option>
310
+ <option <?php echo ($feedRules['ftpenabled'] == "1") ? 'selected="selected"' : ''; ?>
311
+ value="1"><?php _e('Enabled', 'woo-feed'); ?>
312
+ </option>
313
+ </select>
314
+ </td>
315
+ </tr>
316
+ <tr>
317
+ <td><?php _e( 'Server Type', 'woo-feed' ); ?></td>
318
+ <td>
319
+ <select name="ftporsftp" class="ftporsftp">
320
+ <option <?php echo ($feedRules['ftporsftp'] == "ftp") ? 'selected="selected"' : ''; ?> value="ftp"><?php _e( 'FTP', 'woo-feed' ); ?></option>
321
+ <option <?php echo ($feedRules['ftporsftp'] == "sftp") ? 'selected="selected"' : ''; ?>value="sftp"><?php _e( 'SFTP', 'woo-feed' ); ?></option>
322
+ </select>
323
+ <span class="ssh2_status"></span>
324
+ </td>
325
+ </tr>
326
+ <tr>
327
+ <td><?php _e('Host Name', 'woo-feed'); ?></td>
328
+ <td><input type="text" value="<?php echo esc_attr($feedRules['ftphost']); ?>" name="ftphost"
329
+ autocomplete="off"/></td>
330
+ </tr>
331
+ <tr>
332
+ <td><?php _e('User Name', 'woo-feed'); ?></td>
333
+ <td><input type="text" value="<?php echo esc_attr($feedRules['ftpuser']); ?>" name="ftpuser"
334
+ autocomplete="off"/></td>
335
+ </tr>
336
+ <tr>
337
+ <td><?php _e('Password', 'woo-feed'); ?></td>
338
+ <td><input type="password" value="<?php echo esc_attr($feedRules['ftppassword']); ?>"
339
+ name="ftppassword" autocomplete="off"/></td>
340
+ </tr>
341
+ <tr>
342
+ <td><?php _e('Port', 'woo-feed'); ?></td>
343
+ <td><input type="text" value="<?php echo isset($feedRules['ftpport'])?esc_attr($feedRules['ftpport']):21; ?>"
344
+ name="ftpport" autocomplete="off"/></td>
345
+ </tr>
346
+ <tr>
347
+ <td><?php _e('Path', 'woo-feed'); ?></td>
348
+ <td><input type="text" value="<?php echo esc_attr($feedRules['ftppath']); ?>" name="ftppath"
349
+ autocomplete="off"/></td>
350
+ </tr>
351
+
352
+ </tbody>
353
+ </table>
354
+ <table class=" widefat fixed">
355
+ <tr>
356
+ <td align="left" class="">
357
+ <div class="makeFeedResponse"></div>
358
+ <div class="makeFeedComplete"></div>
359
+ </td>
360
+ <td align="right">
361
+ <button name="<?php echo isset($_GET['action']) ? esc_attr($_GET['action']) : ''; ?>" type="submit" class="wfbtn updatefeed"><?php _e('Update and Generate Feed', 'woo-feed'); ?></button>
362
+ </td>
363
+ </tr>
364
+ </table>
365
+ </div>
366
+ </li>
367
+
368
+ </ul>
369
+ </form>
370
  </div>
admin/partials/templates/dooyoo_add-feed.php CHANGED
@@ -1,450 +1,450 @@
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 _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 _e('Attributes', 'woo-feed'); ?></th>
12
- <th><?php _e('Prefix', 'woo-feed'); ?></th>
13
- <th><?php _e('Type', 'woo-feed'); ?></th>
14
- <th><?php _e('Value', 'woo-feed'); ?></th>
15
- <th><?php _e('Suffix', 'woo-feed'); ?></th>
16
- <th><?php _e('Output Type', 'woo-feed'); ?></th>
17
- <th><?php _e('Output Limit', 'woo-feed'); ?></th>
18
- <th></th>
19
- </tr>
20
- </thead>
21
- <tbody>
22
- <tr>
23
- <td>
24
- <i class="wf_sortedtable dashicons dashicons-menu"></i>
25
- </td>
26
- <td>
27
- <input type="text" name="mattributes[]" autocomplete="off" required
28
- class="wf_validate_attr wf_mattributes wf_mattr" value="id" />
29
- </td>
30
- <td>
31
- <input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
32
- </td>
33
- <td>
34
- <select name="type[]" class="attr_type wfnoempty">
35
- <option value="attribute"><?php _e('Attribute', 'woo-feed'); ?></option>
36
- <option value="pattern"><?php _e('Pattern', 'woo-feed'); ?></option>
37
- </select>
38
- </td>
39
- <td>
40
- <select name="attributes[]" required="required"
41
- class="wf_validate_att