
Lexiata Weight Based Shipping for WooCommerce
v2.1.0Suresh Lasantha · 2025年11月7日 上架
Weight based shipping for WooCommerce. Charge the first kg plus each extra kg, give free shipping by order total or product, and limit COD.
- 正在使用
- 20+
- 评分
- 暂无
- 累计下载
- 726
- 最近更新
- 2026年11月21日
贡献者
截图






Lexiata Weight Based Shipping for WooCommerce calculates the shipping cost from the total weight of the cart. Set a price for the first kilogram and a price for each additional kilogram, the same way most courier services charge.
It also lets you give free shipping above an order amount or for selected products, and show Cash on Delivery (COD) only when the order total is inside a range you choose. No tables to build and no heavy setup: add the method to a shipping zone, enter two prices and you are done.
Built for small and growing stores, and especially handy for Sri Lankan online shops that use courier rates like “Rs 350 for the first kg + Rs 100 per extra kg”.
How the shipping cost is calculated
- Cart weight 1 kg or less you pay the first kg price.
- Cart weight above 1 kg first kg price + additional kg price for every extra kg. Part of a kg counts as a full kg.
Example with Rs 350 for the first kg and Rs 100 per extra kg:
- 0.8 kg Rs 350
- 1.8 kg Rs 350 + (1 × Rs 100) = Rs 450
- 3.0 kg Rs 350 + (2 × Rs 100) = Rs 550
Features
- Shipping by weight: cost for the first 1 kg plus cost per additional kg. Decimal prices (e.g. 350.50) are supported.
- Free shipping by order total: free shipping when the cart subtotal reaches your minimum amount.
- Free shipping per product (new in 2.1): tick “Free shipping” in Product data Shipping. That product’s weight is not charged, and if every item in the cart is a free shipping product the customer gets Free Shipping.
- COD restriction: show Cash on Delivery only when the order total is above a minimum and/or below a maximum.
- Shipping zones: add the method to any WooCommerce shipping zone, with different prices per zone.
- Any weight unit: kg, g, lbs or oz. The store weight is converted to kg automatically.
- Cart & Checkout blocks: works with the block checkout and the classic
[woocommerce_checkout]shortcode. - HPOS compatible: declared compatible with WooCommerce High-Performance Order Storage.
- Multi-package carts: each shipping package is rated by its own weight (useful with multi-vendor plugins).
- Lightweight: no external scripts, fonts or tracking. Only a few small PHP files.
- Developer filters:
lexiwbs_shipping_cost,lexiwbs_package_weightandlexiwbs_product_has_free_shipping.
Made by Lexiata.lk, WordPress and WooCommerce developers from Sri Lanka.