+420 728 089 029CZ
Calculating the shipping price in an online store order – a map with the delivery location, boxes of goods and a calculator

Shipping price calculation

A custom shipping module for Shoptet Premium: the price comes from your logic, not from the Shoptet price list. The customer enters a postcode; the weight, pallets and warehouses come from the cart and from Shoptet and the price is written into the order. You set the parameters in the admin.

When the shipping price comes from a formula, not from a table

The Shoptet shipping price list keeps it simple: a fixed price per shipping method, weight bands, free shipping above a certain order value. For parcels that is enough. With heavy and palletized goods, though, the price depends on where the goods are going, how much they weigh, how many pallets they take up — and which warehouse they leave from.

For online stores like that we build a custom shipping module. We work the price out with your logic, Shoptet doesn't. You supply the formula, the table or the rules — anything that can be described mathematically — and we turn it into a model that runs right in the order.

In the order the customer enters nothing but the postcode the goods are going to. The rest we take ourselves: from the cart and from Shoptet we read the warehouses, the weight, the dimensions, the pallet count and the distance. We work the price out from that and write it back into the order, so you carry on working with it exactly like with any other shipping method.

Optionally we ask the carrier's API directly — TopTrans or Geis, for instance — for the current price and add your margin on top. Fixed (the price from the API plus €4), a percentage (the price times your percentage), or custom logic, such as pallet deposits.

You then change the formula parameters yourself in the admin: prices, weight bands, surcharges, margins and pallet deposits. It is always a tailor-made solution — every client has different logic.

Shipping from several warehouses to a single delivery location and a panel with the parameters of the shipping formula

When the Shoptet shipping price list is enough and when you need your own calculation

Shoptet lets you set a fixed price per shipping method, weight bands and free shipping above a certain order value. For parcels that is enough. Your own calculation starts to make sense where the price depends on the delivery location, the number of pallets or the warehouse the goods leave from.

  • How the price is set

    Shipping price list in ShoptetA fixed amount per shipping method, or by weight bands.
    Your own calculationBy a formula. You supply the logic — a table, a price list, rules, anything that can be described mathematically — and we program it.
  • Where the goods are going

    Shipping price list in ShoptetNatively it distinguishes the shipping method and the country, not the actual place.
    Your own calculationThe postcode of the delivery address and the distance go into the calculation.
  • Heavy and palletized goods

    Shipping price list in ShoptetWeight bands and a weight limit on the shipping method.
    Your own calculationWeight, dimensions and the number of pallets from the cart — including rules of your own, pallet deposits for instance.
  • Shipping from several warehouses

    Shipping price list in ShoptetThere is one price list for every warehouse, so in practice the price gets averaged out.
    Your own calculationThe warehouse the goods will leave from goes into the calculation.
  • The carrier's current price

    Shipping price list in ShoptetYou rewrite the rates into the price list by hand.
    Your own calculationOptionally we ask the carrier's API directly — TopTrans, Geis and any other carrier that has an API.
  • Margin on shipping

    Shipping price list in ShoptetIt has to be hidden inside the fixed price.
    Your own calculationFixed (the price from the API plus an amount), a percentage (the price times a percentage), or logic of your own.
  • Where it runs

    Shipping price list in ShoptetAny Shoptet.
    Your own calculationShoptet Premium — it needs the open API and custom code in the checkout.

If the price list in Shoptet fits you, leave it be and save the money. You need us the moment you're working shipping out on the side in Excel, or guessing it and paying for the guess.

What the module does

It does one thing: in the order it works the shipping price out with your logic and writes that price into the order.

  • The customer enters nothing but a postcodein the order they fill in the postcode of the place the goods are going to. We ask them for nothing else.
  • The data comes from the cart and from Shoptetwarehouses, weight, dimensions and the number of pallets. The customer fills in none of it, it is already in the data.
  • A query to the carrier's APIoptionally we ask the carrier directly (TopTrans, Geis and others with an API) for the current price of that particular shipment.
  • A fixed or a percentage marginthe price from the API plus €4, or the price times a percentage. You set the rate.
  • Rules of your ownwhatever the logic calls for — typically pallets and the deposits on them.
  • The price written into the orderthe calculated price is written back into the order in Shoptet, so invoicing and fulfilment carry on working with it.
  • You change the parameters in the adminprices, weight bands, surcharges, margins and pallet deposits — you reset them all yourself, without us.
  • Shipping from several warehousesthe price is worked out for the warehouse the goods will leave from, not as an average across all of them.

You can try how a calculation like that turns out right below. It is a demo on a made-up cart and a made-up formula — your formula will be different.

See how the module calculates

A made-up cart and a made-up formula — but the mechanics are the same as on a real order.

DEMOA demo with made-up numbers. The formula and the rates are just an example — in your store we calculate with your logic and your data.

1. Sample cart

Add goods the way your customer would.

  • Paving slabs, 1 pallet420 kg1 pallet per item€5200
  • Wood-burning stove120 kgno pallet€1,0000
  • Garden furniture set35 kgno pallet€3400
  • Pendant light3 kgno pallet€500
Weight
0 kg
Pallets
0 pallets
Goods worth
€0
2. Delivery postcode

At the checkout the customer types the postcode and nothing else. The warehouse, the distance, the weight and the pallets are all pulled in by the module.

3. Formula settings

This is what the client changes in the admin. Rewrite the numbers and watch the result.

Weight bands
€/km
Margin

4. Result

Put something in the cart and I'll do the maths.

In production this formula is replaced by your store's logic — your rates, your warehouses and, where you use one, your carrier's API response. The customer still types nothing but the postcode.

Several warehouses, no averaging

