Changeset 3310845
- Timestamp:
- 06/13/2025 06:33:53 AM (8 months ago)
- Location:
- shipping-manager
- Files:
-
- 12 edited
- 1 copied
-
tags/1.0.6 (copied) (copied from shipping-manager/trunk)
-
tags/1.0.6/app/Classes/Install.php (modified) (1 diff)
-
tags/1.0.6/app/Classes/Pro.php (modified) (1 diff)
-
tags/1.0.6/app/Classes/Settings.php (modified) (2 diffs)
-
tags/1.0.6/readme.txt (modified) (7 diffs)
-
tags/1.0.6/shipping-manager.php (modified) (2 diffs)
-
tags/1.0.6/views/settings/pages/shipping-fees.php (modified) (2 diffs)
-
trunk/app/Classes/Install.php (modified) (1 diff)
-
trunk/app/Classes/Pro.php (modified) (1 diff)
-
trunk/app/Classes/Settings.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (7 diffs)
-
trunk/shipping-manager.php (modified) (2 diffs)
-
trunk/views/settings/pages/shipping-fees.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shipping-manager/tags/1.0.6/app/Classes/Install.php
r3291937 r3310845 17 17 $this->update_db_version(); 18 18 } 19 set_transient( 'tpsm_do_activation_redirect', true, 30 );20 19 21 20 //Update inital general settings -
shipping-manager/tags/1.0.6/app/Classes/Pro.php
r3300474 r3310845 28 28 'class' => '', 29 29 ); 30 $options['premium-day-shipping'] = array( 31 'label' => __( 'Premium Day Shipping', 'shipping-manager' ), 32 'class' => '', 33 ); 30 34 31 35 return $options; -
shipping-manager/tags/1.0.6/app/Classes/Settings.php
r3291937 r3310845 47 47 48 48 $this->action( 'admin_head', [$this, 'remove_save_button'] ); 49 $this->action( 'admin_init', [$this, 'redirect_to_settings'] );50 49 $this->action( 'admin_menu', [ $this, 'shipping_manager_setting_page' ] ); 51 50 $this->action( 'admin_enqueue_scripts', [ $this, 'admin_enqueue_css' ] ); … … 70 69 .woocommerce-save-button { display: none !important; } 71 70 </style>'; 72 }73 }74 75 public function redirect_to_settings() {76 77 if ( get_transient( 'tpsm_do_activation_redirect' ) ) {78 delete_transient('tpsm_do_activation_redirect');79 80 // Avoid redirecting during multi-site network admin activation81 if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) {82 return;83 }84 85 // Redirect to the plugin settings page86 wp_safe_redirect( $this->setting_page_url );87 exit;88 71 } 89 72 } -
shipping-manager/tags/1.0.6/readme.txt
r3300474 r3310845 1 === Shipping Manager : All in one Shipping Solution===1 === Shipping Manager – Table Rate, Weight Based, Box & Woocommerce advanced shipping === 2 2 Contributors: themepaste, habibnote 3 Tags: shipping manager, woocommerce shipping, flexible shipping, table rate shipping3 Tags: shipping manager, Table Rate, woocommerce shipping, Weight Based, box shipping, flat rate 4 4 Requires at least: 5.8 5 5 Tested up to: 6.8 … … 7 7 WC tested up to: 9.8 8 8 Requires PHP: 7.0 9 Stable tag: 1.0. 59 Stable tag: 1.0.6 10 10 License: GPLv3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 17 17 ### 🚚 All-in-One Shipping Manager Plugin for WooCommerce 18 Shipping Manager offers a complete solution to simplify your WooCommerce shipping experience. You can dynamically customize the shipping fees for weight, box size, and more . It handles all your shipping requirements to deliver flexible, accurate, and cost-effective logistics.18 Shipping Manager offers a complete solution to simplify your WooCommerce shipping experience. You can dynamically customize the shipping fees for weight, box size, and more with **Table Rate Shipping WooCommerce**, WooCommerce **Weight-Based Shipping**, and Box Shipping for WooCommerce options. It handles all your shipping requirements to deliver flexible, accurate, and cost-effective logistics. 19 19 20 20 Explore more about the Shipping Manager plugin- … … 24 24 25 25 ### 💡 Why Choose a Shipping Manager? 26 Shipping Manager is the perfect WooCommerce shipping solution for any big or small-sized eCommerce business. It manages complex logistics with features that are easy to configure and implement on your WooCommerce store. Enjoy complete control over shipping fees, boxes, and delivery options without any coding. Deliver better, smarter, and faster to enhance customer experience with this feature-rich plugin.26 Shipping Manager is the perfect WooCommerce Advanced Shipping solution for any big or small-sized eCommerce business. It manages complex logistics with features that are easy to configure and implement on your WooCommerce store. Enjoy complete control over shipping fees, boxes, and delivery options without any coding. Deliver better, smarter, and faster to enhance customer experience with this feature-rich Shipping Manager for WooCommerce. 27 27 28 28 ### 🌟 Overview of Shipping Manager … … 55 55 ### 🧩 Looking for an All-Rounder Shipping Manager for Your Website? 56 56 57 Shipping Manager gives you a powerful and user-friendly shipping solution for your WooCommerce store. No need to use multiple shipping solutions when you are getting everything in a single WooCommerce plugin . It's the easiest option to ensure accurate shipping costs, better logistics, and happier customers.57 Shipping Manager gives you a powerful and user-friendly shipping solution for your WooCommerce store. No need to use multiple shipping solutions when you are getting everything in a single WooCommerce plugin—including Table Rate Shipping WooCommerce, WooCommerce Weight-Based Shipping, and Box Shipping for WooCommerce support. It’s the easiest option to ensure accurate shipping costs, better logistics, and happier customers. 58 58 59 59 ### 🔥 Free Features: … … 84 84 ### ⚙️ Key Features Explained 85 85 86 ⚖️ **Unit Weight Fee:** Implement precise cost control with the Unit Weight Fee feature. This allows you to add a weight-based shipping fee per unit of product weight. Thus, you can easily align WooCommerce weight-basedshipping fees with actual logistics costs. Your store’s shipping charges will remain transparent and proportional to product weight.87 88 📦 **Box Size Management:** Easily configure and manage your packaging logistics with the Box S ize Managementfeature. Define multiple box sizes based on height, width, and length to accommodate your entire product catalog. Combine this with accurate shipping calculations to maintain transparency.86 ⚖️ **Unit Weight Fee:** Implement precise cost control with the Unit Weight Fee feature. This allows you to add a WooCommerce Weight-Based Shipping fee per unit of product weight. Thus, you can easily align shipping fees with actual logistics costs. Your store’s shipping charges will remain transparent and proportional to product weight. 87 88 📦 **Box Size Management:** Easily configure and manage your packaging logistics with the Box Shipping for WooCommerce feature. Define multiple box sizes based on height, width, and length to accommodate your entire product catalog. Combine this with accurate shipping calculations to maintain transparency. 89 89 90 90 📏 **Free Shipping Bar:** Add a visual notification that shows how close the customer is to unlocking free shipping. This motivates customers to add more items to their cart, increasing your average order value. … … 94 94 ###🔜 Upcoming Features 95 95 96 Take a sneak peek at the powerful functionalities of the Shipping Manager Plugin, which will soon be available. These features will give you even more control, WooCommerce table rate shipping orcustomization, and precision in managing shipping logistics for your WooCommerce store:96 Take a sneak peek at the powerful functionalities of the Shipping Manager Plugin, which will soon be available. These features will give you even more control, WooCommerce Table Rate Shipping customization, and precision in managing shipping logistics for your WooCommerce store: 97 97 98 98 📍 **Zone Distance Calculation:** Automatically calculate WooCommerce distance rate shipping charges based on delivery distance. This feature helps account for cost variations between local and long-distance deliveries without manual effort. 99 99 100 🛣️ **Unit Fee for Distance:** Set additional charges based on the distance traveled per kilometer. Ideal for businesses offering regional delivery services, this ensures you 're not losing profit on faraway shipments.101 102 🏷️ **WooCommerce Per Product Shipping Rules:** Assign unique shipping rules to specific products. Whether you 're selling fragile items, oversized goods, or lightweight merchandise, you can tailor shipping rates accordingly.100 🛣️ **Unit Fee for Distance:** Set additional charges based on the distance traveled per kilometer. Ideal for businesses offering regional delivery services, this ensures you’re not losing profit on faraway shipments. 101 102 🏷️ **WooCommerce Per Product Shipping Rules:** Assign unique shipping rules to specific products. Whether you’re selling fragile items, oversized goods, or lightweight merchandise, you can tailor shipping rates accordingly. 103 103 104 104 📋 **Override Other Rules:** Prioritize specific shipping conditions by overriding all other rules when needed. This gives you control in exceptional cases or during promotional events. 105 105 106 ⚙️ **Advanced Processing Fees [PRO]:** Add order-level processing charges to ensure all packaging or handling costs are recovered while maintaining billing transparency with your customers.106 ⚙️ **Advanced Processing Fees [PRO]:** Prioritize specific shipping conditions by overriding all other rules when needed. This gives you control in exceptional cases or during promotional events. 107 107 108 108 🗂️ **Create Multiple Rulesets [PRO]:** Build and apply multiple sets of WooCommerce advanced shipping rules for different product types, regions, or promotional events. Gain flexibility in setting logic-based pricing strategies. -
shipping-manager/tags/1.0.6/shipping-manager.php
r3300474 r3310845 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. 56 * Version: 1.0.6 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. 3' );43 define( 'TPSM_PLUGIN_VERSION', '1.0.6' ); 44 44 define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) ); 45 45 define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) ); -
shipping-manager/tags/1.0.6/views/settings/pages/shipping-fees.php
r3291937 r3310845 55 55 <label for="tpsm-weight-base-fee"><?php esc_html_e( 'Weight Range Fee', 'shipping-manager' ); ?></label> 56 56 </div> 57 <div class="tpsm-shipping-radio"> 58 <input type="radio" id="tpsm-weight-base-fee" name="tpsm-shipping-fee_type" value="tpsm-weight-range-fee" <?php echo $tpsm_shipping_fees_settings_values['type'] == 'tpsm-weight-range-fee' ? 'checked' : ''; ?>> 59 <label for="tpsm-weight-base-fee"><?php esc_html_e( 'Total Price', 'shipping-manager' ); ?></label> 60 </div> 57 61 </div> 58 62 <p class="tpsm-field-desc"><?php esc_html_e( 'Set only one weight-based shipping rule at a time.', 'shipping-manager' ); ?></p> … … 155 159 </table> 156 160 <div class="tpsm-addrow-button"> 157 <button type="button" id="tpsm-weight-range-pricing-add" class="tpsm-add-new-row-button"> Add New</button>161 <button type="button" id="tpsm-weight-range-pricing-add" class="tpsm-add-new-row-button"><?php esc_html_e( 'Add New', 'shipping-manager' ); ?></button> 158 162 </div> 159 163 </div> -
shipping-manager/trunk/app/Classes/Install.php
r3291937 r3310845 17 17 $this->update_db_version(); 18 18 } 19 set_transient( 'tpsm_do_activation_redirect', true, 30 );20 19 21 20 //Update inital general settings -
shipping-manager/trunk/app/Classes/Pro.php
r3300474 r3310845 28 28 'class' => '', 29 29 ); 30 $options['premium-day-shipping'] = array( 31 'label' => __( 'Premium Day Shipping', 'shipping-manager' ), 32 'class' => '', 33 ); 30 34 31 35 return $options; -
shipping-manager/trunk/app/Classes/Settings.php
r3291937 r3310845 47 47 48 48 $this->action( 'admin_head', [$this, 'remove_save_button'] ); 49 $this->action( 'admin_init', [$this, 'redirect_to_settings'] );50 49 $this->action( 'admin_menu', [ $this, 'shipping_manager_setting_page' ] ); 51 50 $this->action( 'admin_enqueue_scripts', [ $this, 'admin_enqueue_css' ] ); … … 70 69 .woocommerce-save-button { display: none !important; } 71 70 </style>'; 72 }73 }74 75 public function redirect_to_settings() {76 77 if ( get_transient( 'tpsm_do_activation_redirect' ) ) {78 delete_transient('tpsm_do_activation_redirect');79 80 // Avoid redirecting during multi-site network admin activation81 if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) {82 return;83 }84 85 // Redirect to the plugin settings page86 wp_safe_redirect( $this->setting_page_url );87 exit;88 71 } 89 72 } -
shipping-manager/trunk/readme.txt
r3300474 r3310845 1 === Shipping Manager : All in one Shipping Solution===1 === Shipping Manager – Table Rate, Weight Based, Box & Woocommerce advanced shipping === 2 2 Contributors: themepaste, habibnote 3 Tags: shipping manager, woocommerce shipping, flexible shipping, table rate shipping3 Tags: shipping manager, Table Rate, woocommerce shipping, Weight Based, box shipping, flat rate 4 4 Requires at least: 5.8 5 5 Tested up to: 6.8 … … 7 7 WC tested up to: 9.8 8 8 Requires PHP: 7.0 9 Stable tag: 1.0. 59 Stable tag: 1.0.6 10 10 License: GPLv3 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 16 16 17 17 ### 🚚 All-in-One Shipping Manager Plugin for WooCommerce 18 Shipping Manager offers a complete solution to simplify your WooCommerce shipping experience. You can dynamically customize the shipping fees for weight, box size, and more . It handles all your shipping requirements to deliver flexible, accurate, and cost-effective logistics.18 Shipping Manager offers a complete solution to simplify your WooCommerce shipping experience. You can dynamically customize the shipping fees for weight, box size, and more with **Table Rate Shipping WooCommerce**, WooCommerce **Weight-Based Shipping**, and Box Shipping for WooCommerce options. It handles all your shipping requirements to deliver flexible, accurate, and cost-effective logistics. 19 19 20 20 Explore more about the Shipping Manager plugin- … … 24 24 25 25 ### 💡 Why Choose a Shipping Manager? 26 Shipping Manager is the perfect WooCommerce shipping solution for any big or small-sized eCommerce business. It manages complex logistics with features that are easy to configure and implement on your WooCommerce store. Enjoy complete control over shipping fees, boxes, and delivery options without any coding. Deliver better, smarter, and faster to enhance customer experience with this feature-rich plugin.26 Shipping Manager is the perfect WooCommerce Advanced Shipping solution for any big or small-sized eCommerce business. It manages complex logistics with features that are easy to configure and implement on your WooCommerce store. Enjoy complete control over shipping fees, boxes, and delivery options without any coding. Deliver better, smarter, and faster to enhance customer experience with this feature-rich Shipping Manager for WooCommerce. 27 27 28 28 ### 🌟 Overview of Shipping Manager … … 55 55 ### 🧩 Looking for an All-Rounder Shipping Manager for Your Website? 56 56 57 Shipping Manager gives you a powerful and user-friendly shipping solution for your WooCommerce store. No need to use multiple shipping solutions when you are getting everything in a single WooCommerce plugin . It's the easiest option to ensure accurate shipping costs, better logistics, and happier customers.57 Shipping Manager gives you a powerful and user-friendly shipping solution for your WooCommerce store. No need to use multiple shipping solutions when you are getting everything in a single WooCommerce plugin—including Table Rate Shipping WooCommerce, WooCommerce Weight-Based Shipping, and Box Shipping for WooCommerce support. It’s the easiest option to ensure accurate shipping costs, better logistics, and happier customers. 58 58 59 59 ### 🔥 Free Features: … … 84 84 ### ⚙️ Key Features Explained 85 85 86 ⚖️ **Unit Weight Fee:** Implement precise cost control with the Unit Weight Fee feature. This allows you to add a weight-based shipping fee per unit of product weight. Thus, you can easily align WooCommerce weight-basedshipping fees with actual logistics costs. Your store’s shipping charges will remain transparent and proportional to product weight.87 88 📦 **Box Size Management:** Easily configure and manage your packaging logistics with the Box S ize Managementfeature. Define multiple box sizes based on height, width, and length to accommodate your entire product catalog. Combine this with accurate shipping calculations to maintain transparency.86 ⚖️ **Unit Weight Fee:** Implement precise cost control with the Unit Weight Fee feature. This allows you to add a WooCommerce Weight-Based Shipping fee per unit of product weight. Thus, you can easily align shipping fees with actual logistics costs. Your store’s shipping charges will remain transparent and proportional to product weight. 87 88 📦 **Box Size Management:** Easily configure and manage your packaging logistics with the Box Shipping for WooCommerce feature. Define multiple box sizes based on height, width, and length to accommodate your entire product catalog. Combine this with accurate shipping calculations to maintain transparency. 89 89 90 90 📏 **Free Shipping Bar:** Add a visual notification that shows how close the customer is to unlocking free shipping. This motivates customers to add more items to their cart, increasing your average order value. … … 94 94 ###🔜 Upcoming Features 95 95 96 Take a sneak peek at the powerful functionalities of the Shipping Manager Plugin, which will soon be available. These features will give you even more control, WooCommerce table rate shipping orcustomization, and precision in managing shipping logistics for your WooCommerce store:96 Take a sneak peek at the powerful functionalities of the Shipping Manager Plugin, which will soon be available. These features will give you even more control, WooCommerce Table Rate Shipping customization, and precision in managing shipping logistics for your WooCommerce store: 97 97 98 98 📍 **Zone Distance Calculation:** Automatically calculate WooCommerce distance rate shipping charges based on delivery distance. This feature helps account for cost variations between local and long-distance deliveries without manual effort. 99 99 100 🛣️ **Unit Fee for Distance:** Set additional charges based on the distance traveled per kilometer. Ideal for businesses offering regional delivery services, this ensures you 're not losing profit on faraway shipments.101 102 🏷️ **WooCommerce Per Product Shipping Rules:** Assign unique shipping rules to specific products. Whether you 're selling fragile items, oversized goods, or lightweight merchandise, you can tailor shipping rates accordingly.100 🛣️ **Unit Fee for Distance:** Set additional charges based on the distance traveled per kilometer. Ideal for businesses offering regional delivery services, this ensures you’re not losing profit on faraway shipments. 101 102 🏷️ **WooCommerce Per Product Shipping Rules:** Assign unique shipping rules to specific products. Whether you’re selling fragile items, oversized goods, or lightweight merchandise, you can tailor shipping rates accordingly. 103 103 104 104 📋 **Override Other Rules:** Prioritize specific shipping conditions by overriding all other rules when needed. This gives you control in exceptional cases or during promotional events. 105 105 106 ⚙️ **Advanced Processing Fees [PRO]:** Add order-level processing charges to ensure all packaging or handling costs are recovered while maintaining billing transparency with your customers.106 ⚙️ **Advanced Processing Fees [PRO]:** Prioritize specific shipping conditions by overriding all other rules when needed. This gives you control in exceptional cases or during promotional events. 107 107 108 108 🗂️ **Create Multiple Rulesets [PRO]:** Build and apply multiple sets of WooCommerce advanced shipping rules for different product types, regions, or promotional events. Gain flexibility in setting logic-based pricing strategies. -
shipping-manager/trunk/shipping-manager.php
r3300474 r3310845 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. 56 * Version: 1.0.6 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. 3' );43 define( 'TPSM_PLUGIN_VERSION', '1.0.6' ); 44 44 define( 'TPSM_PLUGIN_DIRNAME', dirname( TPSM_PLUGIN_FILE ) ); 45 45 define( 'TPSM_PLUGIN_BASENAME', plugin_basename( TPSM_PLUGIN_FILE ) ); -
shipping-manager/trunk/views/settings/pages/shipping-fees.php
r3291937 r3310845 55 55 <label for="tpsm-weight-base-fee"><?php esc_html_e( 'Weight Range Fee', 'shipping-manager' ); ?></label> 56 56 </div> 57 <div class="tpsm-shipping-radio"> 58 <input type="radio" id="tpsm-weight-base-fee" name="tpsm-shipping-fee_type" value="tpsm-weight-range-fee" <?php echo $tpsm_shipping_fees_settings_values['type'] == 'tpsm-weight-range-fee' ? 'checked' : ''; ?>> 59 <label for="tpsm-weight-base-fee"><?php esc_html_e( 'Total Price', 'shipping-manager' ); ?></label> 60 </div> 57 61 </div> 58 62 <p class="tpsm-field-desc"><?php esc_html_e( 'Set only one weight-based shipping rule at a time.', 'shipping-manager' ); ?></p> … … 155 159 </table> 156 160 <div class="tpsm-addrow-button"> 157 <button type="button" id="tpsm-weight-range-pricing-add" class="tpsm-add-new-row-button"> Add New</button>161 <button type="button" id="tpsm-weight-range-pricing-add" class="tpsm-add-new-row-button"><?php esc_html_e( 'Add New', 'shipping-manager' ); ?></button> 158 162 </div> 159 163 </div>
Note: See TracChangeset
for help on using the changeset viewer.