Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

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 selection.

Reading time: about 4 minutes
Store owner

Shoporama automatically calculates which shipping methods are available to the customer based on the delivery country. This guide explains the recommended checkout flow for your theme and how the shipping calculation works.

The recommended checkout flow

We recommend the following order of steps in your checkout flow:

  1. /basket: Cart overview
  2. /address: Address details, including country selection
  3. /shipping: Choice of shipping method (and parcel shop, if relevant)
  4. /approve: Order confirmation
  5. /payment: Payment

Why the order matters

Shoporama uses the delivery country to determine which shipping methods are available. That is why the customer must choose a country first (on /address) before the shipping methods can be calculated (on /shipping).

Note

If you only ship to Denmark, you can in principle place the shipping choice wherever you like. But the recommended flow works best for most stores.

The Shipping prices page with a price table for PostNord parcel shop, PostNord home delivery, DAO parcel shop, and Pickup, split between Denmark and Germany.
Shipping prices are set per delivery country in the admin under Delivery. This shows prices for PostNord parcel shop, PostNord home delivery, DAO parcel shop, and Pickup for Denmark and Germany, plus the rule at the top for how a fixed product shipping price is weighed against the table.

Shipping and parcel shop selection

The /shipping page can have two choices:

  1. Shipping method: for example "GLS to parcel shop", "PostNord home delivery", and so on
  2. Parcel shop: if the customer chooses a parcel shop shipping method, they must also choose a specific parcel shop

Many theme developers choose to hide the parcel shop list until the customer has selected a shipping method with parcel shops (GLS or PostNord). When the customer selects a parcel shop method, the list of nearby parcel shops is shown.

Alternative flow: Shipping on the address page

Some developers choose to show the shipping choice already on the /address page. This can work, but keep the following in mind:

  • If the customer changes country, the shipping methods must be updated (with a page refresh or JavaScript)
  • Not all shipping methods are available for all countries
  • Handling the dynamic update requires extra JavaScript logic

Tip

Stick to the recommended flow with separate pages for address and shipping. It is the safest solution and works correctly with all shipping modules.

Need help with your checkout flow? Contact us at support@shoporama.dk.