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.

Create a discount code

Complete guide to creating and managing discount codes in Shoporama: percentage discounts, fixed amounts, free shipping, restrictions, and more.

Reading time: about 12 minutes
Store owner

Overview

Discount codes (vouchers or coupon codes) are an effective marketing tool that motivates customers to buy. In Shoporama, you can create flexible discount codes with different discount types, restrictions, and expiration dates.

Create a discount code

  1. Go to Products → Discount Codes & Gift Cards in the admin
  2. Click Create a new code
  3. Enter a code (or let the system generate one automatically)
  4. Choose the discount type and settings (see below)
  5. Click Save

Create discount codes with AI

You can create and manage discount codes directly through an AI assistant, so you don't have to click your way through the admin. The AI can create new codes, update existing ones, delete the ones you no longer want to use, and give you an overview of your active codes. You just write what you want, and the AI does it.

If you want a code that only applies to one specific order, it's worth knowing that discount codes can't technically be tied to an existing order. The customer enters the code at checkout. You can, however, get exactly the same effect by creating a code that can either be used only once in total, or only by one specific email address. In practice, the code is then "locked" to one order.

Example prompts you can copy:

Create a 15% discount code that can only be used once. Call it THANKS15.
Create a DKK 200 code that only works for the customer with the email customer@example.com, and only once.
Show me all active discount codes, and delete the ones that have expired.

Read more about managing your store with an AI assistant in the article You can now run your entire online store by chatting.

Discount types

You can choose between three discount types, which can be combined:

  • Percentage discount – for example, 10% off the entire order
  • Fixed amount – for example, DKK 50 off
  • Free shipping – the shipping cost is removed, either in all countries or only in the countries you choose

You can combine a percentage discount or a fixed amount with free shipping on the same code.

Restrictions

You can restrict discount codes in several ways:

  • Number of times – limit how many times the code can be used in total. Leave the field empty for unlimited use
  • Can only be used once per user – each customer can only use the code once (based on the email address)
  • Minimum purchase – the code only works if the order is above a certain amount
  • Start date ("This code is valid starting") – choose "right away", or set a date and time for when the code should take effect. That way, you can create the code now and let it activate automatically on the start date. Until then, the code can't be used, and a public code is only included in the public lists from the start date
  • Expiration date – set a date and time for when the code expires
  • Specific categories – limit the code to products in certain categories
  • Specific products – limit the code to selected products
  • Countries for free shipping – choose whether the code's free shipping applies in all countries or only in specific ones. The discount on the products still applies in all countries

Free shipping only in specific countries

Free shipping doesn't cost the same everywhere. A Danish store had created a free shipping code intended for Danish customers, but a Norwegian customer found the code and used it. Shipping to Norway costs many times more than shipping within Denmark, so the store ended up paying the difference itself. It's a classic trap for stores that have just started selling abroad and haven't considered that their discount codes followed them across the border.

That's why you can decide which countries the free shipping applies in. Check Free shipping included, and choose right below it:

  • Applies in all countries – this is the default, and it's how discount codes have always worked
  • Only in selected countries – check the countries where shipping should be free

You can choose from the countries you have set up under Delivery. If you don't check any countries, the free shipping applies in all countries, exactly as before. Your existing discount codes therefore continue unchanged, and you don't need to edit them.

The customer sees this automatically. If the customer chooses a delivery country that the code doesn't cover, the free shipping disappears from the cart, and shipping is charged as usual. The discount on the products themselves remains. In the overview of your discount codes, the country codes are shown under the text Free shipping, so you can quickly see the restriction without opening each code.

Advanced settings

  • Include discounted products – by default, the code can't be used on products that are already on sale. Enable this setting to allow it
  • May be combined with campaigns – choose whether the code can be used together with active campaigns
  • Can be combined with customer club points – choose whether the code can be used together with the customer's loyalty points
  • Keep remaining balance – if the code is for a fixed amount (for example, DKK 200), the remaining balance can be saved for the next purchase. Useful for gift card-like functionality
  • Public: adds the code to a public list that a theme can display. Shoporama's own themes don't show the list, so the code doesn't become visible on its own. If you want to display it, the theme has to be customized

Create multiple codes at once

You can create up to 1,000 unique codes at once:

  • Auto-generate – the system creates random codes
  • Upload file – upload a text file with one code per line

Codes created at the same time are grouped in a batch, which you can export as a CSV file.

Share a discount code

You can share a direct link that automatically applies the code to the customer's cart. The link has this format:

https://dinshop.dk/?voucher=DIN-KODE

You'll find the link when you edit the individual discount code.

Applying the code at checkout

The discount code field at checkout is shown automatically if your theme supports discount codes, and this is where the customer enters their code.

Discount codes in the POS

You can also use discount codes when you sell from your physical store. You enter the discount code in the POS checkout, and the system calculates the discount and records it on the order, exactly as when a customer enters the code at checkout in your online store.

Activate a discount code with a URL

You can activate a discount code automatically by adding it as a URL parameter. When a customer visits your store through a link with ?voucher=CODE, the discount code is automatically added to the customer's cart.

Example:

https://dinshop.dk/?voucher=SOMMER20

This is useful for campaigns in newsletters, on social media, or in affiliate links, where the customer doesn't have to remember to enter the code.

Discount code statistics

Want to know which discount codes perform best? Under Statistics → Discount codes, you can see how many times each code has been used, the total discount amount, and the revenue, so you can judge whether your campaigns are making you money.

Discount code statistics in the Shoporama admin with key figures for orders with a discount, total discount, and revenue, plus a bar chart with and without discount per month
The statistics page for discount codes shows key figures for orders with a discount, total discount, revenue, and AOV with versus without a discount. The bar chart at the bottom compares revenue with and without a discount month by month.

Frequently asked questions

Can I use a discount code when I sell in the POS?

Yes. Enter the code in the POS checkout, and the system calculates the discount and records it on the order.

Where do I choose the countries, and what happens to my existing discount codes?

The option is right below the "Free shipping included" checkbox in the discount code editor. Here you choose either "Applies in all countries" or "Only in selected countries" and check the countries the code should cover. Your existing discount codes are completely unchanged and continue to apply in all countries until you choose otherwise.

Do I have to choose countries on all my codes from now on?

No. If you don't choose any countries, the free shipping applies in all countries, exactly as before. You only need to use the country selection on the codes where you want to restrict the free shipping, for example a code that should only give free shipping in Denmark.

What happens for the customer if the code doesn't apply in their country?

If the customer chooses a delivery country that the code doesn't cover, the free shipping disappears from the cart, and shipping is charged as normal. The product discount itself remains, so the customer doesn't lose their percentage discount or fixed amount. Only the shipping part is dropped.

Does the country selection also restrict the percentage discount or the fixed amount?

No. The country selection only applies to the free shipping. A code with, for example, 15% off or DKK 100 off still works in all countries, no matter which countries you have checked. If you want to restrict the product discount itself, use the category or product restriction.

Which countries can I choose from?

You can choose from the countries you have set up under Delivery. If a country is missing from the list, you first need to set it up under Delivery, and then you can check it on the discount code.

What's the difference between this and the "Never free shipping" checkbox on the shipping method?

"Never free shipping" is set on the individual shipping method and turns off all free shipping for that specific method, regardless of which discount code the customer uses. The country selection, on the other hand, is set on the discount code and controls in which countries that particular code may give free shipping. You also have the "Free shipping above" threshold, which you set per country under Delivery.

Need help? Contact us at support@shoporama.dk.