CTX Feed – WooCommerce Product Feed Manager Plugin - Version 4.2.1

Version Description

(2020-11-18) = * Fix: Local template attribute for google. * Fix: Local inventory template attribute for google.

Download this release

Release Info

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

Code changes from version 4.2.0 to 4.2.1

README.txt CHANGED
@@ -8,7 +8,7 @@ Google Product Review feed, product variations, rakuteen, shopping, skroutz, TSV
8
  Requires at least: 3.6
9
  Tested Up To: 5.5
10
  Requires PHP: 5.6
11
- Stable tag: 4.2.0
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
@@ -311,6 +311,10 @@ Using pro version:
311
 
312
  == Changelog ==
313
 
 
 
 
 
314
  = 4.2.0 (2020-11-16) =
315
  * Tweak: Update interval button new look.
316
  * Tweak: Clear cache button new look.
8
  Requires at least: 3.6
9
  Tested Up To: 5.5
10
  Requires PHP: 5.6
11
+ Stable tag: 4.2.1
12
  License: GPLv2 or later
13
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
14
 
311
 
312
  == Changelog ==
313
 
314
+ = 4.2.1 (2020-11-18) =
315
+ * Fix: Local template attribute for google.
316
+ * Fix: Local inventory template attribute for google.
317
+
318
  = 4.2.0 (2020-11-16) =
319
  * Tweak: Update interval button new look.
320
  * Tweak: Clear cache button new look.
