CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.4.57

Version Description

(2022-04-11) = * Fixed: During Quick Edit, custom identifiers fields value become empty - issue has been fixed.

Download this release

Release Info

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

Code changes from version 4.4.56 to 4.4.57

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: WooCommerce Product Feed, WooCommerce, Google Shopping, Google Merchant, F
5
  Requires at least: 4.4
6
  Tested Up To: 5.9
7
  Requires PHP: 5.6
8
- Stable tag: 4.4.56
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -19,7 +19,7 @@ This **WooCommerce product feed Manager Plugin** supports over 100+ recognized c
19
 
20
  Creating a WooCommerce product feed using CTX Feed – a WooCommerce Product Feed Manager Plugin – has become easier than ever. Struggle no more in creating the most perfect and subtle product feed for your designated and preferred marketing channels for internationally prominent marketplaces, along with other notable ones as well.
21
 
22
- It aims to reduce your hardship on marketing efforts to create product feeds and distribute them in multiple marketing/shopping channels. There are flexible options to update product information according to your given schedule and sync the update to the right channel via HTTP or FTP. Stay at ease knowing that your customers will automatically get the latest product information.
23
 
24
  **WooCommerce Google Shopping Product Feed - Video Tutorial**
25
  [youtube https://www.youtube.com/watch?v=QRTvrDJm4mI]
@@ -590,6 +590,9 @@ Using pro version:
590
 
591
  == Changelog ==
592
 
 
 
 
593
  = 4.4.56 (2022-03-29) =
594
  * Fixed: Call to a member function get_price() on bool - issue has been fixed.
595
 
5
  Requires at least: 4.4
6
  Tested Up To: 5.9
7
  Requires PHP: 5.6
8
+ Stable tag: 4.4.57
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
19
 
20
  Creating a WooCommerce product feed using CTX Feed – a WooCommerce Product Feed Manager Plugin – has become easier than ever. Struggle no more in creating the most perfect and subtle product feed for your designated and preferred marketing channels for internationally prominent marketplaces, along with other notable ones as well.
21
 
22
+ It aims to reduce your hardship on marketing efforts to create product feeds and distribute them in multiple marketing/shopping channels. There are flexible options to update product information according to your given schedule and sync the update to the right channel via HTTP or FTP/SFTP. Stay at ease knowing that your customers will automatically get the latest product information.
23
 
24
  **WooCommerce Google Shopping Product Feed - Video Tutorial**
25
  [youtube https://www.youtube.com/watch?v=QRTvrDJm4mI]
590
 
591
  == Changelog ==
592
 
593
+ = 4.4.57 (2022-04-11) =
594
+ * Fixed: During Quick Edit, custom identifiers fields value become empty - issue has been fixed.
595
+
596
  = 4.4.56 (2022-03-29) =
597
  * Fixed: Call to a member function get_price() on bool - issue has been fixed.
598
 
includes/classes/class-woo-feed-constants.php CHANGED
@@ -23,7 +23,7 @@ if( ! class_exists("Woo_Feed_Constants") ) {
23
  * @var string
24
  * @since 3.1.6
25
  */
26
- define( 'WOO_FEED_FREE_VERSION', '4.4.56' );
27
  }
28
 
29
  if ( ! defined( 'WOO_FEED_FREE_PATH' ) ) {
23
  * @var string
24
  * @since 3.1.6
25
  */
26
+ define( 'WOO_FEED_FREE_VERSION', '4.4.57' );
27
  }
28
 
29
  if ( ! defined( 'WOO_FEED_FREE_PATH' ) ) {
includes/helper.php CHANGED
@@ -2956,12 +2956,25 @@ if ( ! function_exists('woo_feed_save_custom_identifier') ) {
2956
  $custom_fields = woo_feed_product_custom_fields();
2957
  $custom_identifier_filter = new Woo_Feed_Custom_Identifier_Filter($custom_fields);
2958
  $custom_identifier = iterator_to_array($custom_identifier_filter);
 
2959
 
2960
  if ( ! empty($custom_identifier) ) {
2961
  foreach ( $custom_identifier as $key => $name ) {
2962
  $product_meta_key = "woo_feed_{$key}";
2963
- $product_meta_value = isset($_POST[ $product_meta_key ]) ? sanitize_text_field($_POST[ $product_meta_key ]) : (isset($_POST[ "woo_feed_identifier_{$key}" ]) ? sanitize_text_field($_POST[ "woo_feed_identifier_{$key}" ]) : '');
2964
- if ( isset($product_meta_value) && ! empty($product_meta_value) ) {
 
 
 
 
 
 
 
 
 
 
 
 
2965
  update_post_meta($product_id, $product_meta_key, $product_meta_value);
2966
  } else {
2967
  delete_post_meta($product_id, $product_meta_key);
2956
  $custom_fields = woo_feed_product_custom_fields();
2957
  $custom_identifier_filter = new Woo_Feed_Custom_Identifier_Filter($custom_fields);
2958
  $custom_identifier = iterator_to_array($custom_identifier_filter);
2959
+ $set_meta_val = '';
2960
 
2961
  if ( ! empty($custom_identifier) ) {
2962
  foreach ( $custom_identifier as $key => $name ) {
2963
  $product_meta_key = "woo_feed_{$key}";
2964
+
2965
+ $new_meta_key = "woo_feed_identifier_{$key}";
2966
+ $new_meta_val = get_post_meta($product_id, $new_meta_key, true);
2967
+ $old_meta_val = get_post_meta($product_id, $product_meta_key, true);
2968
+
2969
+ if(!empty($old_meta_val)){
2970
+ $set_meta_val = $old_meta_val;
2971
+ }else {
2972
+ $set_meta_val = $new_meta_val;
2973
+ }
2974
+
2975
+ $product_meta_value = isset($_POST[$product_meta_key]) ? sanitize_text_field($_POST[$product_meta_key]) : (isset($_POST["woo_feed_identifier_{$key}"]) ? sanitize_text_field($_POST["woo_feed_identifier_{$key}"]) : $set_meta_val);
2976
+
2977
+ if (isset($product_meta_value) && !empty($product_meta_value)) {
2978
  update_post_meta($product_id, $product_meta_key, $product_meta_value);
2979
  } else {
2980
  delete_post_meta($product_id, $product_meta_key);
languages/woo-feed.pot CHANGED
@@ -16,7 +16,7 @@ msgstr ""
16
  msgid "Unauthorized Action."
17
  msgstr ""
18
 
19
- #: woo-feed.php:141, woo-feed.php:260, includes/helper.php:823, includes/helper.php:1843, includes/helper.php:2860, includes/helper.php:2888, includes/helper.php:3268, includes/helper.php:3459, includes/helper.php:3486, includes/helper.php:4716, includes/helper.php:5206
20
  msgid "Invalid Request."
21
  msgstr ""
22
 
@@ -76,7 +76,7 @@ msgstr ""
76
  msgid "Learn More.."
77
  msgstr ""
78
 
79
- #: admin/class-woo-feed-admin.php:178, includes/helper.php:3188, admin/partials/woo-feed-edit-config.php:66
80
  msgid "Select A Category"
81
  msgstr ""
82
 
@@ -168,7 +168,7 @@ msgstr ""
168
  msgid "mappings"
169
  msgstr ""
170
 
171
- #: admin/class-woo-feed-category-list.php:81, admin/class-woo-feed-category-list.php:122, admin/class-woo-feed-category-list.php:217, admin/class-woo-feed-manage-list.php:162, admin/class-woo-feed-manage-list.php:270, includes/helper.php:3537
172
  msgid "Edit"
173
  msgstr ""
174
 
@@ -605,7 +605,7 @@ msgstr ""
605
  msgid "Custom field 4"
606
  msgstr ""
607
 
608
- #: includes/helper.php:2908, includes/helper.php:2998
609
  msgid "CUSTOM FIELDS by CTX Feed"
610
  msgstr ""
611
 
@@ -617,123 +617,123 @@ msgstr ""
617
  msgid " here."
618
  msgstr ""
619
 
620
- #: includes/helper.php:3108
621
  msgid "Another category mapping exists with the same name."
622
  msgstr ""
623
 
624
- #: includes/helper.php:3117
625
  msgid "Failed To Add Mapping"
626
  msgstr ""
627
 
628
- #: includes/helper.php:3113
629
  msgid "Mapping Added Successfully"
630
  msgstr ""
631
 
632
- #: includes/helper.php:3082
633
  msgid "Mapping Not Changed"
634
  msgstr ""
635
 
636
- #: includes/helper.php:3092
637
  msgid "Failed To Updated Mapping"
638
  msgstr ""
639
 
640
- #: includes/helper.php:3088
641
  msgid "Mapping Updated Successfully"
642
  msgstr ""
643
 
644
- #: includes/helper.php:3208
645
  msgid "Copy this category to subcategories"
646
  msgstr ""
647
 
648
- #: includes/helper.php:3238
649
  msgid "Clear Cache"
650
  msgstr ""
651
 
652
- #: includes/helper.php:3455, includes/helper.php:3483
653
  msgid "Something is wrong."
654
  msgstr ""
655
 
656
- #: includes/helper.php:3453
657
  msgid "User meta updated successfully."
658
  msgstr ""
659
 
660
- #: includes/helper.php:3529, includes/helper.php:3531
661
  msgid "by CTX Feed"
662
  msgstr ""
663
 
664
- #: includes/helper.php:3532
665
  msgid "All"
666
  msgstr ""
667
 
668
- #: includes/helper.php:3533
669
  msgid "Parent"
670
  msgstr ""
671
 
672
- #: includes/helper.php:3534
673
  msgid "Parent:"
674
  msgstr ""
675
 
676
- #: includes/helper.php:3535
677
  msgid "New"
678
  msgstr ""
679
 
680
- #: includes/helper.php:3535, libs/WebAppick/AppServices/Insights.php:977
681
  msgid "Name"
682
  msgstr ""
683
 
684
- #: includes/helper.php:3536
685
  msgid "Add New"
686
  msgstr ""
687
 
688
- #: includes/helper.php:3538
689
  msgid "Update"
690
  msgstr ""
691
 
692
- #: includes/helper.php:3539
693
  msgid "Separate"
694
  msgstr ""
695
 
696
- #: includes/helper.php:3539
697
  msgid "with commas"
698
  msgstr ""
699
 
700
- #: includes/helper.php:3540
701
  msgid "Search"
702
  msgstr ""
703
 
704
- #: includes/helper.php:3541
705
  msgid "Add or remove"
706
  msgstr ""
707
 
708
- #: includes/helper.php:3542
709
  msgid "Choose from the most used"
710
  msgstr ""
711
 
712
- #: includes/helper.php:4413
713
  msgid "Option Successfully Added."
714
  msgstr ""
715
 
716
- #: includes/helper.php:4404
717
  msgid "Option Already Added."
718
  msgstr ""
719
 
720
- #: includes/helper.php:5113
721
  msgid "Delivery up to 30 days"
722
  msgstr ""
723
 
724
- #: includes/helper.php:5111
725
  msgid "Delivery 1 to 3 days"
726
  msgstr ""
727
 
728
- #: includes/helper.php:5214
729
  msgid "Feed data is empty. Can't duplicate feed."
730
  msgstr ""
731
 
732
- #: includes/helper.php:5230
733
  msgid "Unable to save the duplicate feed data."
734
  msgstr ""
735
 
736
- #: includes/helper.php:5240
737
  msgid "Feed Successfully Duplicated, but unable to generate the data file. Please click the \"Regenerate Button\""
738
  msgstr ""
739
 
16
  msgid "Unauthorized Action."
17
  msgstr ""
18
 
19
+ #: woo-feed.php:141, woo-feed.php:260, includes/helper.php:823, includes/helper.php:1843, includes/helper.php:2860, includes/helper.php:2888, includes/helper.php:3281, includes/helper.php:3472, includes/helper.php:3499, includes/helper.php:4729, includes/helper.php:5219
20
  msgid "Invalid Request."
21
  msgstr ""
22
 
76
  msgid "Learn More.."
77
  msgstr ""
78
 
79
+ #: admin/class-woo-feed-admin.php:178, includes/helper.php:3201, admin/partials/woo-feed-edit-config.php:66
80
  msgid "Select A Category"
81
  msgstr ""
82
 
168
  msgid "mappings"
169
  msgstr ""
170
 
171
+ #: admin/class-woo-feed-category-list.php:81, admin/class-woo-feed-category-list.php:122, admin/class-woo-feed-category-list.php:217, admin/class-woo-feed-manage-list.php:162, admin/class-woo-feed-manage-list.php:270, includes/helper.php:3550
172
  msgid "Edit"
173
  msgstr ""
174
 
605
  msgid "Custom field 4"
606
  msgstr ""
607
 
608
+ #: includes/helper.php:2908, includes/helper.php:3011
609
  msgid "CUSTOM FIELDS by CTX Feed"
610
  msgstr ""
611
 
617
  msgid " here."
618
  msgstr ""
619
 
620
+ #: includes/helper.php:3121
621
  msgid "Another category mapping exists with the same name."
622
  msgstr ""
623
 
624
+ #: includes/helper.php:3130
625
  msgid "Failed To Add Mapping"
626
  msgstr ""
627
 
628
+ #: includes/helper.php:3126
629
  msgid "Mapping Added Successfully"
630
  msgstr ""
631
 
632
+ #: includes/helper.php:3095
633
  msgid "Mapping Not Changed"
634
  msgstr ""
635
 
636
+ #: includes/helper.php:3105
637
  msgid "Failed To Updated Mapping"
638
  msgstr ""
639
 
640
+ #: includes/helper.php:3101
641
  msgid "Mapping Updated Successfully"
642
  msgstr ""
643
 
644
+ #: includes/helper.php:3221
645
  msgid "Copy this category to subcategories"
646
  msgstr ""
647
 
648
+ #: includes/helper.php:3251
649
  msgid "Clear Cache"
650
  msgstr ""
651
 
652
+ #: includes/helper.php:3468, includes/helper.php:3496
653
  msgid "Something is wrong."
654
  msgstr ""
655
 
656
+ #: includes/helper.php:3466
657
  msgid "User meta updated successfully."
658
  msgstr ""
659
 
660
+ #: includes/helper.php:3542, includes/helper.php:3544
661
  msgid "by CTX Feed"
662
  msgstr ""
663
 
664
+ #: includes/helper.php:3545
665
  msgid "All"
666
  msgstr ""
667
 
668
+ #: includes/helper.php:3546
669
  msgid "Parent"
670
  msgstr ""
671
 
672
+ #: includes/helper.php:3547
673
  msgid "Parent:"
674
  msgstr ""
675
 
676
+ #: includes/helper.php:3548
677
  msgid "New"
678
  msgstr ""
679
 
680
+ #: includes/helper.php:3548, libs/WebAppick/AppServices/Insights.php:977
681
  msgid "Name"
682
  msgstr ""
683
 
684
+ #: includes/helper.php:3549
685
  msgid "Add New"
686
  msgstr ""
687
 
688
+ #: includes/helper.php:3551
689
  msgid "Update"
690
  msgstr ""
691
 
692
+ #: includes/helper.php:3552
693
  msgid "Separate"
694
  msgstr ""
695
 
696
+ #: includes/helper.php:3552
697
  msgid "with commas"
698
  msgstr ""
699
 
700
+ #: includes/helper.php:3553
701
  msgid "Search"
702
  msgstr ""
703
 
704
+ #: includes/helper.php:3554
705
  msgid "Add or remove"
706
  msgstr ""
707
 
708
+ #: includes/helper.php:3555
709
  msgid "Choose from the most used"
710
  msgstr ""
711
 
712
+ #: includes/helper.php:4426
713
  msgid "Option Successfully Added."
714
  msgstr ""
715
 
716
+ #: includes/helper.php:4417
717
  msgid "Option Already Added."
718
  msgstr ""
719
 
720
+ #: includes/helper.php:5126
721
  msgid "Delivery up to 30 days"
722
  msgstr ""
723
 
724
+ #: includes/helper.php:5124
725
  msgid "Delivery 1 to 3 days"
726
  msgstr ""
727
 
728
+ #: includes/helper.php:5227
729
  msgid "Feed data is empty. Can't duplicate feed."
730
  msgstr ""
731
 
732
+ #: includes/helper.php:5243
733
  msgid "Unable to save the duplicate feed data."
734
  msgstr ""
735
 
736
+ #: includes/helper.php:5253
737
  msgid "Feed Successfully Duplicated, but unable to generate the data file. Please click the \"Regenerate Button\""
738
  msgstr ""
739
 
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.4.56
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
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.4.57
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2