Version Description
(2021-02-25) = * Fixed: Status page product count issue fixed.
Download this release
Release Info
Developer | wahid0003 |
Plugin | ![]() |
Version | 4.3.37 |
Comparing to | |
See all releases |
Code changes from version 4.3.36 to 4.3.37
- README.txt +4 -1
- includes/feeds/merchant_templates_override.php +16 -9
- woo-feed.php +3 -3
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: Product Feed, WooCommerce, Google Shopping, Google Merchant, Facebook Cata
|
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.6.1
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 4.3.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -498,6 +498,9 @@ Using pro version:
|
|
498 |
|
499 |
== Changelog ==
|
500 |
|
|
|
|
|
|
|
501 |
= 4.3.36 (2021-02-24) =
|
502 |
* Added: Additional images in google and facebook default attributes list has been added.
|
503 |
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.6.1
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 4.3.37
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
498 |
|
499 |
== Changelog ==
|
500 |
|
501 |
+
= 4.3.37 (2021-02-25) =
|
502 |
+
* Fixed: Status page product count issue fixed.
|
503 |
+
|
504 |
= 4.3.36 (2021-02-24) =
|
505 |
* Added: Additional images in google and facebook default attributes list has been added.
|
506 |
|
includes/feeds/merchant_templates_override.php
CHANGED
@@ -18,9 +18,9 @@ function woo_feed_spartoo_attribute_value_modify( $attribute_value, $product, $f
|
|
18 |
if ( 'spartoo.fi' === $feed_config['provider'] ) {
|
19 |
if ( 'variation' === $attribute_value ) {
|
20 |
return "child";
|
21 |
-
}else {
|
22 |
-
return "parent";
|
23 |
}
|
|
|
|
|
24 |
}
|
25 |
return $attribute_value;
|
26 |
}
|
@@ -38,23 +38,30 @@ function woo_feed_availability_attribute_value_modify( $attribute_value, $produc
|
|
38 |
if ( 'skroutz' === $feed_config['provider'] || 'bestprice' === $feed_config['provider'] ) {
|
39 |
if ( 'in stock' === $attribute_value ) {
|
40 |
return "Y";
|
41 |
-
}else {
|
42 |
-
return "N";
|
43 |
}
|
44 |
-
|
|
|
|
|
|
|
|
|
45 |
if ( 'in stock' === $attribute_value ) {
|
46 |
return "Yes";
|
47 |
-
}else {
|
48 |
-
return "No";
|
49 |
}
|
50 |
-
|
|
|
|
|
|
|
|
|
51 |
|| 'pinterest' === $feed_config['provider'] ) {
|
52 |
if ( 'on backorder' === $attribute_value ) {
|
53 |
return 'preorder';
|
54 |
}
|
55 |
-
}
|
|
|
|
|
56 |
return 'available for order';
|
57 |
}
|
|
|
58 |
return $attribute_value;
|
59 |
}
|
60 |
add_filter('woo_feed_get_availability_attribute','woo_feed_availability_attribute_value_modify',10,3);
|
18 |
if ( 'spartoo.fi' === $feed_config['provider'] ) {
|
19 |
if ( 'variation' === $attribute_value ) {
|
20 |
return "child";
|
|
|
|
|
21 |
}
|
22 |
+
|
23 |
+
return "parent";
|
24 |
}
|
25 |
return $attribute_value;
|
26 |
}
|
38 |
if ( 'skroutz' === $feed_config['provider'] || 'bestprice' === $feed_config['provider'] ) {
|
39 |
if ( 'in stock' === $attribute_value ) {
|
40 |
return "Y";
|
|
|
|
|
41 |
}
|
42 |
+
|
43 |
+
return "N";
|
44 |
+
}
|
45 |
+
|
46 |
+
if ( 'pricerunner' === $feed_config['provider'] ) {
|
47 |
if ( 'in stock' === $attribute_value ) {
|
48 |
return "Yes";
|
|
|
|
|
49 |
}
|
50 |
+
|
51 |
+
return "No";
|
52 |
+
}
|
53 |
+
|
54 |
+
if ( 'google' === $feed_config['provider']
|
55 |
|| 'pinterest' === $feed_config['provider'] ) {
|
56 |
if ( 'on backorder' === $attribute_value ) {
|
57 |
return 'preorder';
|
58 |
}
|
59 |
+
}
|
60 |
+
|
61 |
+
if ( 'facebook' === $feed_config['provider'] && 'on backorder' === $attribute_value ) {
|
62 |
return 'available for order';
|
63 |
}
|
64 |
+
|
65 |
return $attribute_value;
|
66 |
}
|
67 |
add_filter('woo_feed_get_availability_attribute','woo_feed_availability_attribute_value_modify',10,3);
|
woo-feed.php
CHANGED
@@ -10,7 +10,7 @@
|
|
10 |
* Plugin Name: CTX Feed
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
-
* Version: 4.3.
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* License: GPL v2
|
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
|
|
38 |
* @var string
|
39 |
* @since 3.1.6
|
40 |
*/
|
41 |
-
define( 'WOO_FEED_FREE_VERSION', '4.3.
|
42 |
}
|
43 |
|
44 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
@@ -193,7 +193,7 @@ if ( ! function_exists( 'woo_feed_get_product_information' ) ) {
|
|
193 |
*/
|
194 |
function woo_feed_get_product_information() {
|
195 |
check_ajax_referer( 'wpf_feed_nonce' );
|
196 |
-
if ( ! current_user_can( 'manage_woocommerce' ) ) {
|
197 |
woo_feed_log_debug_message( 'User doesnt have enough permission.' );
|
198 |
wp_send_json_error( esc_html__( 'Unauthorized Action.', 'woo-feed' ) );
|
199 |
die();
|
10 |
* Plugin Name: CTX Feed
|
11 |
* Plugin URI: https://webappick.com/
|
12 |
* Description: Easily generate woocommerce product feed for any marketing channel like Google Shopping(Merchant), Facebook Remarketing, Bing, eBay & more. Support 100+ Merchants.
|
13 |
+
* Version: 4.3.37
|
14 |
* Author: WebAppick
|
15 |
* Author URI: https://webappick.com/
|
16 |
* License: GPL v2
|
38 |
* @var string
|
39 |
* @since 3.1.6
|
40 |
*/
|
41 |
+
define( 'WOO_FEED_FREE_VERSION', '4.3.37' );
|
42 |
}
|
43 |
|
44 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
193 |
*/
|
194 |
function woo_feed_get_product_information() {
|
195 |
check_ajax_referer( 'wpf_feed_nonce' );
|
196 |
+
if ( woo_feed_is_debugging_enabled() && ! current_user_can( 'manage_woocommerce' ) ) {
|
197 |
woo_feed_log_debug_message( 'User doesnt have enough permission.' );
|
198 |
wp_send_json_error( esc_html__( 'Unauthorized Action.', 'woo-feed' ) );
|
199 |
die();
|