Linux 软件免费装
Banner图

Lexiata Weight Based Shipping for WooCommerce

开发者 mrsureshlk
更新时间 2026年11月21日 13:18
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.2
版权: GPLv2 or later
版权网址: 版权信息

标签

shipping rates free shipping cash on delivery woocommerce shipping weight based shipping

下载

1.0.3 1.0.4 2.0.0 2.1.0

详情介绍:

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 Example with Rs 350 for the first kg and Rs 100 per extra kg: Features Made by Lexiata.lk, WordPress and WooCommerce developers from Sri Lanka.

安装:

  1. Go to Plugins → Add New, search for "Lexiata Weight Based Shipping" and click Install Now, then Activate. (Or upload the lexiata-weight-based-shipping folder to /wp-content/plugins/.)
  2. Go to WooCommerce → Settings → Shipping, open a shipping zone and click Add shipping method.
  3. Choose Lexiata Weight Based and enter the first kg cost, additional kg cost and (optional) free shipping minimum.
  4. Make sure your products have a weight in Product data → Shipping.
  5. Optional: set COD limits in WooCommerce → Settings → Shipping → Lexiata COD Rules.

屏幕截图:

  • New "Free shipping" option in Product data → Shipping.
  • 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.
  • COD restriction settings in WooCommerce → Settings → Shipping → Lexiata COD Rules.
  • The method added to a WooCommerce shipping zone.

升级注意事项:

2.1.0 Adds per-product free shipping, fixes an extra-kg rounding error and makes COD rules work with the block checkout. COD settings are now under WooCommerce → Settings → Shipping → Lexiata COD Rules.

常见问题:

How is the weight based shipping cost calculated?

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.

How do I give free shipping for one product?

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.

How do I give free shipping above an order amount?

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.

Where are the COD (Cash on Delivery) restriction settings?

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.

Does it work with the WooCommerce block checkout?

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.

My products have no weight. What happens?

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.

My store uses grams or pounds. Is that OK?

Yes. The weight is converted to kilograms using your WooCommerce weight unit before the cost is calculated.

Can I use different prices for different areas?

Yes. Create shipping zones (for example "Colombo" and "Outstation") and add the method to each zone with its own prices.

Is it compatible with HPOS?

Yes, the plugin declares compatibility with High-Performance Order Storage.

Will updating to 2.1 change my current rates?

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).

更新日志:

2.1.0 2.0.0 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0