Version Description
(2020-06-23) = * Added: Subscription period interval attribute added for WooCommerce Subscription.
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.6.7 |
Comparing to | |
See all releases |
Code changes from version 3.6.6 to 3.6.7
README.txt
CHANGED
@@ -5,7 +5,7 @@ Tags:product feed,woocommerce product feed,google shopping feed,google shopping,
|
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 3.6.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -305,6 +305,9 @@ Using pro version:
|
|
305 |
|
306 |
== Changelog ==
|
307 |
|
|
|
|
|
|
|
308 |
= 3.6.6 (2020-06-18) =
|
309 |
* Added: WooCommerce Subscription product compatibility added.
|
310 |
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.4
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.6.7
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
305 |
|
306 |
== Changelog ==
|
307 |
|
308 |
+
= 3.6.7 (2020-06-23) =
|
309 |
+
* Added: Subscription period interval attribute added for WooCommerce Subscription.
|
310 |
+
|
311 |
= 3.6.6 (2020-06-18) =
|
312 |
* Added: WooCommerce Subscription product compatibility added.
|
313 |
|
includes/classes/class-woo-feed-dropdown.php
CHANGED
@@ -231,7 +231,8 @@ class Woo_Feed_Dropdown {
|
|
231 |
if ( class_exists( 'WC_Subscriptions' ) ) {
|
232 |
$attributes = array_merge( $attributes,
|
233 |
[
|
234 |
-
'subscription_period'
|
|
|
235 |
] );
|
236 |
}
|
237 |
|
231 |
if ( class_exists( 'WC_Subscriptions' ) ) {
|
232 |
$attributes = array_merge( $attributes,
|
233 |
[
|
234 |
+
'subscription_period' => esc_html__( 'Subscription Period', 'woo-feed' ),
|
235 |
+
'subscription_period_interval' => esc_html__( 'Subscription Period Interval', 'woo-feed' ),
|
236 |
] );
|
237 |
}
|
238 |
|
includes/classes/class-woo-feed-products-v3.php
CHANGED
@@ -2592,4 +2592,19 @@ class Woo_Feed_Products_v3
|
|
2592 |
}
|
2593 |
return '';
|
2594 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2595 |
}
|
2592 |
}
|
2593 |
return '';
|
2594 |
}
|
2595 |
+
/**
|
2596 |
+
* Get Subscription period interval
|
2597 |
+
*
|
2598 |
+
* @param WC_Product $product
|
2599 |
+
*
|
2600 |
+
* @return mixed
|
2601 |
+
* @since 3.6.3
|
2602 |
+
*
|
2603 |
+
*/
|
2604 |
+
protected function subscription_period_interval($product){
|
2605 |
+
if ( class_exists( 'WC_Subscriptions' ) ) {
|
2606 |
+
return $this->getProductMeta($product,'_subscription_period_interval');
|
2607 |
+
}
|
2608 |
+
return '';
|
2609 |
+
}
|
2610 |
}
|
woo-feed.php
CHANGED
@@ -11,7 +11,7 @@
|
|
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 |
*
|
14 |
-
* Version: 3.6.
|
15 |
* Author: WebAppick
|
16 |
* Author URI: https://webappick.com/
|
17 |
* License: GPL v2
|
@@ -39,7 +39,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
|
|
39 |
* @var string
|
40 |
* @since 3.1.6
|
41 |
*/
|
42 |
-
define( 'WOO_FEED_FREE_VERSION', '3.6.
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|
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 |
*
|
14 |
+
* Version: 3.6.7
|
15 |
* Author: WebAppick
|
16 |
* Author URI: https://webappick.com/
|
17 |
* License: GPL v2
|
39 |
* @var string
|
40 |
* @since 3.1.6
|
41 |
*/
|
42 |
+
define( 'WOO_FEED_FREE_VERSION', '3.6.7' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|