| 开发者 | mrsureshlk |
|---|---|
| 更新时间 | 2026年11月21日 13:18 |
| 捐献地址: | 去捐款 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.2 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[woocommerce_checkout] shortcode.lexiwbs_shipping_cost, lexiwbs_package_weight and lexiwbs_product_has_free_shipping.lexiata-weight-based-shipping folder to /wp-content/plugins/.)The method adds up the weight of all items in the cart. Up to 1 kg costs the "first kg" price. Every extra kg (or part of a kg) adds the "additional kg" price. Example: 2.3 kg = first kg + 2 extra kg.
Edit the product, open Product data → Shipping and tick Free shipping. Its weight is skipped in the calculation. If all products in the cart are marked this way, the checkout shows "Free Shipping". For variable products the setting of the parent product is used.
In the shipping method settings, tick Enable Free Shipping and enter the Free Shipping Minimum Total. The cart subtotal (before coupons) is compared with this amount.
Go to WooCommerce → Settings → Shipping → Lexiata COD Rules. Newer WooCommerce versions show the COD payment settings as a new screen where extra fields cannot appear, so the settings live here now. Your saved values are kept.
Yes. Shipping rates and the COD restriction work in both the Cart/Checkout blocks and the classic shortcode checkout, including the "Pay for order" page.
If the cart weight is 0 the method does not show a rate (unless free shipping applies). Add a weight to your products in Product data → Shipping.
Yes. The weight is converted to kilograms using your WooCommerce weight unit before the cost is calculated.
Yes. Create shipping zones (for example "Colombo" and "Outstation") and add the method to each zone with its own prices.
Yes, the plugin declares compatibility with High-Performance Order Storage.
No. All settings are kept. The only change is a fix for a rounding error that could charge one extra kg on some exact weights (for example a 3.0 kg cart charged as 4 kg).
Lexiwbs_) for WordPress.org compliance.