CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.3.85

Version Description

(2021-05-19) = * Added: Attribute field webitemid to google merchant.

Download this release

Release Info

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

Code changes from version 4.3.84 to 4.3.85

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.7
7
  Requires PHP: 5.6
8
- Stable tag: 4.3.84
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -501,6 +501,9 @@ Using pro version:
501
 
502
  == Changelog ==
503
 
 
 
 
504
  = 4.3.84 (2021-05-13) =
505
  * Fixed: Removed junk banner message.
506
 
5
  Requires at least: 3.6
6
  Tested Up To: 5.7
7
  Requires PHP: 5.6
8
+ Stable tag: 4.3.85
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
501
 
502
  == Changelog ==
503
 
504
+ = 4.3.85 (2021-05-19) =
505
+ * Added: Attribute field webitemid to google merchant.
506
+
507
  = 4.3.84 (2021-05-13) =
508
  * Fixed: Removed junk banner message.
509
 
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -578,6 +578,7 @@ class Woo_Feed_Default_Attributes {
578
  return array(
579
  '--1' => 'Basic Information',
580
  'id' => 'Product Id[id]',
 
581
  'title' => 'Product Title[title]',
582
  'description' => 'Product Description[description]',
583
  'link' => 'Product URL[link]',
578
  return array(
579
  '--1' => 'Basic Information',
580
  'id' => 'Product Id[id]',
581
+ 'webitemid' => 'Product WebItemId[webitemid]',
582
  'title' => 'Product Title[title]',
583
  'description' => 'Product Description[description]',
584
  'link' => 'Product URL[link]',
includes/classes/class-woo-feed-dropdown.php CHANGED
@@ -423,7 +423,6 @@ class Woo_Feed_Dropdown {
423
  'product_type' => esc_html__( 'Product Category [Category Path]', 'woo-feed' ),
424
  'product_full_cat' => esc_html__( 'Product Full Category [Category Full Path]', 'woo-feed' ),
425
  'link' => esc_html__( 'Product URL', 'woo-feed' ),
426
- 'link_top' => esc_html__( 'Product URL (TranslatePress)', 'woo-feed' ),
427
  'parent_link' => esc_html__( 'Parent URL', 'woo-feed' ),
428
  'canonical_link' => esc_html__( 'Canonical URL', 'woo-feed' ),
429
  'ex_link' => esc_html__( 'External Product URL', 'woo-feed' ),
423
  'product_type' => esc_html__( 'Product Category [Category Path]', 'woo-feed' ),
424
  'product_full_cat' => esc_html__( 'Product Full Category [Category Full Path]', 'woo-feed' ),
425
  'link' => esc_html__( 'Product URL', 'woo-feed' ),
 
426
  'parent_link' => esc_html__( 'Parent URL', 'woo-feed' ),
427
  'canonical_link' => esc_html__( 'Canonical URL', 'woo-feed' ),
428
  'ex_link' => esc_html__( 'External Product URL', 'woo-feed' ),
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -2118,58 +2118,6 @@ class Woo_Feed_Products_v3
2118
  return apply_filters('woo_feed_filter_product_link', $link, $product, $this->config);
2119
  }
2120
 
2121
-
2122
- /**
2123
- * Get Product URL from TranslatePress
2124
- *
2125
- * @param WC_Product $product
2126
- *
2127
- * @return string
2128
- * @since 5.2.44
2129
- */
2130
- protected function link_tp( $product ) {
2131
- $utm = $this->config['campaign_parameters'];
2132
- if ( ! empty( $utm['utm_source'] ) && ! empty( $utm['utm_medium'] ) && ! empty( $utm['utm_campaign'] ) ) {
2133
- $utm = array(
2134
- 'utm_source' => $utm['utm_source'],
2135
- 'utm_medium' => $utm['utm_medium'],
2136
- 'utm_campaign' => $utm['utm_campaign'],
2137
- 'utm_term' => $utm['utm_term'],
2138
- 'utm_content' => $utm['utm_content'],
2139
- );
2140
-
2141
- return add_query_arg( array_filter( $utm ), $product->get_permalink() );
2142
- }
2143
-
2144
- $link = $product->get_permalink();
2145
-
2146
- //when translatepress plugin is active
2147
- if ( is_plugin_active('translatepress-multilingual/index.php') ) {
2148
- $trp_setting_obj = new TRP_Settings();
2149
- $trp_settings = $trp_setting_obj->get_settings();
2150
-
2151
- if( isset( $trp_settings['add-subdirectory-to-default-language'] ) && $trp_settings['add-subdirectory-to-default-language'] === 'yes' ) {
2152
- if( class_exists('TRP_Url_Converter') ) {
2153
- $TRP_URL_Converter = new TRP_Url_Converter($trp_settings);
2154
-
2155
- $url_obj = new \TranslatePress\Uri($link);
2156
- $path = $url_obj->getPath();
2157
- $scheme = $url_obj->getScheme();
2158
-
2159
- $url_slug = $TRP_URL_Converter->get_url_slug( $this->config['feedLanguage'] );
2160
- $abs_home = $TRP_URL_Converter->get_abs_home();
2161
-
2162
- if ( ! empty( $path ) ) {
2163
- $new_link = trailingslashit($abs_home) . $url_slug;
2164
- $link = trailingslashit($new_link) . ltrim( $path, '/' );
2165
- }
2166
- }
2167
- }
2168
- }
2169
-
2170
- return apply_filters('woo_feed_filter_product_link_tp', $link, $product, $this->config);
2171
- }
2172
-
2173
  /**
2174
  * Get Parent Product URL
2175
  *
2118
  return apply_filters('woo_feed_filter_product_link', $link, $product, $this->config);
2119
  }
2120
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2121
  /**
2122
  * Get Parent Product URL
2123
  *
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.84
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * 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', '4.3.84' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
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.85
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
39
  * @var string
40
  * @since 3.1.6
41
  */
42
+ define( 'WOO_FEED_FREE_VERSION', '4.3.85' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {