Anticode Open builder

Build a shipping cost calculator from your own rate table by weight and zone

Customers want to know what delivery will cost before they commit, and surprise shipping charges are a familiar reason people abandon an order. A shipping cost calculator for website visitors can estimate it from a rate table you maintain: weight bands, zones and services. Anticode can build that. It can't fetch live quotes from carriers, so this is a partial fit, and this page is clear about where the line falls.

Updated · By the Anticode team

Why it has to be your own table

Carrier rate APIs need a network request from a server, with an account key. Apps built with Anticode run in a sandbox with no network at all, so they can't ask a carrier or a postal service for a live price. What they can do well is apply a table you've written: the prices you actually charge customers, which for most small shops are flat bands anyway, not the carrier's raw rate.

If your prices must match a carrier's quote to the penny for every parcel, or you need labels and tracking, use your e-commerce platform's shipping settings or a shipping service instead. If you charge by band, read on.

Designing the rate table

Zones
Groups of destinations priced alike: domestic, nearby countries, rest of world, or postcode areas for local delivery. The visitor picks a country or region, and the app maps it to a zone.
Weight bands
Up to 1 kg, 1 to 2 kg, 2 to 5 kg and so on, each with a price per zone. Say whether a band's upper limit is inclusive.
Services
Standard, tracked, express, collection. Each is its own column of prices, with an estimated delivery time as text.
Size rules
Carriers often charge by dimensional (volumetric) weight for light, bulky parcels: length × width × height divided by a divisor the carrier sets. If that affects you, ask for dimensions as well and charge the greater of actual and volumetric weight.
Thresholds
Free delivery above an order value, and surcharges for remote areas.

Write the table in a spreadsheet first, then paste it into your request or describe it. For a shop that sells a few fixed products, an even simpler model works: each product has a shipping weight, and the visitor ticks what they're ordering.

Keeping rates up to date

Carriers change prices, usually once or twice a year. Two ways to keep up:

  • Change requests. "Raise all Europe rates by 8%" or "add a 10–20 kg band" updates the app, and version history keeps the earlier one.
  • A CMS collection. Ask for the rates to come from a collection with fields for zone, maximum weight, service and price. You edit the rows in the Anticode dashboard and the published calculator reads them, read-only.

Put a "Rates updated" date on screen so visitors and staff can see how current the figures are.

Describing the calculator

"A delivery cost calculator for a ceramics shop. Visitors choose destination (UK, EU, USA and Canada, Rest of world) and add items from a list of our products, each with a packed weight. Services Standard and Tracked with estimated days. Charge the higher of actual and volumetric weight using a 5000 divisor. Free UK delivery over 60. Rates from a CMS collection. A 'Ask about a large order' contact form under the result. Warm, simple design."

The contact form is how a visitor reaches you about something the table doesn't cover, such as a pallet or an unusual destination: it arrives by email and in your dashboard. For taking the order itself, your shop's buy buttons can point at a payment link from your provider. See the product configurator and quote calculator pages for related builds, and accepting payments on a website.

The limits, plainly

  • No live carrier rates or delivery dates. Everything comes from your table.
  • No labels, tracking or address validation. Those need a carrier account and a server.
  • No cart integration. The calculator can't add shipping to an order on another platform; it shows an estimate. Anticode's design-engine stores take payment through payment links, without a cart or shipping handling.
  • No duties or import tax. Show a note that international customers may pay these on arrival.

Questions people ask

Is a shipping rate calculator worth it if I charge one flat fee?

Not really. A sentence on the product page is clearer. Calculators help when price varies by weight, size or destination.

Can it show the rate on each product page automatically?

Within one app, yes: the product list and the calculator can share the table. It can't reach into pages built elsewhere.

Can customers save their address for next time?

The app could remember a chosen zone in their browser. It shouldn't collect full addresses; that belongs in a proper checkout.