Changeset 3292256
- Timestamp:
- 05/13/2025 05:40:22 AM (9 months ago)
- Location:
- shipping-manager
- Files:
-
- 8 edited
- 1 copied
-
tags/1.0.3 (copied) (copied from shipping-manager/trunk)
-
tags/1.0.3/app/Classes/Front.php (modified) (1 diff)
-
tags/1.0.3/app/Classes/Woocommerce/FreeShipping.php (modified) (1 diff)
-
tags/1.0.3/readme.txt (modified) (3 diffs)
-
tags/1.0.3/shipping-manager.php (modified) (2 diffs)
-
trunk/app/Classes/Front.php (modified) (1 diff)
-
trunk/app/Classes/Woocommerce/FreeShipping.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/shipping-manager.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shipping-manager/tags/1.0.3/app/Classes/Front.php
r3291937 r3292256 52 52 public function __construct() { 53 53 $this->shipping_calculator_settings = get_option( 'tpsm-shipping-calculator_settings' ); 54 $this->is_shipping_calculator_enable = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-enable'] ); 55 $this->is_enable_location_field = tpsm_isset( $this->shipping_calculator_settings['enable-location-field'] ); 56 $this->shipping_calculator_position = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-position'] ); 57 58 // $this->shipping_calculator_settings_fields = tpsm_shipping_calculator_settings_fields(); 54 $this->is_shipping_calculator_enable = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-enable'] ?? '' ); 55 $this->is_enable_location_field = tpsm_isset( $this->shipping_calculator_settings['enable-location-field'] ?? '' ); 56 $this->shipping_calculator_position = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-position'] ?? '' ); 59 57 60 58 // Enqueue frontend assets. -
shipping-manager/tags/1.0.3/app/Classes/Woocommerce/FreeShipping.php
r3291937 r3292256 122 122 $minimum_cart_amount = $this->cart_amount; 123 123 124 $progress_bar_value = ( $cart_total / $minimum_cart_amount ) * 100; 125 126 if ( $minimum_cart_amount > $cart_total ) { 127 printf( 128 '<div class="tpsm-free-shipping-bar-wrapper" %3$s> 129 <span>%1$s</span> 130 <progress value="%2$s" max="100"></progress> 131 </div>', 132 esc_html( $this->shipping_bar_message( $minimum_cart_amount - $cart_total ) ), // Message showing remaining amount 133 esc_html( $progress_bar_value ), 134 wp_kses_post( $this->shipping_bar_styles() ), 135 ); 124 if( !empty( $minimum_cart_amount ) && $minimum_cart_amount > 0 ) { 125 $progress_bar_value = ( $cart_total / $minimum_cart_amount ) * 100; 126 127 if ( $minimum_cart_amount > $cart_total ) { 128 printf( 129 '<div class="tpsm-free-shipping-bar-wrapper" %3$s> 130 <span>%1$s</span> 131 <progress value="%2$s" max="100"></progress> 132 </div>', 133 esc_html( $this->shipping_bar_message( $minimum_cart_amount - $cart_total ) ), // Message showing remaining amount 134 esc_html( $progress_bar_value ), 135 wp_kses_post( $this->shipping_bar_styles() ), 136 ); 137 } 136 138 } 137 139 } -
shipping-manager/tags/1.0.3/readme.txt
r3292246 r3292256 1 === Shipping Manager: The all-in-one solution for eCommerce shipping automation ===1 === Shipping Manager: All in one Shipping Solution === 2 2 Contributors: themepaste, habibnote 3 3 Tags: shipping manager, woocommerce shipping, flexible shipping, table rate shipping … … 7 7 WC tested up to: 9.8 8 8 Requires PHP: 7.0 9 Stable tag: 1.0. 29 Stable tag: 1.0.3 10 10 License: GPLv3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 205 205 == Changelog == 206 206 207 = v1.0.1 , v1.0.2- 2025.05.13 =207 = v1.0.1 - v1.0.3 - 2025.05.13 = 208 208 * [fix] Fix issues. 209 209 -
shipping-manager/tags/1.0.3/shipping-manager.php
r3292246 r3292256 4 4 * Plugin URI: https://themepaste.com/product/wordpress-plugins/shipping-manager-for-woocommerce 5 5 * Description: Optimize WooCommerce shipping with dynamic rules, box management & real-time rates. Boost profits & customer satisfaction. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.0 … … 41 41 42 42 define( 'TPSM_PLUGIN_FILE', __FILE__ ); 43 define( 'TPSM_PLUGIN_VERSION', '1.0. 2' );43 define( 'TPSM_PLUGIN_VERSION', '1.0.3' ); 44 44 define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) ); 45 45 define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) ); -
shipping-manager/trunk/app/Classes/Front.php
r3291937 r3292256 52 52 public function __construct() { 53 53 $this->shipping_calculator_settings = get_option( 'tpsm-shipping-calculator_settings' ); 54 $this->is_shipping_calculator_enable = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-enable'] ); 55 $this->is_enable_location_field = tpsm_isset( $this->shipping_calculator_settings['enable-location-field'] ); 56 $this->shipping_calculator_position = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-position'] ); 57 58 // $this->shipping_calculator_settings_fields = tpsm_shipping_calculator_settings_fields(); 54 $this->is_shipping_calculator_enable = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-enable'] ?? '' ); 55 $this->is_enable_location_field = tpsm_isset( $this->shipping_calculator_settings['enable-location-field'] ?? '' ); 56 $this->shipping_calculator_position = tpsm_isset( $this->shipping_calculator_settings['shipping-calculator-position'] ?? '' ); 59 57 60 58 // Enqueue frontend assets. -
shipping-manager/trunk/app/Classes/Woocommerce/FreeShipping.php
r3291937 r3292256 122 122 $minimum_cart_amount = $this->cart_amount; 123 123 124 $progress_bar_value = ( $cart_total / $minimum_cart_amount ) * 100; 125 126 if ( $minimum_cart_amount > $cart_total ) { 127 printf( 128 '<div class="tpsm-free-shipping-bar-wrapper" %3$s> 129 <span>%1$s</span> 130 <progress value="%2$s" max="100"></progress> 131 </div>', 132 esc_html( $this->shipping_bar_message( $minimum_cart_amount - $cart_total ) ), // Message showing remaining amount 133 esc_html( $progress_bar_value ), 134 wp_kses_post( $this->shipping_bar_styles() ), 135 ); 124 if( !empty( $minimum_cart_amount ) && $minimum_cart_amount > 0 ) { 125 $progress_bar_value = ( $cart_total / $minimum_cart_amount ) * 100; 126 127 if ( $minimum_cart_amount > $cart_total ) { 128 printf( 129 '<div class="tpsm-free-shipping-bar-wrapper" %3$s> 130 <span>%1$s</span> 131 <progress value="%2$s" max="100"></progress> 132 </div>', 133 esc_html( $this->shipping_bar_message( $minimum_cart_amount - $cart_total ) ), // Message showing remaining amount 134 esc_html( $progress_bar_value ), 135 wp_kses_post( $this->shipping_bar_styles() ), 136 ); 137 } 136 138 } 137 139 } -
shipping-manager/trunk/readme.txt
r3292246 r3292256 1 === Shipping Manager: The all-in-one solution for eCommerce shipping automation ===1 === Shipping Manager: All in one Shipping Solution === 2 2 Contributors: themepaste, habibnote 3 3 Tags: shipping manager, woocommerce shipping, flexible shipping, table rate shipping … … 7 7 WC tested up to: 9.8 8 8 Requires PHP: 7.0 9 Stable tag: 1.0. 29 Stable tag: 1.0.3 10 10 License: GPLv3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 205 205 == Changelog == 206 206 207 = v1.0.1 , v1.0.2- 2025.05.13 =207 = v1.0.1 - v1.0.3 - 2025.05.13 = 208 208 * [fix] Fix issues. 209 209 -
shipping-manager/trunk/shipping-manager.php
r3292246 r3292256 4 4 * Plugin URI: https://themepaste.com/product/wordpress-plugins/shipping-manager-for-woocommerce 5 5 * Description: Optimize WooCommerce shipping with dynamic rules, box management & real-time rates. Boost profits & customer satisfaction. 6 * Version: 1.0. 26 * Version: 1.0.3 7 7 * Requires at least: 5.8 8 8 * Requires PHP: 7.0 … … 41 41 42 42 define( 'TPSM_PLUGIN_FILE', __FILE__ ); 43 define( 'TPSM_PLUGIN_VERSION', '1.0. 2' );43 define( 'TPSM_PLUGIN_VERSION', '1.0.3' ); 44 44 define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) ); 45 45 define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) );
Note: See TracChangeset
for help on using the changeset viewer.