Websites

Shipping rates for your online store: zones, fees and delivery slots

Shipping rates for an online store decide what a buyer pays to get the order, usually by where they live and how much they spend. On OneCraft the agent writes them into your checkout: rates by country with the orders guide, or delivery zones by postcode with fees, a minimum order, free delivery over an amount and time slots with the delivery guide.

Create a website with OneCraftThe two ways to charge for delivery, the delivery and pickup checkout, slots and run sheets for staff, and the tracking page buyers see.

Two ways to charge for delivery

For parcels sent by post, the orders guide adds shipping_rates: a name, an amount in cents and the countries it covers, applied inside place_order. For local delivery, the delivery guide adds zones listed by postcode, each with a fee, a minimum order and an optional free over amount. Either way the fee is worked out in the database, not in the browser.

Delivery or pickup at checkout

With the delivery guide the checkout has Delivery and Pickup tabs. Typing a postcode shows the zone's fee straight away, or a plain message when you do not deliver there. A slot picker shows days as chips and each slot with how many places are left. Place_order refuses a full or past slot and adds the fee to the total.

Slots and run sheets

Slots have a start, an end and a capacity. In the admin you set a weekly pattern and press Generate slots for 14 days. The deliveries page groups today's orders by slot, delivery and pickup apart, with the address, items and a directions link, plus a printable run sheet sorted by postcode.

The tracking page

Each order gets a tracking page at /track followed by its id, linked from the thank you page. It shows a timeline of steps such as preparing, out for delivery and delivered, which your staff set from the admin, and checks for changes every 30 seconds while open. It never shows the address, email or phone.

How it works, in three steps

  1. Step 1

    Describe how you deliver

    In the generator's brief, say where you deliver, the fees, any minimum and free over amount, and whether people can pick up; or ask in chat on an existing shop.

  2. Step 2

    Give it a database

    Every plan gets a hosted site database, or you can connect your own Supabase account in the site's Settings, Database card. Connect Stripe in account Settings, Payments for card payments.

  3. Step 3

    Set zones and publish

    In /admin add the zones and the slot pattern, generate slots, test an order in the preview, then publish from the builder on a paid plan.

Limits worth knowing

Questions people ask

Can I offer free delivery over a certain amount?

Yes. A delivery zone has a free over amount: when the order subtotal passes it, place_order sets the fee to zero. For a one-off promotion, a free shipping discount code with a minimum subtotal does the same for people who have the code. Say the threshold on the cart page so buyers know how close they are.

How do I charge different fees for different suburbs?

Make one delivery zone per area, each with the postcodes it covers, its own fee and minimum order. The checkout finds the zone holding the buyer's postcode as soon as it is typed. A postcode that is in no zone is refused in plain words, so nobody can order delivery to a place you do not serve.

Can buyers choose a delivery time?

Yes, with slots. Each slot has a start, an end and a capacity, and the slot picker shows how many places are left. Place_order locks the slot while it books, so two buyers cannot take the last place, and a cancel gives the place back. Pickup slots work the same way with their own times.

Does Stripe work out the shipping?

No. Shipping is calculated by place_order in your site's database and saved on the order, and Stripe Checkout charges the total that order holds. That keeps the fee the buyer saw at checkout the same as the one they pay, and nobody can change it from the browser.

Can tax be added to delivery fees?

The orders guide can add one tax rate, applied inside place_order, when your brief asks for tax. How tax applies to delivery depends on your country's rules, so state it in the brief or in chat and check a test order before you publish. In Australia, GST generally applies to delivery charged on taxable goods.

Make your own website

The button opens the generator with this use case already described. Change the wording to match yours, generate, then edit anything you like.

Create a website with OneCraft

Not ready to start? See the AI website builder page first.

Related pages

More finished work of this kind is on the website examples hub.

Sources

Written and checked by the OneCraft team. Last checked .