跳到内容

Lexiata Weight Based Shipping for WooCommerce

v2.1.0

Suresh 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日
需要 WordPress 5.8+已测试到 7.2PHP 7.4+

截图

Shipping method settings: first kg cost, additional kg cost and free shipping minimum.
Shipping method settings: first kg cost, additional kg cost and free shipping minimum.
New "Free shipping" option in Product data → Shipping.
New "Free shipping" option in Product data → Shipping.
Block checkout showing the weight based rate (1.8 kg = first kg + 1 extra kg).
Block checkout showing the weight based rate (1.8 kg = first kg + 1 extra kg).
A product marked as free shipping gives the customer Free Shipping.
A product marked as free shipping gives the customer Free Shipping.
COD restriction settings in WooCommerce → Settings → Shipping → Lexiata COD Rules.
COD restriction settings in WooCommerce → Settings → Shipping → Lexiata COD Rules.
The method added to a WooCommerce shipping zone.
The method added to a WooCommerce shipping zone.

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_weight and lexiwbs_product_has_free_shipping.

Made by Lexiata.lk, WordPress and WooCommerce developers from Sri Lanka.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums