Book a call

Fill out the form and we will call you back as soon as possible

Emergency situation

In case of emergencies or breakdowns, you can send an SMS to our emergency hotline

On-call phone (SMS only)

+45 29 70 15 95

Send an SMS with the following information:

  • Your name and webshop
  • Description of the problem
  • Your callback phone number

Notes: 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

Guide for developers to implement shipping in the checkout flow of a Shoporama theme.

Reading time: approx. {eight} minutes
Shopejer

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

The recommended checkout flow

We recommend the following order in your checkout flow:

  1. /basket - Basket overview
  2. /address - Address information including country selection
  3. /shipping - Selection of shipping method (and parcel shop if applicable)
  4. /approve - Approval of the order
  5. /payment - Payment

Why the order is important

Shoporama uses the country of delivery to determine which shipping methods are available. Therefore, the customer must first select the country (on /address) before the shipping methods can be calculated (on /shipping).

Note that

If you only ship to Denmark, you can in principle place the shipping selection wherever you want. However, the recommended flow works best for most shops.

Shipping and parcel shop selection

On the /shipping page, there can be two choices:

  1. Shipping method - e.g. "GLS to parcel shop", "PostNord home to door" etc.
  2. Parcel shop - if the customer selects a parcel shop shipping method, they must also select 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 selection already on the /address page. This can work, but be aware:

  • If the customer changes country, the shipping methods need to be updated (via page refresh or JavaScript)
  • Not all shipping methods are available for all countries
  • Additional JavaScript logic is required to handle dynamic refresh

Tip to keep in mind

Stick to the recommended flow with separate pages for address and shipping - it's the most secure solution and works correctly with all shipping modules.

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