As long as you ship from a single warehouse, the shipping price is simple: one distance, one price list. With two warehouses or more it falls apart — the same customer is fifty kilometers from one warehouse and three hundred from the other, but the store still has just one price list.

Stores usually settle it with an average. On the nearer orders the customer then overpays and some of them walk away; on the further ones you take the hit. The further apart the warehouses are, the more expensive that compromise gets.

Your own calculation doesn't have to average anything. It knows which warehouse the goods will leave from, it knows the delivery postcode and it works the price out for that particular route. The same formula also takes in the weight, the dimensions and the number of pallets — everything that really sets the price on heavy goods.

How the rollout works

Count on roughly a month from the moment you approve the quote.

  1. You describe the logicthe formula, the table or the rules — whatever you price shipping by today.
  2. We design the model and the parameterswe tell you what can be worked out from the data and what will have to be set by hand. That gives us the price and the timeline.
  3. Shoptet approves itcustom code in Premium is approved by Shoptet. We handle that for you.
  4. We build the module and connect the APIthe calculation, the admin for the parameters and, optionally, the query to the carrier's API.
  5. We test it against your own calculationson test orders we compare what the module works out with what you would have worked out. We iron out the differences before launch.
  6. We launch and watch itin operation you get support and updates whenever the carrier's or Shoptet's API changes.

What it costs

You pay once for building the module, then monthly for running it. All prices are excl. VAT.

Operation and support

Running the module
€32 / month

Shoptet Premium is a condition — the module needs the open API and custom code in the checkout. Count on roughly a month from the moment you approve the quote.

This is not the pickup point widget

Two different things get mixed up here. The pickup point widget deals with where the customer collects the parcel: it shows them lockers and pickup points on a map and writes the chosen one into the order. Shipping price calculation deals with how much delivery to the address will cost.

If you sell parcel goods abroad and the pickup points are missing from the list, you need the widget. If you haul heavy or palletized goods to an address and you price it on the side today, you need your own calculation. Sometimes both — and then they are two separate services.

Not sure your logic can be described?

Send us the price list, the table or the rules you price shipping by today — an Excel file or a photo of your notes is fine. We'll look at whether it can be turned into a formula and tell you the price and the timeline.

The consultation is free and commits you to nothing. If we think the shipping price list in Shoptet is plenty for you, we'll say so outright.

Frequently asked questions

What does custom shipping price calculation cost?
€1,200 to €2,000 excl. VAT one-off for building the module, then €32 excl. VAT a month for running it. Where exactly in that range you land is decided by how complex the formula is and how many carriers' APIs we connect to. We name a fixed price once we've seen the logic you calculate by.
How long does the build take?
Roughly a month from the moment you approve the quote. That covers designing the model, getting the custom code approved by Shoptet, the development itself, connecting the carrier's API and the test orders on which we compare the result with the way you price shipping today.
Does it work on regular Shoptet, or only on Premium?
Shoptet Premium only. The module needs the open API and the option to run custom code in the checkout, and only Premium has both. On regular Shoptet you're limited to the shipping price list in the admin.
Which carriers can you connect through an API?
The ones that have an API for working out the price — in practice most often TopTrans and Geis, but it isn't a closed list. With a carrier that has no API the price comes out of your table or your formula, the one you maintain in the admin. It works exactly the same, we just don't ask the carrier for the current price.
Can I change the prices and the formula parameters myself?
Yes, that's the whole point of the admin. You change the prices, the weight bands, the surcharges, the margins and the pallet deposits in it. When a carrier sends a new price list, you rewrite the rates yourself and don't have to wait for us. For carriers connected through an API the current price comes straight from them and all you keep is the margin.
Can the module work out a margin?
Yes. Either fixed — a set amount is added to the price from the carrier, €4 for instance — or a percentage, where the price is multiplied by your percentage. And then there's logic of your own: with pallets a deposit per pallet is commonly counted in as well.
Does it handle shipping from several warehouses?
Yes — and it's usually the main reason a store gets a custom calculation in the first place. The module knows which warehouse the goods will leave from and works the price out for that particular route. That does away with averaging, where the customer near the warehouse overpays and you take the hit on the distant orders.
Is this the same thing as the pickup point widget?
No, they are two different services. The widget deals with where the customer collects the parcel — it shows lockers and pickup points on a map and writes the chosen one into the order. Shipping price calculation deals with how much delivery to the address will cost, typically for heavy and palletized goods. You can have both, but they're paid for separately.

Add-ons for Shoptet Premium

Thanks to its API, Shoptet Premium opens up new possibilities. ERP and payment integrations, a pickup point widget, advanced configurators and add-ons. We're a certified Premium Partner.

Who do we already develop for on Shoptet?

Brain Market logoSt. Vitus Cathedral logoKancelář24 logoRedzed logoPlace store logoAdam's Vape logo

And what do they say about us?

We value every opinion. We listen to our clients and we're ready for praise as well as criticism.

Tomáš Hradil,eshop.henri.cz
Great add-on. Simple setup. I really appreciate the helpful approach and the
help before and during the setup. Dominika was great!
Lucie Čechová,eshop.contexta.cz
super easy and fast
Administrator,simpocollection.cz

Want to sail with us?

A quality website can easily become your best employee. It will make you money 24 hours a day, 365 days a year, with no salary and no vacation. All you have to do is start.

Call the Captain

Call +420 728 089 029 and Tomáš will pick up – the captain of our ship, the captain of our team, the owner.

If you'd rather write than call, email us at jsme@webotvurci.cz. A member of our crew usually replies within 24 hours.

Webotvůrci s.r.o.
Houbalova 3023/8, Líšeň
628 00 Brno

Company ID: 08320004, VAT ID: CZ08320004

Or drop us a line, we're looking forward to it!