Version Description
(2020-08-17) = * Added: canonical_link attribute added to google shopping template.
Download this release
Release Info
Developer | wahid0003 |
Plugin | CTX Feed – WooCommerce Product Feed Manager Plugin |
Version | 3.6.20 |
Comparing to | |
See all releases |
Code changes from version 3.6.19 to 3.6.20
README.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
-
=== WooCommerce Product Feed for Google, Bing, eBay and Many More ===
|
2 |
Contributors: wahid0003, webappick, mhamudul_hk, shuvo586
|
3 |
Donate link: https://webappick.com
|
4 |
Tags:product feed,woocommerce product feed,google shopping feed,google shopping, XML CSV TXT product feed
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.5
|
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 |
|
@@ -308,6 +308,9 @@ Using pro version:
|
|
308 |
|
309 |
== Changelog ==
|
310 |
|
|
|
|
|
|
|
311 |
= 3.6.19 (2020-08-17) =
|
312 |
* Tweak: WordPress 5.5 compatibility checked.
|
313 |
* Tweak: API Library updated.
|
1 |
+
=== WooCommerce Product Feed for Google, Bing, eBay and Many More ===
|
2 |
Contributors: wahid0003, webappick, mhamudul_hk, shuvo586
|
3 |
Donate link: https://webappick.com
|
4 |
Tags:product feed,woocommerce product feed,google shopping feed,google shopping, XML CSV TXT product feed
|
5 |
Requires at least: 3.6
|
6 |
Tested Up To: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 3.6.20
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
308 |
|
309 |
== Changelog ==
|
310 |
|
311 |
+
= 3.6.20 (2020-08-17) =
|
312 |
+
* Added: canonical_link attribute added to google shopping template.
|
313 |
+
|
314 |
= 3.6.19 (2020-08-17) =
|
315 |
* Tweak: WordPress 5.5 compatibility checked.
|
316 |
* Tweak: API Library updated.
|
includes/classes/class-woo-feed-default-attributes.php
CHANGED
@@ -21,6 +21,7 @@ class Woo_Feed_Default_Attributes {
|
|
21 |
'title' => array( 'title', true ),
|
22 |
'description' => array( 'description', true ),
|
23 |
'link' => array( 'link', true ),
|
|
|
24 |
'mobile_link' => array( 'mobile_link', true ),
|
25 |
'product_type' => array( 'g:product_type', true ),
|
26 |
'current_category' => array( 'g:google_product_category', true ),
|
@@ -554,6 +555,7 @@ class Woo_Feed_Default_Attributes {
|
|
554 |
'title' => 'Product Title[title]',
|
555 |
'description' => 'Product Description[description]',
|
556 |
'link' => 'Product URL[link]',
|
|
|
557 |
'mobile_link' => 'Product URL[mobile_link]',
|
558 |
'product_type' => 'Product Categories[product_type] ',
|
559 |
'current_category' => 'Google Product Category[google_product_category]',
|
21 |
'title' => array( 'title', true ),
|
22 |
'description' => array( 'description', true ),
|
23 |
'link' => array( 'link', true ),
|
24 |
+
'canonical_link' => array( 'g:canonical_link', true ),
|
25 |
'mobile_link' => array( 'mobile_link', true ),
|
26 |
'product_type' => array( 'g:product_type', true ),
|
27 |
'current_category' => array( 'g:google_product_category', true ),
|
555 |
'title' => 'Product Title[title]',
|
556 |
'description' => 'Product Description[description]',
|
557 |
'link' => 'Product URL[link]',
|
558 |
+
'canonical_link' => 'Canonical Link[canonical_link]',
|
559 |
'mobile_link' => 'Product URL[mobile_link]',
|
560 |
'product_type' => 'Product Categories[product_type] ',
|
561 |
'current_category' => 'Google Product Category[google_product_category]',
|
includes/classes/class-woo-feed-dropdown.php
CHANGED
@@ -179,6 +179,7 @@ class Woo_Feed_Dropdown {
|
|
179 |
'primary_category' => esc_html__( 'Primary Category', 'woo-feed' ),
|
180 |
'product_type' => esc_html__( 'Product Local Category [Category Path]', 'woo-feed' ),
|
181 |
'link' => esc_html__( 'Product URL', 'woo-feed' ),
|
|
|
182 |
'ex_link' => esc_html__( 'External Product URL', 'woo-feed' ),
|
183 |
'condition' => esc_html__( 'Condition', 'woo-feed' ),
|
184 |
'item_group_id' => esc_html__( 'Parent Id [Group Id]', 'woo-feed' ),
|
179 |
'primary_category' => esc_html__( 'Primary Category', 'woo-feed' ),
|
180 |
'product_type' => esc_html__( 'Product Local Category [Category Path]', 'woo-feed' ),
|
181 |
'link' => esc_html__( 'Product URL', 'woo-feed' ),
|
182 |
+
'canonical_link' => esc_html__( 'Canonical URL', 'woo-feed' ),
|
183 |
'ex_link' => esc_html__( 'External Product URL', 'woo-feed' ),
|
184 |
'condition' => esc_html__( 'Condition', 'woo-feed' ),
|
185 |
'item_group_id' => esc_html__( 'Parent Id [Group Id]', 'woo-feed' ),
|
includes/classes/class-woo-feed-products-v3.php
CHANGED
@@ -1572,6 +1572,20 @@ class Woo_Feed_Products_v3
|
|
1572 |
return $product->get_permalink();
|
1573 |
}
|
1574 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1575 |
/**
|
1576 |
* Get External Product URL
|
1577 |
*
|
1572 |
return $product->get_permalink();
|
1573 |
}
|
1574 |
|
1575 |
+
/**
|
1576 |
+
* Get Canonical Link
|
1577 |
+
* @param WC_Product $product
|
1578 |
+
* @return mixed
|
1579 |
+
*/
|
1580 |
+
protected function canonical_link($product){
|
1581 |
+
if ($product->is_type('variation')) {
|
1582 |
+
$product=wc_get_product($product->get_parent_id());
|
1583 |
+
return $product->get_permalink();
|
1584 |
+
}
|
1585 |
+
|
1586 |
+
return $product->get_permalink();
|
1587 |
+
}
|
1588 |
+
|
1589 |
/**
|
1590 |
* Get External Product URL
|
1591 |
*
|
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.20
|
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.20' );
|
43 |
}
|
44 |
|
45 |
if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
|