Linux 软件免费装
Banner图

Weight Based Shipping for WooCommerce

开发者 dangoodman
更新时间 2026年10月4日 19:21
PHP版本: 5.8 及以上
WordPress版本: 7.1
版权: GPLv2 or later

标签

woocommerce shipping table rate shipping advanced shipping woocommerce free shipping weight-based shipping

下载

5.3.19 5.3.24 5.3.21 5.3.22 5.5.0 5.8.0 6.9.0 6.6.0 5.11.0 6.1.0 5.4.1 5.5.3 5.7.2 5.7.0 4.2.3 5.3.18 5.3.20 5.9.2 5.3.15 5.9.1 5.5.7 5.9.0 5.9.4 6.0.0 6.3.0 6.3.1 5.7.1 6.6.2 5.5.1 5.5.5 5.6.1 6.5.0 6.9.1 5.3.25 5.5.6 5.6.2 6.11.0 6.12.0 6.12.1 6.13.0 6.4.1 6.6.1 5.3.26 5.6.3 6.10.1 6.15.0 6.7.0 6.8.0 5.3.23 5.5.4 6.15.1 6.15.2 6.4.0 5.10.0 5.3.16 6.10.0 5.4.0 6.14.0 6.15.3 6.16.0 6.16.1 5.3.27 6.17.0 6.18.0 6.2.0 5.9.3 6.19.0

详情介绍:

Weight Based Shipping brings shipping by weight to WooCommerce. Your price list becomes a table of rules — weight brackets, a price per pound or kilogram, free shipping over an amount, a different rate per country — and the plugin calculates the shipping cost your customer sees at checkout from that table. https://videopress.com/v/SADjEbk2 The plugin has been in the directory since 2013 and runs on more than 50,000 stores. There is no carrier account to open and no rate service to connect: prices come from your own table and are calculated inside your store.   Weight brackets A price for every weight range, the way carrier price lists are written and what table rate shipping usually means: up to 2 kg $5.00, 2 to 5 kg $8.00, over 5 kg $12.00. Weights come from your products, in kilograms, grams, pounds, or ounces — whichever unit your store uses.   Shipping per lb or per kg Charge by weight itself rather than by range: $1.50 for every 0.5 kg, or a straight price per kilogram or per pound. Add a base amount and you get the familiar "$3.75 for the first 5 kg, plus $0.75 for every kilogram over it".   Free shipping over an amount Free delivery once the cart reaches your threshold, normal rates below it. The threshold can be an order amount or a weight — free shipping up to 10 kg, paid above.   Rates by order total Price shipping by the cart total as well as by weight: $6.00 under $50, $3.00 from $50 to $100, free from $100. Weight and order total also combine in one rule, so free shipping over $100 can stop at 10 kg and let heavier orders pay their way.   Flat rates, handling fees, and surcharges Not every line of a price list depends on weight. A rule can add a fixed amount — a flat national rate, a handling fee, a surcharge on oversized orders — and applies only to the orders it is meant for.   Shipping rates by country Different shipping rates for different countries in one table: a domestic rate, a rate for neighbouring countries, and a rest-of-the-world rate. For finer geography, down to postcodes, the method slots into WooCommerce shipping zones.   Quantity based shipping For products of a uniform weight, weight stands in for quantity: $4.00 for every 0.5 kg is $4.00 per 0.5 kg item. The quantity based shipping recipe extends that to bulk pricing.   Several shipping options at checkout Standard and Express, or delivery alongside pickup: add the method to a zone as many times as you have options, each with its own name, its own rules, and its own price.   Rule priority Rules that both apply add up — a handling fee on top of a per-class rate, as a mixed cart should be priced. Rules meant as alternatives get conditions that cannot both hold, such as 0–2 kg and 2–5 kg, and only one of them applies. For everything beyond that, the Pro edition adds mods: — Stop ends the evaluation at its rule: the first match wins, and a rule placed higher overrides everything below it. — Drop takes the items a rule has already priced out of the calculation, so nothing is charged twice. — Deny withholds the method from orders it must not carry — a weight your carrier does not accept. — Require shows the method only for orders that match — a refrigerated option only when something frozen is in the cart. Mods has the details.   Rates by shipping class [Pro] Pro rules can target a shipping class, so each kind of product is priced its own way: a flat price for T-shirts, a per-kilogram rate for bulky goods, a surcharge on anything fragile. The same targeting decides free shipping product by product — items that never ship free, items that do not count toward the threshold, or one product that makes the whole order free.   Split shipping [Pro] Pro keeps several tables inside one shipping method. When two of them each cover part of the cart — a frozen courier and an ordinary parcel — the customer sees one combined option, priced as the sum of both parts. Multiple shipping options covers both arrangements.   Copy rules from staging to production [Pro] Build and test the price list on a staging or local site, then move it to the live store without retyping a number: copy a table, or just the rules you pick, and paste it on the other site. The transfer goes through the ordinary clipboard, so there is no file to export and upload. Copy and paste shows it step by step. Pro also brings undo and redo, value thresholds converted by an active currency switcher, and direct email support. Compare the editions.   https://www.youtube.com/watch?v=nWJhv3pfhsA   Documentation Getting started builds a first price list, how rules work explains matching and combining, and troubleshooting covers a checkout that reports no shipping options. Recipes are worked setups: shipping by weight, shipping per lb, free shipping over an amount, rates by country, and rates by shipping class.   Install the plugin, open the starter table, and replace the numbers with your own. If anything does not add up, ask in the support forum. Like the plugin? Leave a review!

安装:

  1. Install and activate the plugin from Plugins → Add Plugin, or upload the Pro package from your purchase email.
  2. Make sure your products have weights (Product data → Shipping); a product without one counts as zero.
  3. Go to WooCommerce → Settings → Shipping, open a zone, and add the Weight Based Shipping method.
  4. Open it and replace the numbers in the starter table with your own.
Rules use the store's weight unit, set at WooCommerce → Settings → Products, so settle on kg, g, lbs, or oz first. Getting started walks through the same steps with screenshots.

屏幕截图:

  • Free shipping over a threshold, and tiered weight-based shipping
  • Per-product shipping with shipping classes

常见问题:

How do I set up WooCommerce shipping by weight?

Give each weight range a price of its own, charge a rate for every unit of weight, or combine the two. The shipping by weight recipe puts all three tables side by side.

How do I charge shipping per lb?

The same way: rules follow the store unit, so the same tables read as lbs or oz without conversion. Worked examples in pounds: shipping per lb.

How do I make free shipping replace the paid rates?

Bound the paid rules so their value range stops at the threshold. Past that point nothing but the free rule applies. In the Pro edition, placing the free rule first with the Stop mod does the same. The free shipping over an amount recipe shows the working table.

How do I set different shipping rates for different countries?

Name the country or state in the Destination column of each rule, and leave a catch-all for everywhere else. Rates by country shows a domestic and international table.

Can I charge per item or by quantity?

Through weight. When a product line weighs the same per unit, a price per unit of weight is a price per item; the quantity based shipping recipe sets that up, bulk pricing included.

Can different kinds of product be priced differently? [Pro]

Yes. Put them in a shipping class and write a rule per class — a flat price for one, a per-kilogram rate for another, a surcharge on a third. Rates by shipping class.

Can free shipping apply to some products only? [Pro]

Yes. A group of products can travel free while the rest of the cart pays, and the presence of one product can make an entire order free. Free shipping for specific products covers both.

How do I keep certain products out of a free shipping offer? [Pro]

Stop them counting toward the threshold, stop them shipping free, or both at once. Exclude products from free shipping works through the three arrangements.

Can I set rates by postcode?

Yes, through WooCommerce zones built from postcodes: lists, wildcards and ranges all work there, and a method placed in such a zone prices exactly that area. Shipping zones and the global method.

Can I offer it alongside Flat Rate, Local Pickup, or a carrier's method?

Yes. It is an ordinary zone method and sits next to any other, so a weight-based rate, a flat rate, and local pickup can be offered side by side. A free rule of the plugin is simply one more option and does not hide the others.

Which weight do the rules use — the product, the cart, or the parcel?

The cart total: each product's weight counted as many times as it was ordered, then added together. Product weights and units covers variations, bulk editing, and virtual products.

Which unit are the rules in?

The store's unit, set at WooCommerce → Settings → Products. Figures in the rules are taken at face value, so changing the unit later changes what they mean.

Do virtual products count?

They count toward the order value of rules that cover the whole cart, since that figure is the cart subtotal. WooCommerce keeps them out of the weight itself.

Is a range like "up to 5 kg" inclusive?

The lower bound is included and the upper is not, so brackets 0–5 and 5–10 hand over at exactly 5 kg with no gap between them. Rule conditions.

What happens when several rules match?

Every matching rule contributes, and the customer sees a single price that is their sum. There is no priority between rules, so alternatives need conditions that cannot both be true; the Pro edition also offers the Stop mod, which ends the evaluation at the first rule that matches. How rules work.

Is the threshold compared before or after tax?

Discounts are applied first and tax is excluded, unless After taxes is switched on in the Value column — the setting for stores that display prices with tax included, so the threshold matches the number the shopper sees. Order value, taxes, and currency.

Is tax added to the shipping price?

According to your WooCommerce tax settings: the plugin's prices are taxable, and WooCommerce applies its shipping tax class to them. Enter the prices in the rules without tax.

Why does the checkout say there are no shipping options?

Either no rule matched the cart, or the method is absent from the zone the address falls into. The usual reasons a rule does not match: a gap between weight brackets, a product without a weight, or a weight typed into the Value column, which is the order total. No shipping options at checkout is a checklist that finds the cause in a few minutes.

Does it work with the block cart and checkout, and with HPOS?

Yes. Rates are calculated on the server, so the block cart and checkout show the same prices as the classic pages. The plugin also declares compatibility with high-performance order storage.

What does the Pro edition add?

Product-aware rules, the Mod column (Stop, Drop, Deny, Require), several rule tables in one shipping method with split shipping, editor conveniences such as undo and copy-paste, multi-currency thresholds, and direct email support. Free vs Pro is the full comparison.

更新日志:

6.19.0 6.18.0 6.17.0 6.16.1 6.16.0 6.15.3 6.15.2 6.15.1 6.15.0 6.14.0 6.13.0 6.12.1 6.12.0 6.11.0 6.10.1 6.10.0 6.9.1 6.9.0 6.8.0 6.7.0 6.6.2 6.6.1 6.6.0 6.5.0 6.4.1 6.3.1 6.3.0 6.2.0 6.1.0 6.0.0 5.11.0 5.10.0 5.9.4 5.9.3 5.9.2 5.9.1 5.9.0 5.8.0 5.7.2 5.7.1 5.7.0 5.6.3 5.6.2 5.6.1 5.6.0 5.5.7 5.5.6 5.5.5 5.5.4 5.5.3 5.5.2 5.5.1 5.5.0 5.4.1 5.4.0 5.3.27 5.3.26 5.3.25 5.3.24 5.3.23 5.3.22 5.3.21 5.3.20 5.3.19 5.3.18 5.3.17 5.3.16 5.3.15 5.3.14 5.3.13 5.3.12 5.3.11 5.3.10 5.3.9 5.3.8 5.3.7.1 5.3.7 5.3.6.1 5.3.6 5.3.5 5.3.4.5 5.3.4.4 5.3.4.3 5.3.4.2 5.3.4.1 5.3.4 5.3.3.2 5.3.3.1 5.3.3 5.3.2.2 5.3.2.1 5.3.2 5.3.1 5.3.0 5.2.6 5.2.5 5.2.4.1 5.2.4 5.2.3 5.2.2 5.2.1 5.2.0 5.1.5 5.1.4 5.1.3 5.1.2 5.1.1 5.1.0 5.0.9 5.0.8 5.0.7 5.0.6 5.0.5 5.0.4 5.0.3-beta 5.0.2-beta 5.0.1-beta 5.0.0-beta 4.2.3 4.2.2 4.2.1 4.2.0 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.0.0 3.0.0 2.6.9 2.6.8 2.6.6 2.6.5 2.6.3 2.6.2 2.6.1 2.6.0 2.5.1 2.5.0 2.4.2 2.4.1 2.4.0 2.3.0 2.2.3 2.2.2 Fix "parse error: syntax error, unexpected T_FUNCTION in woocommerce-weight-based-shipping.php on line 610" http://wordpress.org/support/topic/fatal-error-1164. 2.2.1 Allow zero-weight shipping. Thus, only Handling Fee is added to the final price. Previously, the weight-based shipping option has not been shown to the user if the total weight of their cart is zero. Since version 2.2.1 this is changed, so the shipping option is available to user with price set to Handling Fee. If this does not suite your needs well, you can return previous behavior by setting Min Weight to something a bit greater than zero, e.g., 0.001, so that zero-weight orders will not match constraints and the shipping option will not be shown.