=== Lexiata Weight Based Shipping === Contributors: mrsureshlk Donate link: https://lexiata.lk Tags: woocommerce, weight based, free shipping, delivery, ecommerce, sri lanka Requires at least: 5.8 Tested up to: 6.9 Requires PHP: 7.4 Stable tag: 2.0.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Flexible WooCommerce shipping plugin that calculates costs by weight, with free-shipping and COD control options. == Description == **Lexiata Weight Based Shipping** is a lightweight and performance-focused WooCommerce extension designed for modern online stores. It allows you to define **custom shipping rates by total cart weight**, enable **free shipping** above a specific order amount, and set **COD restrictions** based on order totals. **πŸš€ New in Version 2.0:** We have completely refactored the codebase for better performance and added support for our upcoming PRO features. Perfect for **Sri Lankan eCommerce businesses**, or anyone needing precise control over shipping logic, without the complexity of heavy plugins. **✨ Key Features** * **Weight Based Calculation:** Custom rate for the first 1kg and each additional kilogram. * **Free Shipping Rules:** Automatically enable free shipping when cart total exceeds a specified value. * **COD Control:** Optional Cash-on-Delivery restriction (min/max order total). * **Zone Support:** Fully compatible with WooCommerce Shipping Zones. * **HPOS Compatible:** Ready for High-Performance Order Storage (WooCommerce 8+). * **Developer Friendly:** Clean, secure, and optimized code. Built by [Lexiata.lk](https://lexiata.lk) β€” WordPress plugin developers from Sri Lanka πŸ‡±πŸ‡°. == Installation == 1. Upload the `lexiata-weight-based-shipping` folder to `/wp-content/plugins/`. 2. Activate the plugin via **Plugins β†’ Installed Plugins** in WordPress. 3. Go to **WooCommerce β†’ Settings β†’ Shipping β†’ Add Shipping Method**. 4. Select **Lexiata Weight Based** and configure rates, free-shipping threshold, and COD rules. == Frequently Asked Questions == = Does this plugin support free shipping? = Yes, you can enable free shipping when the cart total exceeds your chosen minimum value. = Can I restrict Cash on Delivery (COD)? = Yes, simply enable COD restriction and define a minimum or maximum order total limit. = Is this plugin compatible with all currencies? = Yes, it uses your store’s WooCommerce default currency. = Will it work with other shipping plugins? = Yes, it integrates smoothly with other shipping zones and methods. = Does it slow down my site? = No β€” Lexiata Weight Based Shipping is lightweight and optimized for performance. Version 2.0 is faster than ever. == Screenshots == 1. **General Settings:** Easily configure weight rates and handling fees. 2. **Checkout Experience:** Example checkout showing calculated weight-based cost. 3. **Shipping Zones:** Seamless integration with WooCommerce zones. == Changelog == = 2.0.0 = * **Major Update:** Complete codebase refactoring for better performance and security. * **New:** Added support for High-Performance Order Storage (HPOS). * **New:** Integration architecture for "Lexiata Weight Based Shipping PRO". * **Improved:** Admin UI settings are now cleaner and more intuitive. * **Fixed:** Minor calculation rounding issues on specific currencies. = 1.0.4 = * Bug fixes and minor improvements. = 1.0.3 = * Bug Fixed and Release Stable Version. = 1.0.2 = * Improved prefix naming (`Lexiwbs_`) for full WordPress.org compliance. * Code structure updated for Plugin Check validation. * Enhanced compatibility with WooCommerce 9.0+. * Minor performance optimizations. = 1.0.1 = * Fixed stable tag mismatch. * Improved code readability and translation support. = 1.0.0 = * Initial release. * Added weight-based shipping logic. * Added free-shipping and COD restriction features. == Upgrade Notice == = 2.0.0 = Major version release! We have optimized the core engine for speed and HPOS compatibility. Please update to ensure compatibility with the latest WooCommerce versions. == License == This plugin is licensed under the GPLv2 or later. You may freely modify and redistribute under the same license. Copyright Β© 2025 [Lexiata.lk](https://lexiata.lk)