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.

Lesson 04 / 09

Discount codes, gift cards, and campaigns

Give discounts in the way that fits the offer: a discount code for your newsletter, a campaign that applies automatically, a volume discount for customers who buy a lot, and gift cards your customers can give away.

  • approx. 23 min read
  • Once the store is up and running
  1. 1. Pick and pack efficiently: picking slips, scanner, and mobile
  2. 2. Return center: returns, exchanges, and approval
  3. 3. Landing pages: product selections that update themselves
  4. 4. Discount codes, gift cards, and campaigns
  5. 5. Post-purchase upsells: sell more on the thank-you page
  6. 6. Newsletters: campaigns, segments, and signup forms
  7. 7. Loyalty program: reward points for your regular customers
  8. 8. Sell in your physical store with POS
  9. 9. Get started with rentals

What you'll learn

  • The difference between a sale price, a discount code, a campaign, a volume discount, and a gift card, and when to use each one.
  • How to create a discount code with an end date and a minimum order amount, and what the customer sees in the cart.
  • How to set up a campaign that gives a discount automatically, without a code.
  • How to give a lower unit price when the customer buys several of the same product.
  • How to sell gift cards, and which discounts can be combined.
  • How to make a gift card design, so the customer gets the gift card as a PDF they can print or hand over with a name and a greeting.

Five ways to give a discount

Shoporama has several kinds of discounts, and each one fits its own situation:

  • Sale price on a product: the product is marked down for everyone. Use it for sales on individual products. You enter it in the Sale price incl. VAT field on the product, see the lesson on products.
  • Discount code: the customer enters a code in the cart. Use it when you want to decide who gets the discount, for example the readers of your newsletter, an influencer's followers, or a customer you want to apologize to.
  • Campaign: the discount is applied automatically in the cart when the customer buys what the campaign covers, for example "Buy 3 teas and get 20% off". No code.
  • Volume and tiered discounts: a lower unit price when the customer buys several of the same product. You set them on the individual product.
  • Gift card: the customer buys a code that is later used as payment. A gift card is the customer's own money, not a discount from you.

Discount codes and gift cards are in the same place in the admin, and the customer uses the same field in the cart for both.

Create a discount code

Watch the whole flow in just over 1 minute. Create the code, choose the discount, expiry, and minimum order amount, and see it in the cart, with voice-over.
  1. Go to Products → Discount Codes & Gift Cards, and click Create a new code.
  2. Enter the code in the Code field, for example COFFEE10. Choose something short and easy to remember.
  3. Choose the discount. Enter a number in Percentage discount or in Discount amount. Fill in only one of the fields.
  4. Choose when the code is valid. Under This code expires on:, choose on the following date: in the drop-down and enter the end date. If the code should only start working later, for example from December 1, choose a date under This code is valid starting:.
  5. Set limits if you need them. For example a minimum order amount, how many times the code can be used in total in Number of times the code can be used, or that the code only applies to certain categories or products (on the right).
  6. Click Save. You return to the list, where the new code is at the top.
The Create a new code page with the code COFFEE10, 10 in Percentage discount, expiry on 11/30/2026 at 11:59 PM, the fields Include discounted products and May be combined with campaigns unchecked, and 300 in the minimum order amount
Create a new code. The code COFFEE10 gives 10% off in November when the customer spends at least DKK 300.
  1. Code: what the customer enters in the cart.
  2. Percentage discount or Discount amount. Fill in only one of them.
  3. When the code is valid. Here it works right away and expires on November 30 at 11:59 PM.
  4. Include discounted products and May be combined with campaigns. Without these checked, the code gives no discount on products with a sale price or on products in a campaign.
  5. Minimum order amount: the products in the cart must cost at least DKK 300 before the code works.

The other fields on the page:

  • Free shipping included also gives free shipping. You can limit it to certain countries, see Create a discount code.
  • Can be combined with customer club points is only used if you have a loyalty program. When it is unchecked, the customer cannot pay with points while the code is in the cart.
  • Can only be used once per user checks the customer's email address.
  • Keep remaining balance and Do not count toward the free shipping threshold are used for gift cards, see further down.

Common pitfall

A customer says the code doesn't work, even though it is valid. Often all the products in the cart are discounted or part of a campaign, and without the two checkboxes there are then no products to discount. Also remember that the minimum order amount only counts the products, after any campaign discount, and not shipping.

