CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.3.98

Version Description

(2021-06-10) = * Fixed: Identifier for variation not working issue fixed.

Download this release

Release Info

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

Code changes from version 4.3.97 to 4.3.98

Files changed (3) hide show
  1. README.txt +4 -1
  2. includes/helper.php +4 -4
  3. woo-feed.php +2 -2
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.97
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.97 (2021-06-10) =
505
  * Fixed: Identifier attributes missing in the dropdown issue fixed.
506
 
5
  Requires at least: 3.6
6
  Tested Up To: 5.7
7
  Requires PHP: 5.6
8
+ Stable tag: 4.3.98
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.98 (2021-06-10) =
505
+ * Fixed: Identifier for variation not working issue fixed.
506
+
507
  = 4.3.97 (2021-06-10) =
508
  * Fixed: Identifier attributes missing in the dropdown issue fixed.
509
 
includes/helper.php CHANGED
@@ -2816,9 +2816,9 @@ if ( ! function_exists('woo_feed_add_custom_identifier_for_variation') ) {
2816
  echo '<div class="woo-feed-variation-items">';
2817
 
2818
  foreach ( $custom_identifier as $key => $value ) {
2819
- $custom_field_id = sprintf( 'woo_feed_%s_var[%d]', strtolower( $key ), $variation->ID );
2820
  $custom_field_label = isset( $value[0] ) ? $value[0] : '';
2821
- $custom_field_key = sprintf( 'woo_feed_%s_var', strtolower( $key ) );
2822
  $custom_field_description = sprintf( 'Set product %s here.', $custom_field_label );
2823
  woocommerce_wp_text_input(
2824
  array(
@@ -2856,9 +2856,9 @@ if ( ! function_exists('woo_feed_save_custom_identifier_for_variation') ) {
2856
 
2857
  if ( ! empty( $custom_identifier ) ) {
2858
  foreach ( $custom_identifier as $key => $value ) {
2859
- $custom_field_value = isset( $_POST[ "woo_feed_{$key}_var" ][ $variation_id ] ) ? sanitize_text_field( $_POST[ "woo_feed_{$key}_var" ][ $variation_id ] ) : '';
2860
  if ( isset($custom_field_value) ) {
2861
- update_post_meta( $variation_id, "woo_feed_{$key}_var", $custom_field_value );
2862
  }
2863
  }
2864
  }
2816
  echo '<div class="woo-feed-variation-items">';
2817
 
2818
  foreach ( $custom_identifier as $key => $value ) {
2819
+ $custom_field_id = sprintf( 'woo_feed_identifier_%s_var[%d]', strtolower( $key ), $variation->ID );
2820
  $custom_field_label = isset( $value[0] ) ? $value[0] : '';
2821
+ $custom_field_key = sprintf( 'woo_feed_identifier_%s_var', strtolower( $key ) );
2822
  $custom_field_description = sprintf( 'Set product %s here.', $custom_field_label );
2823
  woocommerce_wp_text_input(
2824
  array(
2856
 
2857
  if ( ! empty( $custom_identifier ) ) {
2858
  foreach ( $custom_identifier as $key => $value ) {
2859
+ $custom_field_value = isset( $_POST[ "woo_feed_identifier_{$key}_var" ][ $variation_id ] ) ? sanitize_text_field( $_POST[ "woo_feed_identifier_{$key}_var" ][ $variation_id ] ) : '';
2860
  if ( isset($custom_field_value) ) {
2861
+ update_post_meta( $variation_id, "woo_feed_identifier_{$key}_var", $custom_field_value );
2862
  }
2863
  }
2864
  }
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.97
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.97' );
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.98
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.98' );
43
  }
44
 
45
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {