Version Description
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.0.5 |
Comparing to | |
See all releases |
Code changes from version 3.0.4 to 3.0.5
- README.txt +4 -1
- admin/partials/google_local/add-feed.php +492 -0
- includes/class-woo-feed.php +1 -1
- includes/classes/class-woo-feed-default-attributes.php +1 -0
- woo-feed.php +2 -2
README.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://webappick.com
|
|
4 |
Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.1
|
7 |
-
Stable tag: 3.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -296,6 +296,9 @@ Using pro version:
|
|
296 |
|
297 |
== Changelog ==
|
298 |
|
|
|
|
|
|
|
299 |
= 3.0.4(2019-02-25) =
|
300 |
* Fixed: Google & Facebook condition attribute value changed from New to new
|
301 |
|
4 |
Tags:woocommerce,google product feed,facebook product feed,woocommerce product feed,woocommerce,
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.1
|
7 |
+
Stable tag: 3.0.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
296 |
|
297 |
== Changelog ==
|
298 |
|
299 |
+
= 3.0.5(2019-02-27) =
|
300 |
+
* Fixed: Google Local Product Inventory feed template added
|
301 |
+
|
302 |
= 3.0.4(2019-02-25) =
|
303 |
* Fixed: Google & Facebook condition attribute value changed from New to new
|
304 |
|
admin/partials/google_local/add-feed.php
ADDED
@@ -0,0 +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 echo _e('Feed Config', 'woo-feed'); ?></label>
|
5 |
+
|
6 |
+
<div id="wf-tab-content1" class="wf-tab-content">
|
7 |
+
<table class="table tree widefat fixed sorted_table mtable" width="100%" id="table-1">
|
8 |
+
<thead>
|
9 |
+
<tr>
|
10 |
+
<th></th>
|
11 |
+
<th><?php echo ucfirst($provider); ?> <?php echo _e('Attributes', 'woo-feed'); ?></th>
|
12 |
+
<th><?php echo _e('Prefix', 'woo-feed'); ?></th>
|
13 |
+
<th><?php echo _e('Type', 'woo-feed'); ?></th>
|
14 |
+
<th><?php echo _e('Value', 'woo-feed'); ?></th>
|
15 |
+
<th><?php echo _e('Suffix', 'woo-feed'); ?></th>
|
16 |
+
<th><?php echo _e('Output Type', 'woo-feed'); ?></th>
|
17 |
+
<th><?php echo _e('Output Limit', 'woo-feed'); ?></th>
|
18 |
+
<th></th>
|
19 |
+
</tr>
|
20 |
+
</thead>
|
21 |
+
<tbody>
|
22 |
+
<tr>
|
23 |
+
<td>
|
24 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
25 |
+
</td>
|
26 |
+
<td>
|
27 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
28 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="store code"/>
|
29 |
+
</td>
|
30 |
+
<td>
|
31 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
32 |
+
</td>
|
33 |
+
<td>
|
34 |
+
<select name="type[]" class="attr_type wfnoempty">
|
35 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
36 |
+
<option selected value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
37 |
+
</select>
|
38 |
+
</td>
|
39 |
+
<td>
|
40 |
+
<select name="attributes[]" id="" required="required" style="display: none;"
|
41 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
42 |
+
<?php echo $product->attributeDropdown(''); ?>
|
43 |
+
</select>
|
44 |
+
<input type="text" name="default[]" required="required" autocomplete="off" class="wf_default wf_attributes" />
|
45 |
+
</td>
|
46 |
+
<td>
|
47 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
48 |
+
</td>
|
49 |
+
<td>
|
50 |
+
<select name="output_type[][]" id="" 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 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
76 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="itemid"/>
|
77 |
+
</td>
|
78 |
+
<td>
|
79 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
80 |
+
</td>
|
81 |
+
<td>
|
82 |
+
<select name="type[]" class="attr_type wfnoempty">
|
83 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
84 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
85 |
+
</select>
|
86 |
+
</td>
|
87 |
+
<td>
|
88 |
+
<select name="attributes[]" id="" required="required"
|
89 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
90 |
+
<?php echo $product->attributeDropdown('id'); ?>
|
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[][]" id="" 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 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
125 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="quantity"/>
|
126 |
+
</td>
|
127 |
+
<td>
|
128 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
129 |
+
</td>
|
130 |
+
<td>
|
131 |
+
<select name="type[]" class="attr_type wfnoempty">
|
132 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
133 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
134 |
+
</select>
|
135 |
+
</td>
|
136 |
+
<td>
|
137 |
+
<select name="attributes[]" id="" required="required"
|
138 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
139 |
+
<?php echo $product->attributeDropdown('quantity'); ?>
|
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[][]" id="" 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 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
174 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="price"/>
|
175 |
+
</td>
|
176 |
+
<td>
|
177 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
178 |
+
</td>
|
179 |
+
<td>
|
180 |
+
<select name="type[]" class="attr_type wfnoempty">
|
181 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
182 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
183 |
+
</select>
|
184 |
+
</td>
|
185 |
+
<td>
|
186 |
+
<select name="attributes[]" id="" required="required"
|
187 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
188 |
+
<?php echo $product->attributeDropdown('price'); ?>
|
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[][]" id="" 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 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
223 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="sale price"/>
|
224 |
+
</td>
|
225 |
+
<td>
|
226 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
227 |
+
</td>
|
228 |
+
<td>
|
229 |
+
<select name="type[]" class="attr_type wfnoempty">
|
230 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
231 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
232 |
+
</select>
|
233 |
+
</td>
|
234 |
+
<td>
|
235 |
+
<select name="attributes[]" id="" required="required"
|
236 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
237 |
+
<?php echo $product->attributeDropdown('sale_price'); ?>
|
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[][]" id="" 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 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
272 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="availability"/>
|
273 |
+
</td>
|
274 |
+
<td>
|
275 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
276 |
+
</td>
|
277 |
+
<td>
|
278 |
+
<select name="type[]" class="attr_type wfnoempty">
|
279 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
280 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
281 |
+
</select>
|
282 |
+
</td>
|
283 |
+
<td>
|
284 |
+
<select name="attributes[]" id="" required="required"
|
285 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
286 |
+
<?php echo $product->attributeDropdown('availability'); ?>
|
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[][]" id="" class="outputType wfnoempty">
|
296 |
+
<option value="1">Default</option>
|
297 |
+
<option value="2">Strip Tags</option>
|
298 |
+
<option value="3">UTF-8 Encode</option>
|
299 |
+
<option value="4">htmlentities</option>
|
300 |
+
<option value="5">Integer</option>
|
301 |
+
<option value="6">Price</option>
|
302 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
303 |
+
<option value="8">CDATA</option>
|
304 |
+
</select>
|
305 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
306 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
307 |
+
</td>
|
308 |
+
<td>
|
309 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
310 |
+
</td>
|
311 |
+
<td>
|
312 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
313 |
+
</td>
|
314 |
+
</tr>
|
315 |
+
<tr>
|
316 |
+
<td>
|
317 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
318 |
+
</td>
|
319 |
+
<td>
|
320 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
321 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="sale price effective date"/>
|
322 |
+
</td>
|
323 |
+
<td>
|
324 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
325 |
+
</td>
|
326 |
+
<td>
|
327 |
+
<select name="type[]" class="attr_type wfnoempty">
|
328 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
329 |
+
<option value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
330 |
+
</select>
|
331 |
+
</td>
|
332 |
+
<td>
|
333 |
+
<select name="attributes[]" id="" required="required"
|
334 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
335 |
+
<?php echo $product->attributeDropdown('sale_price_effective_date'); ?>
|
336 |
+
</select>
|
337 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
338 |
+
style=" display: none;"/>
|
339 |
+
</td>
|
340 |
+
<td>
|
341 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
342 |
+
</td>
|
343 |
+
<td>
|
344 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
345 |
+
<option value="1">Default</option>
|
346 |
+
<option value="2">Strip Tags</option>
|
347 |
+
<option value="3">UTF-8 Encode</option>
|
348 |
+
<option value="4">htmlentities</option>
|
349 |
+
<option value="5">Integer</option>
|
350 |
+
<option value="6">Price</option>
|
351 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
352 |
+
<option value="8">CDATA</option>
|
353 |
+
</select>
|
354 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
355 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
356 |
+
</td>
|
357 |
+
<td>
|
358 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
359 |
+
</td>
|
360 |
+
<td>
|
361 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
362 |
+
</td>
|
363 |
+
</tr>
|
364 |
+
<tr>
|
365 |
+
<td>
|
366 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
367 |
+
</td>
|
368 |
+
<td>
|
369 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
370 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="pickup method"/>
|
371 |
+
</td>
|
372 |
+
<td>
|
373 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
374 |
+
</td>
|
375 |
+
<td>
|
376 |
+
<select name="type[]" class="attr_type wfnoempty">
|
377 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
378 |
+
<option selected value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
379 |
+
</select>
|
380 |
+
</td>
|
381 |
+
<td>
|
382 |
+
<select name="attributes[]" id="" required="required" style=" display: none;"
|
383 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
384 |
+
<?php echo $product->attributeDropdown(); ?>
|
385 |
+
</select>
|
386 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"
|
387 |
+
/>
|
388 |
+
</td>
|
389 |
+
<td>
|
390 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
391 |
+
</td>
|
392 |
+
<td>
|
393 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
394 |
+
<option value="1">Default</option>
|
395 |
+
<option value="2">Strip Tags</option>
|
396 |
+
<option value="3">UTF-8 Encode</option>
|
397 |
+
<option value="4">htmlentities</option>
|
398 |
+
<option value="5">Integer</option>
|
399 |
+
<option value="6">Price</option>
|
400 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
401 |
+
<option value="8">CDATA</option>
|
402 |
+
</select>
|
403 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
404 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
405 |
+
</td>
|
406 |
+
<td>
|
407 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
408 |
+
</td>
|
409 |
+
<td>
|
410 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
411 |
+
</td>
|
412 |
+
</tr>
|
413 |
+
<tr>
|
414 |
+
<td>
|
415 |
+
<i class="wf_sortedtable dashicons dashicons-menu"></i>
|
416 |
+
</td>
|
417 |
+
<td>
|
418 |
+
<input type="text" name="mattributes[]" autocomplete="off" required
|
419 |
+
class="wf_validate_attr wf_mattributes wf_mattr" value="pickup sla"/>
|
420 |
+
</td>
|
421 |
+
<td>
|
422 |
+
<input type="text" name="prefix[]" autocomplete="off" class="wf_ps"/>
|
423 |
+
</td>
|
424 |
+
<td>
|
425 |
+
<select name="type[]" class="attr_type wfnoempty">
|
426 |
+
<option value="attribute"> <?php echo _e('Attribute', 'woo-feed'); ?></option>
|
427 |
+
<option selected value="pattern"> <?php echo _e('Pattern', 'woo-feed'); ?></option>
|
428 |
+
</select>
|
429 |
+
</td>
|
430 |
+
<td>
|
431 |
+
<select name="attributes[]" id="" required="required" style=" display: none;"
|
432 |
+
class="wf_validate_attr wf_attr wf_attributes">
|
433 |
+
<?php echo $product->attributeDropdown(); ?>
|
434 |
+
</select>
|
435 |
+
<input type="text" name="default[]" autocomplete="off" class="wf_default wf_attributes"/>
|
436 |
+
</td>
|
437 |
+
<td>
|
438 |
+
<input type="text" name="suffix[]" autocomplete="off" class="wf_ps"/>
|
439 |
+
</td>
|
440 |
+
<td>
|
441 |
+
<select name="output_type[][]" id="" class="outputType wfnoempty">
|
442 |
+
<option value="1">Default</option>
|
443 |
+
<option value="2">Strip Tags</option>
|
444 |
+
<option value="3">UTF-8 Encode</option>
|
445 |
+
<option value="4">htmlentities</option>
|
446 |
+
<option value="5">Integer</option>
|
447 |
+
<option value="6">Price</option>
|
448 |
+
<option value="7">Remove Space</option><option value="10">Remove ShortCodes</option><option value="9">Remove Special Character</option>
|
449 |
+
<option value="8">CDATA</option>
|
450 |
+
</select>
|
451 |
+
<i class="dashicons dashicons-editor-expand expandType"></i>
|
452 |
+
<i style="display: none;" class="dashicons dashicons-editor-contract contractType"></i>
|
453 |
+
</td>
|
454 |
+
<td>
|
455 |
+
<input type="text" name="limit[]" class="wf_ps"/>
|
456 |
+
</td>
|
457 |
+
<td>
|
458 |
+
<i class="delRow dashicons dashicons-trash"></i>
|
459 |
+
</td>
|
460 |
+
</tr>
|
461 |
+
</tbody>
|
462 |
+
<tfoot>
|
463 |
+
<tr>
|
464 |
+
<td>
|
465 |
+
<button type="button" class="button-small button-primary" id="wf_newRow">
|
466 |
+
<?php echo _e('Add New Row', 'woo-feed'); ?>
|
467 |
+
</button>
|
468 |
+
</td>
|
469 |
+
<td colspan="8">
|
470 |
+
|
471 |
+
</td>
|
472 |
+
</tr>
|
473 |
+
</tfoot>
|
474 |
+
</table>
|
475 |
+
<table class=" widefat fixed">
|
476 |
+
<tr>
|
477 |
+
<td align="left" class="">
|
478 |
+
<div class="makeFeedResponse"></div>
|
479 |
+
<div class="makeFeedComplete"></div>
|
480 |
+
</td>
|
481 |
+
<td align="right">
|
482 |
+
<button type="submit" id="wf_submit" class="wfbtn">
|
483 |
+
<?php echo _e('Save & Generate Feed', 'woo-feed'); ?>
|
484 |
+
</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>
|
includes/class-woo-feed.php
CHANGED
@@ -70,7 +70,7 @@ class Woo_Feed
|
|
70 |
public function __construct()
|
71 |
{
|
72 |
$this->woo_feed = 'woo-feed';
|
73 |
-
$this->version = '3.0.
|
74 |
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
70 |
public function __construct()
|
71 |
{
|
72 |
$this->woo_feed = 'woo-feed';
|
73 |
+
$this->version = '3.0.5';
|
74 |
|
75 |
$this->load_dependencies();
|
76 |
$this->set_locale();
|
includes/classes/class-woo-feed-default-attributes.php
CHANGED
@@ -33,6 +33,7 @@ class Woo_Feed_Default_Attributes
|
|
33 |
|
34 |
"--2" => "Feed Template",
|
35 |
"google" =>"Google Shopping",
|
|
|
36 |
"adwords" =>"Google Adwords",
|
37 |
"facebook" =>"Facebook",
|
38 |
"shopping" =>"eBay (Shopping.com)",
|
33 |
|
34 |
"--2" => "Feed Template",
|
35 |
"google" =>"Google Shopping",
|
36 |
+
"google_local" =>"Google Local Product Inventory",
|
37 |
"adwords" =>"Google Adwords",
|
38 |
"facebook" =>"Facebook",
|
39 |
"shopping" =>"eBay (Shopping.com)",
|
woo-feed.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin Name: WooCommerce Product Feed
|
17 |
* Plugin URI: https://webappick.com/
|
18 |
* Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
|
19 |
-
* Version: 3.0.
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
@@ -744,7 +744,7 @@ function woo_feed_manage_feed()
|
|
744 |
}
|
745 |
|
746 |
$merchants=array(
|
747 |
-
"custom","fruugo","twenga","pricespy","prisjakt","amazon","adwords","polyvore","bol","pricerunner","adform","bonanza","leeguide","real","crowdfox","jet","wish"
|
748 |
);
|
749 |
|
750 |
if (isset($fname)) {
|
16 |
* Plugin Name: WooCommerce Product Feed
|
17 |
* Plugin URI: https://webappick.com/
|
18 |
* Description: This plugin generate WooCommerce product feed for Shopping Engines like Google Shopping,Facebook Product Feed,eBay,Amazon,Idealo and many more..
|
19 |
+
* Version: 3.0.5
|
20 |
* Author: WebAppick
|
21 |
* Author URI: https://webappick.com/
|
22 |
* License: GPL v2
|
744 |
}
|
745 |
|
746 |
$merchants=array(
|
747 |
+
"custom","fruugo","twenga","pricespy","prisjakt","amazon","adwords","polyvore","bol","pricerunner","adform","bonanza","leeguide","real","crowdfox","jet","wish","google_local"
|
748 |
);
|
749 |
|
750 |
if (isset($fname)) {
|