includes/classes/class-woo-feed-default-attributes.php CHANGED
@@ -115,6 +115,25 @@ class Woo_Feed_Default_Attributes {
115
  'transit_time_label' => array( 'g:transit_time_label', false ),
116
  'return_address_label' => array( 'g:return_address_label', false ),
117
  'return_policy_label' => array( 'g:return_policy_label', false ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
118
  'google_funded_promotion_eligibility' => array(
119
  'g:google_funded_promotion_eligibility',
120
  false,
115
  'transit_time_label' => array( 'g:transit_time_label', false ),
116
  'return_address_label' => array( 'g:return_address_label', false ),
117
  'return_policy_label' => array( 'g:return_policy_label', false ),
118
+ 'image link' => array( 'g:image_link', false ),
119
+ 'gtin' => array( 'g:gtin', false ),
120
+ 'mpn' => array( 'g:mpn', false ),
121
+ 'store code' => array( 'g:store_code', false ),
122
+ 'sale price effective date' => array( 'g:sale_price_effective_date', true ),
123
+ 'quantity' => array( 'g:quantity', true ),
124
+ 'sale price' => array( 'g:sale_price', true ),
125
+ 'pickup method' => array( 'g:pickup_method', true ),
126
+ 'pickup sla' => array( 'g:pickup_sla', true ),
127
+ 'pickup link template' => array( 'g:pickup_link_template', true ),
128
+ 'energy efficiency class' => array( 'g:energy_efficiency_class', true ),
129
+ 'min energy efficiency class' => array( 'g:min_energy_efficiency_class', true ),
130
+ 'max energy efficiency class' => array( 'g:max_energy_efficiency_class ', true ),
131
+ 'ads redirect' => array( 'g:ads_redirect', true ),
132
+ 'link template' => array( 'g:link_template', true ),
133
+ 'mobile link template' => array( 'g:mobile_link_template', true ),
134
+ 'mobile pickup link template' => array( 'g:mobile_pickup_link_template', true ),
135
+ 'unit pricing measure' => array( 'g:unit_pricing_measure', true ),
136
+ 'unit pricing base measure' => array( 'g:unit_pricing_base_measure', true ),
137
  'google_funded_promotion_eligibility' => array(
138
  'g:google_funded_promotion_eligibility',
139
  false,
includes/classes/class-woo-feed-products-v3.php CHANGED
@@ -582,7 +582,6 @@ class Woo_Feed_Products_v3
582
  $this->feedBody .= "\n";
583
  }
584
  } elseif ( 'csv' == $feedType || 'tsv' == $feedType || 'xls' == $feedType ) {
585
- $merchant_attribute = trim($merchant_attribute, 'g:');
586
  $merchant_attribute = woo_feed_replace_to_merchant_attribute($merchant_attribute, $merchant, $feedType);
587
  $merchant_attribute = $this->processStringForCSV($merchant_attribute);
588
  $attributeValue = $this->processStringForCSV($attributeValue);
582
  $this->feedBody .= "\n";
583
  }
584
  } elseif ( 'csv' == $feedType || 'tsv' == $feedType || 'xls' == $feedType ) {
 
585
  $merchant_attribute = woo_feed_replace_to_merchant_attribute($merchant_attribute, $merchant, $feedType);
586
  $merchant_attribute = $this->processStringForCSV($merchant_attribute);
587
  $attributeValue = $this->processStringForCSV($attributeValue);
includes/feeds/merchant_templates.php CHANGED
@@ -2701,19 +2701,19 @@ return array(
2701
  ),
2702
  'google_local_inventory' => array(
2703
  'mattributes' => array(
2704
- 'g:store_code',
2705
- 'g:id',
2706
- 'g:title',
2707
- 'g:description',
2708
- 'g:image_link',
2709
- 'g:condition',
2710
- 'g:quantity',
2711
- 'g:price',
2712
- 'g:sale price',
2713
- 'g:availability',
2714
- 'g:sale price effective date',
2715
- 'g:pickup method',
2716
- 'g:pickup sla',
2717
  ),
2718
  'prefix' => array( '', '', '', '', '', '', '', '', '', '', '', '', '' ),
2719
  'type' => array(
@@ -2751,232 +2751,216 @@ return array(
2751
  'output_type' => array( '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1' ),
2752
  'limit' => array( '', '', '', '', '', '', '', '', '', '', '', '', '' ),
2753
  ),
2754
- 'google_local' => array(
2755
- 'mattributes' => array(
2756
- 'g:store_code',
2757
- 'g:id',
2758
- 'g:title',
2759
- 'description',
2760
- 'g:image_link',
2761
- 'g:condition',
2762
- 'g:gtin',
2763
- 'g:brand',
2764
- 'g:google_product_category',
2765
- 'g:webitemid',
2766
- 'g:mpn',
2767
- 'g:price',
2768
- 'g:sale price',
2769
- 'g:sale price effective date',
2770
- 'g:unit_pricing_measure',
2771
- 'g:unit_pricing_base_measure',
2772
- 'g:pickup method',
2773
- 'g:pickup SLA',
2774
- 'g:pickup_link_template',
2775
- 'g:mobile_pickup_link_template',
2776
- 'g:link_template',
2777
- 'g:mobile_link_template',
2778
- 'g:ads_redirect',
2779
- 'g:energy_efficiency_class',
2780
- 'g:energy_efficiency_class_min',
2781
- 'g:energy_efficiency_class_max',
2782
- ),
2783
- 'prefix' => array(
2784
- '',
2785
- '',
2786
- '',
2787
- '',
2788
- '',
2789
- '',
2790
- '',
2791
- '',
2792
- '',
2793
- '',
2794
- '',
2795
- '',
2796
- '',
2797
- '',
2798
- '',
2799
- '',
2800
- '',
2801
- '',
2802
- '',
2803
- '',
2804
- '',
2805
- '',
2806
- '',
2807
- '',
2808
- '',
2809
- '',
2810
- ),
2811
- 'type' => array(
2812
- 'pattern',
2813
- 'attribute',
2814
- 'attribute',
2815
- 'attribute',
2816
- 'attribute',
2817
- 'attribute',
2818
- 'attribute',
2819
- 'pattern',
2820
- 'pattern',
2821
- 'pattern',
2822
- 'pattern',
2823
- 'attribute',
2824
- 'attribute',
2825
- 'attribute',
2826
- 'pattern',
2827
- 'pattern',
2828
- 'pattern',
2829
- 'pattern',
2830
- 'pattern',
2831
- 'pattern',
2832
- 'pattern',
2833
- 'pattern',
2834
- 'pattern',
2835
- 'pattern',
2836
- 'pattern',
2837
- 'pattern',
2838
- ),
2839
- 'attributes' => array(
2840
- '',
2841
- 'id',
2842
- 'title',
2843
- 'description',
2844
- 'image',
2845
- 'condition',
2846
- 'sku',
2847
- '',
2848
- '',
2849
- '',
2850
- '',
2851
- 'price',
2852
- 'sale_price',
2853
- 'sale_price_effective_date',
2854
- '',
2855
- '',
2856
- '',
2857
- '',
2858
- '',
2859
- '',
2860
- '',
2861
- '',
2862
- '',
2863
- '',
2864
- '',
2865
- '',
2866
- ),
2867
- 'default' => array(
2868
- ' ',
2869
- '',
2870
- '',
2871
- '',
2872
- '',
2873
- '',
2874
- '',
2875
- $this->brand_pattern,
2876
- '',
2877
- '',
2878
- '',
2879
- '',
2880
- '',
2881
- '',
2882
- '',
2883
- '',
2884
- '',
2885
- '',
2886
- '',
2887
- '',
2888
- '',
2889
- '',
2890
- '',
2891
- '',
2892
- '',
2893
- '',
2894
- ),
2895
- 'suffix' => array(
2896
- '',
2897
- '',
2898
- '',
2899
- '',
2900
- '',
2901
- '',
2902
- '',
2903
- '',
2904
- '',
2905
- '',
2906
- '',
2907
  $this->currency,
2908
  $this->currency,
2909
- '',
2910
- '',
2911
- '',
2912
- '',
2913
- '',
2914
- '',
2915
- '',
2916
- '',
2917
- '',
2918
- '',
2919
- '',
2920
- '',
2921
- '',
2922
- ),
2923
- 'output_type' => array(
2924
- '1',
2925
- '1',
2926
- '1',
2927
- '1',
2928
- '1',
2929
- '1',
2930
- '1',
2931
- '1',
2932
- '1',
2933
- '1',
2934
- '1',
2935
- '1',
2936
- '1',
2937
- '1',
2938
- '1',
2939
- '1',
2940
- '1',
2941
- '1',
2942
- '1',
2943
- '1',
2944
- '1',
2945
- '1',
2946
- '1',
2947
- '1',
2948
- '1',
2949
- '1',
2950
- ),
2951
- 'limit' => array(
2952
- '',
2953
- '',
2954
- '',
2955
- '',
2956
- '',
2957
- '',
2958
- '',
2959
- '',
2960
- '',
2961
- '',
2962
- '',
2963
- '',
2964
- '',
2965
- '',
2966
- '',
2967
- '',
2968
- '',
2969
- '',
2970
- '',
2971
- '',
2972
- '',
2973
- '',
2974
- '',
2975
- '',
2976
- '',
2977
- '',
2978
- ),
2979
- ),
2980
  'idealo' => array(
2981
  'mattributes' => array(
2982
  'Article number in shop',
2701
  ),
2702
  'google_local_inventory' => array(
2703
  'mattributes' => array(
2704
+ 'store code',
2705
+ 'id',
2706
+ 'title',
2707
+ 'description',
2708
+ 'image link',
2709
+ 'condition',
2710
+ 'quantity',
2711
+ 'price',
2712
+ 'sale price',
2713
+ 'availability',
2714
+ 'sale price effective date',
2715
+ 'pickup method',
2716
+ 'pickup sla',
2717
  ),
2718
  'prefix' => array( '', '', '', '', '', '', '', '', '', '', '', '', '' ),
2719
  'type' => array(
2751
  'output_type' => array( '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1' ),
2752
  'limit' => array( '', '', '', '', '', '', '', '', '', '', '', '', '' ),
2753
  ),
2754
+ 'google_local' => array(
2755
+ 'mattributes' => array(
2756
+ 'store code',
2757
+ 'id',
2758
+ 'title',
2759
+ 'description',
2760
+ 'image link',
2761
+ 'condition',
2762
+ 'gtin',
2763
+ 'brand',
2764
+ 'mpn',
2765
+ 'price',
2766
+ 'sale price',
2767
+ 'sale price effective date',
2768
+ 'unit pricing measure',
2769
+ 'unit pricing base measure',
2770
+ 'pickup method',
2771
+ 'pickup sla',
2772
+ 'pickup link template',
2773
+ 'mobile pickup link template',
2774
+ 'link template',
2775
+ 'mobile link template',
2776
+ 'ads redirect',
2777
+ 'energy efficiency class',
2778
+ 'min energy efficiency class',
2779
+ 'max energy efficiency class',
2780
+ ),
2781
+ 'prefix' => array(
2782
+ '',
2783
+ '',
2784
+ '',
2785
+ '',
2786
+ '',
2787
+ '',
2788
+ '',
2789
+ '',
2790
+ '',
2791
+ '',
2792
+ '',
2793
+ '',
2794
+ '',
2795
+ '',
2796
+ '',
2797
+ '',
2798
+ '',
2799
+ '',
2800
+ '',
2801
+ '',
2802
+ '',
2803
+ '',
2804
+ '',
2805
+ '',
2806
+ ),
2807
+ 'type' => array(
2808
+ 'pattern',
2809
+ 'attribute',
2810
+ 'attribute',
2811
+ 'attribute',
2812
+ 'attribute',
2813
+ 'attribute',
2814
+ 'attribute',
2815
+ 'pattern',
2816
+ 'pattern',
2817
+ 'attribute',
2818
+ 'attribute',
2819
+ 'attribute',
2820
+ 'pattern',
2821
+ 'pattern',
2822
+ 'pattern',
2823
+ 'pattern',
2824
+ 'pattern',
2825
+ 'pattern',
2826
+ 'pattern',
2827
+ 'pattern',
2828
+ 'pattern',
2829
+ 'pattern',
2830
+ 'pattern',
2831
+ 'pattern',
2832
+ ),
2833
+ 'attributes' => array(
2834
+ '',
2835
+ 'id',
2836
+ 'title',
2837
+ 'description',
2838
+ 'image',
2839
+ 'condition',
2840
+ 'sku',
2841
+ '',
2842
+ '',
2843
+ 'price',
2844
+ 'sale_price',
2845
+ 'sale_price_effective_date',
2846
+ '',
2847
+ '',
2848
+ '',
2849
+ '',
2850
+ '',
2851
+ '',
2852
+ '',
2853
+ '',
2854
+ '',
2855
+ '',
2856
+ '',
2857
+ '',
2858
+ ),
2859
+ 'default' => array(
2860
+ ' ',
2861
+ '',
2862
+ '',
2863
+ '',
2864
+ '',
2865
+ '',
2866
+ '',
2867
+ $this->brand_pattern,
2868
+ '',
2869
+ '',
2870
+ '',
2871
+ '',
2872
+ '',
2873
+ '',
2874
+ '',
2875
+ '',
2876
+ '',
2877
+ '',
2878
+ '',
2879
+ '',
2880
+ '',
2881
+ '',
2882
+ '',
2883
+ '',
2884
+ ),
2885
+ 'suffix' => array(
2886
+ '',
2887
+ '',
2888
+ '',
2889
+ '',
2890
+ '',
2891
+ '',
2892
+ '',
2893
+ '',
2894
+ '',
 
 
 
 
 
 
 
 
 
 
 
 
2895
  $this->currency,
2896
  $this->currency,
2897
+ '',
2898
+ '',
2899
+ '',
2900
+ '',
2901
+ '',
2902
+ '',
2903
+ '',
2904
+ '',
2905
+ '',
2906
+ '',
2907
+ '',
2908
+ '',
2909
+ '',
2910
+ ),
2911
+ 'output_type' => array(
2912
+ '1',
2913
+ '1',
2914
+ '1',
2915
+ '1',
2916
+ '1',
2917
+ '1',
2918
+ '1',
2919
+ '1',
2920
+ '1',
2921
+ '1',
2922
+ '1',
2923
+ '1',
2924
+ '1',
2925
+ '1',
2926
+ '1',
2927
+ '1',
2928
+ '1',
2929
+ '1',
2930
+ '1',
2931
+ '1',
2932
+ '1',
2933
+ '1',
2934
+ '1',
2935
+ '1',
2936
+ ),
2937
+ 'limit' => array(
2938
+ '',
2939
+ '',
2940
+ '',
2941
+ '',
2942
+ '',
2943
+ '',
2944
+ '',
2945
+ '',
2946
+ '',
2947
+ '',
2948
+ '',
2949
+ '',
2950
+ '',
2951
+ '',
2952
+ '',
2953
+ '',
2954
+ '',
2955
+ '',
2956
+ '',
2957
+ '',
2958
+ '',
2959
+ '',
2960
+ '',
2961
+ '',
2962
+ ),
2963
+ ),
 
 
 
 
2964
  'idealo' => array(
2965
  'mattributes' => array(
2966
  'Article number in shop',
woo-feed.php CHANGED
@@ -10,7 +10,7 @@
10
  * Plugin Name: WooCommerce Product 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.2.0
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
@@ -38,7 +38,7 @@ if ( ! defined( 'WOO_FEED_FREE_VERSION' ) ) {
38
  * @var string
39
  * @since 3.1.6
40
  */
41
- define( 'WOO_FEED_FREE_VERSION', '4.2.0' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {
10
  * Plugin Name: WooCommerce Product 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.2.1
14
  * Author: WebAppick
15
  * Author URI: https://webappick.com/
16
  * License: GPL v2
38
  * @var string
39
  * @since 3.1.6
40
  */
41
+ define( 'WOO_FEED_FREE_VERSION', '4.2.1' );
42
  }
43
 
44
  if ( ! defined( 'WOO_FEED_FREE_FILE' ) ) {