Plugin Directory

Changeset 3485314


Ignore:
Timestamp:
03/18/2026 06:25:48 AM (2 weeks ago)
Author:
enituretechnology
Message:

2.0.1 - 2026-03-18

  • Fix: Resolved an issue where duplicate dropship fields appeared on the product details page when used alongside other Eniture plugins.

Ticket 43254650709

Location:
real-time-shipping-quotes-for-woocommerce
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • real-time-shipping-quotes-for-woocommerce/tags/2.0.1/eniture_admin/product/en-product-detail.php

    r3478991 r3485314  
    2626        public function __construct()
    2727        {
    28             // Add simple product fields
    29             add_action('woocommerce_product_options_shipping', [$this, 'en_show_product_fields'], 101, 3);
    30             add_action('woocommerce_process_product_meta', [$this, 'en_save_product_fields'], 101, 1);
    31 
    32             // Add variable product fields.
    33             add_action('woocommerce_product_after_variable_attributes', [$this, 'en_show_product_fields'], 101, 3);
    34             add_action('woocommerce_save_product_variation', [$this, 'en_save_product_fields'], 101, 1);
     28            // Check compatible with optimized product fields methods.
     29            add_filter('en_compatible_optimized_product_options', [$this, 'en_compatible_other_eniture_plugins']);
     30
     31            if (!has_filter('En_Plugins_dropship_filter') &&
     32                !has_filter('En_Plugins_variable_freight_classification_filter')) {
     33                // Add simple product fields
     34                add_action('woocommerce_product_options_shipping', [$this, 'en_show_product_fields'], 101, 3);
     35                add_action('woocommerce_process_product_meta', [$this, 'en_save_product_fields'], 101, 1);
     36
     37                // Add variable product fields.
     38                add_action('woocommerce_product_after_variable_attributes', [$this, 'en_show_product_fields'], 101, 3);
     39                add_action('woocommerce_save_product_variation', [$this, 'en_save_product_fields'], 101, 1);
     40
     41                // Check compatible with our old eniture plugins.
     42                add_filter('En_Plugins_dropship_filter', [$this, 'en_compatible_other_eniture_plugins']);
     43                add_filter('En_Plugins_variable_freight_classification_filter', [$this, 'en_compatible_other_eniture_plugins']);
     44            }
     45        }
     46
     47        /**
     48         * Restrict to show duplicate fields on product detail page.
     49         */
     50        public function en_compatible_other_eniture_plugins()
     51        {
     52            return true;
    3553        }
    3654
  • real-time-shipping-quotes-for-woocommerce/tags/2.0.1/readme.txt

    r3478991 r3485314  
    44Requires at least: 6.7
    55Tested up to: 6.9
    6 Stable tag: 2.0.0
     6Stable tag: 2.0.1
    77License: GPL-2.0-or-later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    124124== Changelog ==
    125125
     126= 2.0.1 - 2026-03-18 =
     127* Fix: Resolved an issue where duplicate dropship fields appeared on the product details page when used alongside other Eniture plugins.
     128
    126129= 2.0.0 - 2026-03-09 =
    127130* Update: Introduced support for **AAA Cooper Transportation** carrier.
  • real-time-shipping-quotes-for-woocommerce/tags/2.0.1/real-time-shipping-quotes-for-wocommerce.php

    r3478991 r3485314  
    33 * Plugin Name:       Real Time Shipping Quotes for WooCommerce
    44 * Description:       Dynamically retrieves your negotiated shipping rates from different shipping carriers and displays the results in the WooCommerce shopping cart.
    5  * Version:           2.0.0
     5 * Version:           2.0.1
    66 * Author:            Eniture Technology
    77 * Author URI:        https://eniture.com
  • real-time-shipping-quotes-for-woocommerce/trunk/eniture_admin/product/en-product-detail.php

    r3478991 r3485314  
    2626        public function __construct()
    2727        {
    28             // Add simple product fields
    29             add_action('woocommerce_product_options_shipping', [$this, 'en_show_product_fields'], 101, 3);
    30             add_action('woocommerce_process_product_meta', [$this, 'en_save_product_fields'], 101, 1);
    31 
    32             // Add variable product fields.
    33             add_action('woocommerce_product_after_variable_attributes', [$this, 'en_show_product_fields'], 101, 3);
    34             add_action('woocommerce_save_product_variation', [$this, 'en_save_product_fields'], 101, 1);
     28            // Check compatible with optimized product fields methods.
     29            add_filter('en_compatible_optimized_product_options', [$this, 'en_compatible_other_eniture_plugins']);
     30
     31            if (!has_filter('En_Plugins_dropship_filter') &&
     32                !has_filter('En_Plugins_variable_freight_classification_filter')) {
     33                // Add simple product fields
     34                add_action('woocommerce_product_options_shipping', [$this, 'en_show_product_fields'], 101, 3);
     35                add_action('woocommerce_process_product_meta', [$this, 'en_save_product_fields'], 101, 1);
     36
     37                // Add variable product fields.
     38                add_action('woocommerce_product_after_variable_attributes', [$this, 'en_show_product_fields'], 101, 3);
     39                add_action('woocommerce_save_product_variation', [$this, 'en_save_product_fields'], 101, 1);
     40
     41                // Check compatible with our old eniture plugins.
     42                add_filter('En_Plugins_dropship_filter', [$this, 'en_compatible_other_eniture_plugins']);
     43                add_filter('En_Plugins_variable_freight_classification_filter', [$this, 'en_compatible_other_eniture_plugins']);
     44            }
     45        }
     46
     47        /**
     48         * Restrict to show duplicate fields on product detail page.
     49         */
     50        public function en_compatible_other_eniture_plugins()
     51        {
     52            return true;
    3553        }
    3654
  • real-time-shipping-quotes-for-woocommerce/trunk/readme.txt

    r3478991 r3485314  
    44Requires at least: 6.7
    55Tested up to: 6.9
    6 Stable tag: 2.0.0
     6Stable tag: 2.0.1
    77License: GPL-2.0-or-later
    88License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    124124== Changelog ==
    125125
     126= 2.0.1 - 2026-03-18 =
     127* Fix: Resolved an issue where duplicate dropship fields appeared on the product details page when used alongside other Eniture plugins.
     128
    126129= 2.0.0 - 2026-03-09 =
    127130* Update: Introduced support for **AAA Cooper Transportation** carrier.
  • real-time-shipping-quotes-for-woocommerce/trunk/real-time-shipping-quotes-for-wocommerce.php

    r3478991 r3485314  
    33 * Plugin Name:       Real Time Shipping Quotes for WooCommerce
    44 * Description:       Dynamically retrieves your negotiated shipping rates from different shipping carriers and displays the results in the WooCommerce shopping cart.
    5  * Version:           2.0.0
     5 * Version:           2.0.1
    66 * Author:            Eniture Technology
    77 * Author URI:        https://eniture.com
Note: See TracChangeset for help on using the changeset viewer.