The Discount Codes & Gift Cards list with five codes: COFFEE10, XMASSHIPPING with the Scheduled badge, THANKS50, the gift card HEATHER-COCOA-3917 with DKK 500 in Discount, and AUTUMN15 with the Expired badge
Products → Discount Codes & Gift Cards. Discount codes and gift cards in the same list. The codes are from our test store, and older test codes are hidden.
  1. Create a new code. This is where you started.
  2. Used: how many orders have used the code. Click the number to see the orders.
  3. Scheduled: the code has been created but only applies from the start date. If it says Expired, the code can no longer be used.
  4. A gift card. The Discount column shows the amount left on the card.

How the customer uses the code

In Montana, which new stores start with, the code field is behind the Have a gift card? link in the cart and at checkout. The customer clicks the link, enters the code, and clicks Redeem. The field accepts both discount codes and gift cards. It is hidden behind a link so customers without a code don't leave the cart to go looking for one. In Delaware, you first turn on Enable Vouchers under Checkout: General and Enable Voucher under Checkout: Cart in Theme settings. The field then appears in the cart under a heading that asks for a gift card or discount code.

The cart in Montana with three kinds of tea and two bags of coffee. The order summary shows 10% discount of DKK 23.80 and Promotion minus DKK 51.40, and under Do you have a gift card? the code COFFEE10 appears with the message Code applied.
The cart with a discount code and a campaign. Three kinds of tea are part of the Tea Week campaign, and the code COFFEE10 has been redeemed.
  1. The discounts. 10% discount is the code, and Promotion: is Tea week. The code only gives a discount on the coffee, because the three teas are part of the campaign, and the code may not be combined with campaigns.
  2. The customer enters the code and clicks Redeem. Remove takes the code off again.

An order can only have one code. If the customer enters a new code, it replaces the first one, even if one of them is a gift card.

Campaigns: discounts without a code

Watch the whole flow in just over 1 minute. Minimum quantity, pricing model, category, and end date, and the discount in the cart, with voice-over.

A campaign applies the discount automatically in the cart. The customer doesn't need to know a code, so campaigns suit offers that everyone should get.

  1. Go to Products → Campaigns, and click Create new campaign.
  2. Enter a name, and click Create. The customer sees the name on the product page, so write something like "Tea Week".
  3. Fill in Minimum quantity that must be purchased. This is the number of products from the campaign the customer must have in the cart. The customer can mix different products.
  4. Choose a Pricing model, and enter the discount, for example 20 in Percentage discount.
  5. Choose what the campaign applies to. On the right, you choose products, categories, or landing pages. Hold down Cmd (Mac) or Ctrl (Windows) to select more than one category.
  6. Choose an end date under This campaign expires:, and click Save and close.
The Edit campaign page for Tea week with 3 in Minimum quantity that must be purchased, Pricing model set to Percentage discount, 20 in Percentage discount, expiry on 16/12/2026 at 23:59, and the Tea category selected
Edit campaign. Buy three teas and get 20% off all of them. Test categories are hidden in the list.
  1. Minimum quantity that must be purchased: three products from the campaign.
  2. Pricing model: here Percentage discount.
  3. 20% off all the campaign products in the cart once the customer has three.
  4. The campaign stops automatically on December 16 at 11:59 PM.
  5. The Tea category. All products in the category are included, also the ones you add to the category later.

Common pitfall

A new campaign starts with 0 in Minimum quantity that must be purchased. With 0, Fixed price, Cheapest product for free, and Percentage discount give no discount, and nothing appears on the product page. Enter at least 1. If the products should simply be 20% cheaper, no matter how many the customer buys, enter 1.

The pricing models:

  • Percentage discount: a percentage off the price of the campaign products when the customer has the quantity you chose.
  • Fixed price: a total price for the quantity, for example 3 for DKK 200. If the customer buys more, they all get the same unit price.
  • Cheapest product for free: the cheapest product is free, for example "Buy 3, get the cheapest one free". Applies to each full set.
  • Amount-based discount (automatic): a percentage discount when the customer spends a certain amount, for example 10% over DKK 500.
  • Combination discount (buy A → discount on B): buy one product and get a discount on another. See Campaigns.

Do you sell subscriptions?

With Fixed price and Percentage discount, the campaign can also give its own price on subscriptions, for example 3 for DKK 255 on a subscription. Choose it in the Applies to field in the Subscription box on the campaign, and enter the subscription price or percentage. The box only appears when your store sells subscriptions. The quantity is counted across the campaign's products in the same subscription, and the price is calculated at each delivery. See Campaigns on subscriptions.

The product page for Artisan Select Earl Grey Black Tea, loose leaf 200 g in Montana with the Tea week badge on the image and a yellow box with the text Tea week: Buy 3 and get a 20% discount, Valid until 16.12.2026 inclusive
The campaign on the product page in Montana. The customer can see the offer before adding the product to the cart.
  1. The badge with the campaign's name. It also appears on the product in lists.
  2. The box tells the customer what to do to get the discount, and when the campaign ends.

