Weight-based shipping rates: shipping that depends on weight
How to set up weight-based shipping in Shoporama. Create weight intervals in grams, set prices per country and shipping method, and see what happens when a product has no weight.
If you sell both small, light items and heavy products, a single flat shipping rate rarely fits both. With weight-based shipping rates, the shipping cost rises with the weight of the customer's cart, so you neither lose money on heavy orders nor scare customers away from light ones.
In short: You set up weight-based shipping under Delivery → Prices based on weight. You create a number of weight intervals in grams and give each interval a price per country and per shipping method. The total weight of the cart decides which interval the customer lands in.
How Shoporama reads a weight interval
The most important thing to understand is that a weight interval is a lower limit. An interval of 2,000 grams means "from 2 kg and up". Shoporama finds the highest interval with a price that the cart has reached and uses the price from that interval.
- The cart weighs less than the lowest interval, or there is no price in the intervals up to the cart's weight: the regular price from Delivery → Shipping prices is used.
- The cart reaches or exceeds an interval with a price: that price is used instead.
- The cart falls between two intervals: the price from the interval below is used. A cart of 1,500 grams uses the 1,000-gram price. If the interval below is empty, the next filled-in interval below it is used.
- The cart is above the highest interval: the price of the highest filled-in interval is used. Nothing is added on top.
Important: Because the highest interval also covers everything above it, it must be high enough for your heaviest realistic orders. Otherwise, you will ship a 40 kg order at the price of your top tier.
Step 1: Give your products a weight
Weight-based shipping rates only work if your products have a weight. It is always entered in whole grams, so 1 kg is written as 1000.
- Go to Products → All products and click the product
- Open the General card
- Fill in the Optional weight in grams (for use in shipping costs) field with the product's shipping weight, meaning its weight as it sits in the package, and click Save
If you need to add a weight to many products, there are two shortcuts. With bulk editing, you select the products that weigh the same in the product list, click Bulk editing in the bar that appears at the bottom, fill in the Weight (grams, for shipping) field, and click Apply now. Or you run an import under Products → Import/export, where you map a column in the file to the Weight (for shipping) field. See the guide to CSV import.
Step 2: Create your weight intervals
- Go to Delivery → Prices based on weight
- Type a number in grams in the Enter weight in grams... field under the Intervals heading, and press Enter or click Add. The number appears as a small tag in the field, for example "1,000 g"
- Repeat for each interval. You remove an interval again with the cross on its tag
- Click Save intervals
The intervals are sorted automatically from lowest to highest, and each number can only be created once. Four to six tiers cover most stores, because every new interval adds another price field per country and shipping method. Place your tiers where your carrier's own prices jump.
Step 3: Set the prices per country and shipping method
Once you have saved at least one interval, a price table appears under the heading Prices without VAT. The table has one row per country and one column per shipping method, and each cell contains one price field per interval, labeled, for example, "1,000 grams:". The fields start out empty. Fill them in for the combinations of country and shipping method where the price should rise with the weight, and click Save. A field you leave empty uses the price from the interval before it, or the regular shipping price if nothing has been filled in before it. This is also stated just above the table.

Prices are always entered without VAT, even if your product prices are shown with VAT. At checkout, the VAT rate of the delivery country is added automatically, unless you have checked Shipping is exempt from VAT on the shipping method. Fields containing 0 get a yellow background so you can spot them quickly, because 0 is a valid price and means free shipping in that weight interval. Empty fields get no color.
Watch out: An empty field and a field with 0 are not the same. An empty field uses the price from the nearest interval below that has a price for the same country and shipping method. If there is none, the regular price from Delivery → Shipping prices is used. If you enter 0, shipping is free in that interval. Fields you left empty earlier may have been saved as 0. If a field shows 0 and should not give free shipping, delete the number and click Save. The whole table is saved every time you click Save: if you remove all intervals, all weight-based prices are deleted, and the store falls back to the regular shipping prices.
A concrete example
The intervals 1,000, 2,000, 5,000, and 10,000 grams cost DKK 29, 39, 59, and 89 excl. VAT, and the regular shipping price to Denmark is DKK 20 excl. VAT. With 25% VAT, the customer sees:
- 500 grams: below the lowest interval, so the regular price is used. DKK 25.00.
- 1,000 and 1,500 grams: first interval. DKK 36.25.
- 2,000 grams: second interval. DKK 48.75.
- 25,000 grams: above the highest interval, so the top tier is used. DKK 111.25.
How it works with the rest of your shipping setup
Shipping methods
The columns in the weight table are your shipping methods from Delivery → Shipping methods. If you do not have any yet, start there: see the guide to creating a new shipping method. Note that the Weight column in that list has nothing to do with kilos. It only controls the display order.
On each shipping method, you can set a Max. weight in grams, for example 20000 for 20 kg, so the method cannot be selected for heavier carts. The Show the method anyway when the cart is too heavy checkbox decides whether the method disappears completely or remains visible as unavailable. The built-in themes support this. A custom-built theme must be coded for it.
Shipping prices
The prices under Delivery → Shipping prices are your base price per country and shipping method. It is used when the cart weighs less than your lowest interval, when you have not created any weight intervals at all, and when the weight fields for that country and shipping method are empty up to the cart's weight. Once the cart has reached an interval with a price, the weight-based price applies, regardless of the base price.
Tip: Make the lowest interval cost at least as much as the base price for the same country and shipping method. Otherwise, shipping gets cheaper as the cart gets heavier.
Free shipping and discount codes
Free shipping takes priority over the weight-based price. If the order goes over the limit in Free shipping above, shipping becomes DKK 0 regardless of weight, and the same applies to a discount code with free shipping. If you want to exclude a heavy delivery option, check Never free shipping on the shipping method. Read more in the article about free shipping over a certain amount.
Fixed shipping price on a product
If a product has its own price in the Shipping ex VAT field (or Shipping with VAT), it competes with the weight-based price. The choice at the top of Shipping prices decides how: Highest price wins uses the higher of the two, and Product shipping always wins uses the product's price when every product in the cart has a fixed shipping price. If the shipping method has the Exclude product shipping checkbox checked, the product's price does not count, and the weight-based price applies on its own.
What happens if a product has no weight?
A product without a weight counts as 0 grams. This is the single most common reason weight-based shipping seems not to work, and it causes two symptoms:
- None of the products in the cart have a weight: the cart weighs 0, the weight-based prices are skipped, and the customer gets the regular shipping price. Without any error message.
- Only some of the products have a weight: the cart weighs too little, and the customer lands in an interval that is too cheap. This is the more expensive of the two mistakes, because you pay the difference yourself on every order.
So make the weight a fixed part of your routine when you create new products. You can find the gaps by exporting your products to CSV and sorting by the weight column, and on each order you can see the calculated weight under Weight.
The Default packaging weight (grams) field under Webshop → Orders and Invoices, in the Shipping card, is added to the order's total weight so that shipping labels are more accurate. However, the packaging weight does not count when the cart picks a weight interval, so base your intervals on the weight of the products themselves.
How to test your setup
- Add a product to the cart that weighs less than your lowest interval. Shipping should be your regular price.
- Add more products so the cart passes the intervals one by one, and check that the price rises as expected.
- Change the delivery country and repeat. Remember that each country has its own row in the table. If the country's fields are empty, the customer gets the regular shipping price for that country. If they are set to 0, shipping is free. Read more in the article about countries and currency.
- Finally, add a product without a weight to the cart and check that the result still makes sense.
For the technically minded
- Weight is stored as a whole number of grams per product. No decimals, so 0.5 kg is written as 500.
- The weight belongs to the product, not to the individual variant, so all variants of the same product share the same weight. If shipping needs to be accurate for variants with very different weights, they must be created as separate products.
- In the product API, the field is called shipping_weight and is given in grams, so weights can be updated from your ERP or PIM system.
- You enter the weight-based prices in the store's currency. If the customer shops in a country under Webshop → Countries with a different currency, they are converted using that country's exchange rate.
Frequently asked questions
Do I have to weigh all my products before I can get started?
The products that should be included in the calculation need a weight, but it does not have to be precise to the gram. Most people use an ordinary parcel scale and round up to the nearest 10 or 50 grams, so they do not end up paying the difference themselves.
Why does nothing happen after I set up weight-based prices?
The usual cause is that the products in the test cart have no weight, so the cart weighs 0 grams and falls back to the regular shipping price. Also check that both the intervals and the price table are saved, and that the price fields for the exact country and shipping method you are testing with actually contain an amount. If the fields are empty, the regular shipping price is used.
Can I have different weight-based prices for Denmark and other countries?
Yes. The price table has one row per country, so each country can have its own price ladder. The intervals themselves, however, are shared across the whole store. If you want extra tiers for other countries, create them and leave the fields empty in the countries where that tier should not cost extra. The price from the tier below is then used. Do not enter 0, because 0 means free shipping.
How do I update the weight on 800 products?
Use bulk editing at the bottom of the product list for groups of products that weigh the same, or import a CSV file under Products → Import/export and map a column in the file to the Weight (for shipping) field. If you have an ERP system, the weight can also be sent in through the product API.
Do I need to book shipping differently in my accounts when the price depends on weight?
No. Shipping appears as a regular shipping line on the order with the VAT of the delivery country, exactly like a fixed shipping price. The weight only changes how the amount is calculated.
What if the customer reaches both a weight interval and the free shipping limit?
Free shipping wins, and the customer pays DKK 0 for shipping. If you want to make sure a specific method is never free, check Never free shipping on the shipping method.
Can I use weight-based prices together with a maximum weight on a shipping method?
Yes, and it is a good combination. The weight-based prices handle the price, and the maximum weight makes sure the customer cannot choose parcel shop delivery for something that will never fit through the door. Set the maximum weight to what your carrier actually accepts, for example 20000 grams.
Do weight-based prices also apply to subscription orders?
If the cart contains only subscription products, the subscription price from Shipping prices is used instead of the weight-based price, if one has been filled in. If the customer mixes subscriptions and regular products, shipping is calculated as for a regular order, and the weight-based price may apply.
If you are unsure how to put your shipping setup together, write to support@shoporama.dk. Feel free to tell us what your products typically weigh and what you pay your carrier.
Related articles
Import products from a CSV file
A complete guide to importing products into Shoporama with a CSV file, including the file format, supported fields, and tips.
Create a new shipping method
How to create a new shipping method in Shoporama, assign it to the countries you ship to, and set its price.
Free shipping over a certain amount
How to set up free shipping over a certain amount in Shoporama. You set the threshold per country under Delivery → Countries or on the individual...
Countries and currency: delivery countries, VAT, and shipping
Set up delivery countries under Delivery → Countries with VAT rates, VAT zones, shipping options, and free shipping, and see how they relate to...
Add a new shipping country
How to add a new shipping country under Delivery → Countries in your Shoporama store, and when you should also add the country under Webshop →...
Checkout flow and shipping calculation in your theme
A guide for developers on implementing shipping in the checkout flow of a Shoporama theme, including the recommended page order and parcel shop...
Related features
Set up shipping: shipping methods, rates by country, and free shipping
How to set up shipping in Shoporama: shipping methods, rates by country, weight-based rates, and free shipping. Avoid DKK 0 shipping and test at...
What should shipping cost? How to find the answer in your own store
A new shipping price can convert 21% better and still earn less. That is why A/B tests of shipping rates are decided on contribution margin per...
A/B testing of shipping rates
Test two shipping prices against each other in your own store. Shoporama measures contribution margin per visitor, so you see what shipping really...
Shipping options
Set up shipping with PostNord, GLS, DAO, DHL, and Shipmondo. Parcel shops at checkout, tracking, free shipping, and weight-based shipping calculation.