In Montana, you turn the badge and the box on and off with Show campaign indicator under Design → Theme settings → Product page. In Delaware, the campaign appears on the product page when you have turned on Enable Campaign on Products. The discount in the cart still applies when the display is turned off.

Good to know

A product, a category, or a landing page can only be part of one campaign at a time, and that includes campaigns that have expired. If a category is missing from the list, find the old campaign and remove the category from it, or delete the campaign with Delete at the bottom of the page. In the list of campaigns, the date under Expires shows whether a campaign has ended. With a landing page, you can gather the campaign's products on one page.

Volume discounts and tiered discounts on the product

Both give a lower unit price when the customer buys several of the same product. You set them on the individual product, not under Campaigns.

  • Volume discount has one step: "Buy 5 or more and save DKK 5 per item."
  • Tiered discount has several steps, each with its own unit price: from 3 items DKK 139, from 6 items DKK 129, and from 12 items DKK 119.
  1. Open the product under Products → All products, and expand Volume and tiered discounts.
  2. Volume discount: enter the quantity in Volume discount when purchasing more than and the amount in Reduce the price (incl. VAT) for all units by. Be careful: "more than 4" means from 5 items.
  3. Tiered discount: click Add a step, and enter the quantity in From quantity and the price per item next to it. Repeat for each step. Enter the price per item, not the total price.
  4. Click Save and keep editing at the bottom of the page.
The Volume and tiered discounts card on the product Nordic Roast House Blend with empty volume discount fields and three steps in the tiered discount: 3 items at DKK 139, 6 items at DKK 129, and 12 items at DKK 119
Volume and tiered discounts on the product. The product has a tiered discount, so the volume discount fields are empty.
  1. The quantity the customer must buy more than before the volume discount applies.
  2. How much the price per item is reduced.
  3. A step: from 3 items, each bag costs DKK 139. Below the field, you can see what the customer saves per item.
  4. Add a step adds another row.
Two product pages in Montana. On the left, Blue Ridge Coffee Filters No. 4 with the text Volume discount: Buy 5 pcs. or more and save DKK 5.00 per item. On the right, Nordic Roast House Blend with a table of quantity and price: 3+ DKK 139, 6+ DKK 129, and 12+ DKK 119
What the customer sees in Montana. Sections of two product pages.
  1. Volume discount. The text appears when Show volume discount is turned on under Design → Theme settings → Product page.
  2. Tiered discount: a table with quantity and unit price.

Use either a volume discount or a tiered discount on a product. If the product has both, the tiered discount replaces the volume discount as soon as the customer reaches a step. Read more about volume discounts and tiered discounts.

Gift cards: sell them in your store

A gift card is a product the customer buys. When the purchase is completed, Shoporama creates a unique code for the amount. The recipient uses the code as payment in the cart, and whatever isn't used is saved for next time.

  1. Create a profile for gift cards. Go to Webshop → Product profiles, enter for example "Gift card" in the New profile name... field, and click Create profile. The profile opens. Check Financial products, and click Save and close. The profile must not have any attributes. Read more about profiles in the lesson on profiles and variants.
  2. Create the gift card. Click Create product under Products → All products, choose the gift card profile under Profile, enter a name, for example "Gift card DKK 500", and click Create product.
  3. Expand Credit, etc., check Store credit of, and enter the amount and the number of days the code should be valid. The amount is incl. VAT and in whole kroner.
  4. Give the gift card a price and an image, and save. You enter the price in Price incl. VAT under General. It can be lower than the amount, for example DKK 450 for a DKK 500 gift card.

A gift card cannot have variants, so each amount is its own product, for example DKK 250, 500, and 1,000.

The Credit, etc. card on the product Gift card DKK 500 with Store credit of checked, DKK 500 valid for 365 days, and the help text below
Credit, etc. on a gift card. The card only appears on products with a financial profile. The top three fields are for credit and are not used for gift cards.
  1. The gift card is for DKK 500 and is valid for 365 days. The text below the field explains the rules.

When a customer buys the gift card:

  • The code looks something like UGLE-KANEL-4821. In Montana, it appears in the order confirmation under the store credit heading and on the customer's order page.
  • Under Discount Codes & Gift Cards, the code is listed with the note "Created in connection with order" and the order number, and Discount shows how much is left.
  • The code is created as soon as the customer completes the purchase, even if the order is never paid. If you cancel the order, the code stops working.

Common pitfall

A gift card only pays for products, not for shipping. A gift card bought in your store also covers products in a campaign, but a gift card you create yourself only does so when May be combined with campaigns is checked. Without that checkbox, it doesn't cover the products in the cart that trigger a campaign, and the remaining balance stays on the card.

Read more about gift cards, store credit from the return center, and how to tell gift cards and discount codes apart in Gift cards and store credit.

Make a gift card your customers can print

Watch the whole flow in just over 2 minutes. Create the design, edit the blocks and the paper, give the gift card page your own look, publish it, pick it on the gift card product, and see the customer's gift card page, with voice-over.

Without a gift card design, the customer only gets the code as text in the order confirmation. With a design, they also get a real gift card as a PDF with the amount, the code, and the expiry date, ready to print and hand over with the recipient's name and a greeting. That turns the gift card into a present you can put in an envelope.

  1. Go to Products → Discount Codes & Gift Cards, and click Gift card design in the top right corner.
  2. Create the design. Under Create design, enter a name in the Name field, for example "Gift card", and click Create. The design starts with the standard blocks and is saved as a draft.
  3. Adjust the blocks. Click the arrow to expand a block. Recipient writes "Dear" followed by the name, Greeting shows the buyer's message, Value shows the amount, the product name, or your own text, Gift card code is the gift card code and must stay on the card, and Expiration Date shows how long the card is valid. Use Add block to add an image, for example. The logo, colors, and font come from your shared mail design under Design → Emails.
  4. Choose the paper. Pick A4 or A5 under Paper, and Portrait or Landscape under Orientation. Click Sample PDF to see the gift card exactly as the customer will get it, including changes you haven't saved yet.
  5. Give the gift card page your own look. Expand Gift card page at the bottom of the editor, and write a heading, for example. Turn on Custom colors and background to choose colors and a background image, and click View the gift card page to see the page.
  6. Click Save and publish. Only now do customers get the gift card. Your first design becomes the standard for all gift card products.
  7. Choose the design on the product if it should use a different one. Open the gift card product, expand Credit, etc., choose the design under Gift card design, and save. If it says Standard, the product uses the standard design.

Once the design is published, the customer gets:

  • The gift card as a PDF in the order confirmation. If they buy several gift cards, they get one PDF for each.
  • The gift card page, where they enter a name under Recipient and, if they like, a message under Greeting (optional), and then click Download PDF or Print, which take the name and greeting with them. Without a name, the card gets a blank line that can be filled in by hand.
  • In Montana and MontanaB2B, the View and print your gift card link in the order confirmation leads to the gift card page, and the thank-you page has a box with the same button. With other themes, the link is included when the order confirmation is set up under Design → Emails, in the Store credits block.

In the admin, the order's gift cards are in the Gift card card on the order with balance and PDF. In the Discount Codes & Gift Cards list, you can choose Gift cards and store credit and download a gift card with the PDF icon, for example when a customer has lost theirs.

If you sell gift cards in your physical store with the POS, the Print gift card and Email gift card buttons appear once the sale is paid. You enter the recipient's name and a greeting, then print the card on the spot or send it to whichever email address the customer wants. If the gift card product is a POS product group, the cashier enters the gift card amount at the time of sale, for example 350 DKK. The gift card product can also let the customer choose the amount in the online store.

Common pitfall

If the gift card is larger than the paper, the preview shows a red line where the paper ends and a warning under Paper. Anything below the line goes on an extra page in the PDF, so the gift card ends up split across two pages. Shorten the text, remove a block, or choose a larger paper size until everything fits above the line, and check it with Sample PDF before you click Save and publish.

Read more about the blocks, the gift card page, and gift cards in the POS in the article on gift card design.

Can discounts be combined?

  • Discount code and sale price: only when Include discounted products is checked.
  • Discount code and campaign: only when May be combined with campaigns is checked. Otherwise, the campaign products only get the campaign discount, and the code gives a discount on the rest of the cart.
  • Discount code and points: only when Can be combined with customer club points is checked.
  • Discount code and gift card: no. An order can only have one code.
  • Gift card and points: no, not with gift cards bought in your store.
  • Campaign and sale price: yes. Percentage discount and Cheapest product for free are calculated from the sale price. Fixed price replaces it. Amount-based and combination discounts can skip discounted products with Exclude sale items.
  • Volume discount and sale price: yes, the volume discount is deducted from the sale price. A tiered discount, on the other hand, replaces the price.

See what the discount brought in

  • Used in the list of discount codes and in the list of campaigns is a link to the orders that used the code or campaign. The number also includes unpaid and canceled orders.
  • Statistics → Discount codes shows how many orders have used a discount code, how much discount you have given, and whether orders with a discount are larger than those without. See Discount code statistics.
  • In the order list, you can turn on the Discount code and Discount amount columns under Customize view. More about the order list in Your first order.

Do it now

Create a discount code with an end date for your next newsletter, and try it yourself in the cart before you send it out.

Create a discount code →

Frequently asked questions

A customer says the code doesn't work. What should I check?

Search for the code under Discount Codes & Gift Cards. If it says Expired or Scheduled, or Uses left is 0, it can't be used right now. Then open the code, and check the minimum order amount and whether the cart only contains discounted products or products in a campaign. If the customer has used the code before and Can only be used once per user is checked, it won't work again either.

Does the customer have to enter the code in capital letters?

No. COFFEE10, coffee10, and Coffee10 are the same code. The letters just have to be the right ones, so avoid codes where characters are easily mixed up, such as 0 and O.

Can I send a link that adds the code to the cart?

Yes. Add ?voucher= and the code to the address of a page in your store, for example yourstore.com/?voucher=COFFEE10. It works on every page. You'll find the link below the Code field when you open the code. The link is handy in newsletters and on social media.

Can I create many unique codes at once, for example for a magazine or an influencer?

Yes. Under Create a new code, enter the number in Or automatically generate this number of codes, up to 1,000 at a time, or upload a file with one code per line. Enter 1 in Number of times the code can be used so each code can only be used once. Afterward, you download the codes with Download latest list at the bottom of the list.

A customer has lost their gift card code. How do I find it?

Enter the order number from the gift card purchase in the Search for code field under Discount Codes & Gift Cards. The search also looks in the note, and gift cards have the note "Created in connection with order" and the order number. The Discount column shows how much is left.

Do gift cards include VAT?

It depends on what the gift card can be used for, and whether VAT is due when the card is sold or when it is used. That's a question for your accountant. The gift card gets VAT like your other products. The VAT rate field under Legal, VAT, customs, and environment can change that, but talk to your accountant first: when the customer uses the gift card, it is deducted as a discount, so with 0% the VAT on that amount is never paid.

Can I create a gift card for a customer who didn't buy it in the store?

Yes, for example as a prize or for a customer in your physical store. Create a code under Create a new code with the amount in Discount amount, and check Keep remaining balance, Include discounted products, May be combined with campaigns, and Do not count toward the free shipping threshold, just like on the gift cards Shoporama creates itself. Choose an end date, and give the customer the code. If you use the POS, you can sell the gift card product at the register instead and print it with Print gift card.

Do I need a gift card design to sell gift cards?

No. Without a published design, gift cards work as usual, and the customer gets the code as text in the order confirmation. A design gives the customer a gift card as a PDF on top of the code, ready to print and give away. A draft makes no difference until you click Save and publish.

Can I add the name and greeting to a gift card a customer has bought?

Yes, for example if the customer calls and asks you to. The Gift card box appears on gift cards bought in the webshop or POS after gift card design arrived in Shoporama in December 2026, once your store has a published gift card design. Search for the code under Discount Codes & Gift Cards, and open it. In the Gift card box, fill in Recipient and Greeting, and click Save and keep editing. Then download the card with Download gift card (PDF), and print it or send it to the customer.

Do different variants count toward volume and tiered discounts?

For the volume discount, all items of the product in the cart count, including different variants. The tiered discount is calculated for each variant separately, so 2 bags of whole beans and 2 bags of ground coffee don't count as 4.

I changed a campaign with a subscription price. Do customers get the new price?

Yes, from the next delivery. The price is calculated at each delivery, so all active subscriptions with enough products from the campaign get the new price. Customers aren't notified in advance, so write to them if the price goes up. If you set an end date or delete the campaign, the products go back to their regular subscription price. The Subscription box on the campaign shows how many active subscriptions are affected. See Campaigns on subscriptions.

What does Public mean on a discount code?

The checkbox makes the code available to themes that show a list of discount codes in the store. Shoporama's built-in themes don't show such a list, so here the checkbox makes no difference. If you have your own theme, a developer can use the list.

What happens if a customer tries many wrong codes?

After 10 wrong codes within 15 minutes, the customer can't redeem codes for an hour, not even valid ones. Montana and Delaware show the message "Too many wrong codes. Please try again in an hour." The lock protects your gift cards from being guessed. If it's a real customer, ask them to check the code and try again when the hour has passed.

Want to go deeper?

The support articles explain each feature in detail.

Shoporama Academy · Lesson 04 / 09 · Latest version: www.shoporama.io/academy/discount-codes-gift-cards-and-campaigns · Printed 02.12.2026