
How to Add Discount Codes to Your Magento Shop
Seasonal offers, flash deals, loyalty rewards — there are dozens of brilliant reasons to give your shoppers a little something off. But if you’ve ever poked around your Magento admin panel looking for how to add discount codes in Magento shop settings, you might have felt a bit lost. The terminology can feel like it was written for IT professionals, not independent retailers. This guide changes that.
We’ll walk you through the whole process in plain English — no coding, no developer call-out fee, no head-scratching. By the end, you’ll be able to run a promotion on your Magento store entirely on your own, ahead of any seasonal sale or special occasion you’ve got coming up.
Why Magento Discount Codes Are Worth Getting to Grips With
Imagine you run a gift shop in Bristol. Mother’s Day is two weeks away, and you’d love to offer your newsletter subscribers 15% off — but you’re not sure how to set it up without calling in a favour. Sound familiar? You’re not alone. Many independent UK retailers are sitting on a powerful feature they’ve simply never had explained to them properly.
Magento (the popular e-commerce platform used by thousands of UK independents and online retailers worldwide) has a built-in promotions engine that lets you create Magento offer codes for customers in just a few clicks. These are unique codes — like SPRING15 or WELCOME10 — that shoppers enter at the checkout to receive a discount. No third-party app required. No monthly subscription. It’s already there in your admin area, waiting to be used.
Getting comfortable with this feature means you can respond quickly to competitors, reward loyal shoppers, and shift seasonal stock — all without spending a penny on outside help. According to Statista, UK e-commerce continues to grow year on year, and promotional pricing remains one of the most effective ways to encourage first-time purchases. The opportunity is real — you just need to know where to click.
A Quick Word Before You Start: Cart Price Rules Explained

Before we jump in, let’s clear up one phrase you’ll see a lot inside Magento: cart price rules. This sounds complicated, but it simply means the rules that decide what kind of discount gets applied when a shopper uses a code at the checkout. Think of it like writing the small print for your offer — things like “this only applies to orders over £30” or “this can only be used once per person.”
Understanding cart price rules Magento explained in simple terms makes the whole setup feel far less daunting. You’re essentially filling in a short form that describes your offer. Magento then does the maths automatically every time a customer uses the code. It’s a bit like setting up a rule in a spreadsheet — except Magento handles the tricky parts for you.
This is also worth knowing: Magento has two editions — Open Source (sometimes called Community) and Adobe Commerce (the paid, enterprise version). This guide focuses on Magento Open Source, which is what most small UK retailers use. If you’re unsure which version you have, your web host or the person who set up your store will be able to confirm. You can read more about the history and versions of Magento on Wikipedia.
How to Add Discount Codes in Your Magento Shop: Step by Step
Ready to set up your first promotion? Here’s exactly what to do. Log into your Magento admin panel — this is the password-protected back-office area of your store, usually found at something like yourshop.co.uk/admin. From there, follow these steps:
Go to Marketing, then Promotions: In the left-hand menu, click on Marketing. A sub-menu will appear. Click on Cart Price Rules. This is the section that controls all your Magento coupon setup for small retailers — think of it as your promotions control room.
Create a new rule: Click the orange Add New Rule button in the top right corner. You’ll see a form with several tabs along the top — Rule Information, Conditions, Actions, and Labels. Don’t be put off by this. You’ll only need to fill in the essentials for a straightforward offer, and we’ll cover each one below.
Fill in the Rule Information tab: Give your rule a name (this is just for your own reference — shoppers won’t see it). Something like “Mother’s Day 15% Off” works perfectly. Set the status to Active, choose the website and customer group (select General if you want the offer open to everyone), and set your start and end dates. Setting an end date is important — it means the offer switches off automatically, so you don’t have to remember to do it manually.
Set up your coupon code on the same tab: Scroll down slightly and you’ll see a field labelled Coupon. Change the dropdown from No Coupon to Specific Coupon. A new field will appear asking you to type in your code. Keep it short and memorable — something like MOTHERS15 or SPRING25. You can also tick a box to limit how many times the code can be used in total, and how many times each individual shopper can use it. This is brilliant for stopping one person from using a code repeatedly.
Define the discount in the Actions tab: Click the Actions tab at the top of the form. Here you’ll tell Magento what kind of discount to apply. In the Apply dropdown, choose Percent of product price discount for a percentage off, or Fixed amount discount for a flat £ amount off. Then type in the figure — for example, 15 for 15% off, or 10 for £10 off. You can also set a minimum order amount here (for example, the code only works on orders over £40). This is where Magento price rule without developer input really shines — the form is genuinely straightforward once you know what each field means.
Add a label so shoppers see the discount clearly: Click the Labels tab. In the Default Rule Label for All Store Views field, type something friendly like “15% off applied — happy shopping!” This text appears in the customer’s basket once they enter the code, confirming the discount has worked. It’s a small touch, but it builds confidence and reduces abandoned baskets.
Save and test your rule: Click the orange Save Rule button. Now open your shop in a separate browser tab (or use a friend’s phone), add something to the basket, and enter your new code at checkout. Make sure the discount appears correctly before you share the code anywhere. It takes two minutes and could save a lot of confusion later.
How to Share Your Magento Offer Codes With Customers

You’ve created your code — brilliant. Now you need to get it in front of people. The simplest approach is to include it in your next email newsletter. If you use a service like Mailchimp or Klaviyo, just paste the code into the body of your email alongside a clear deadline. “Use code MOTHERS15 at checkout — offer ends Sunday” is all you need.
You can also share Magento offer codes for customers via your social media pages, on a banner across the top of your homepage, or printed on a flyer if you have a physical presence too. The code itself is just text — it works anywhere. If you’re planning a bigger campaign, it’s worth reading the UK government’s guidance on advertising and marketing to make sure your promotional terms are clear and compliant.
One tip: always state the expiry date clearly wherever you share the code. Shoppers who try an expired code and get an error message are unlikely to try again. Clarity upfront prevents frustration and keeps your customer service inbox quiet. You can also find broader guidance on consumer rights around sales and discounts from Which? — useful reading for any UK retailer running offers.
Common Things to Double-Check Before Going Live
Even the most straightforward setups can have a small slip. Before you announce your promotion, run through this quick checklist:
- Is the rule status set to Active?
- Are the start and end dates correct for your time zone?
- Have you tested the code on a real order (even a small one) in a separate browser session?
- Does the discount appear correctly in the basket before checkout?
- If you’ve set a usage limit, is it set high enough for the number of shoppers you expect?
Running through these points takes under five minutes and gives you confidence that everything is working as intended. If something doesn’t look right during testing, double-check the Actions tab — the most common issue is a discount value that’s been left at zero, or a minimum order amount that’s been set too high by accident. For more on protecting your e-commerce setup, our guide on e-commerce security for UK small businesses is a helpful next read.
What You Can Do Today
Right now, log into your Magento admin panel and navigate to Marketing > Cart Price Rules. Even if you’re not planning a promotion immediately, spend five minutes clicking through the form and reading the field labels. Familiarity makes the real thing much faster when the time comes. If you have a seasonal sale, a bank holiday, or a product launch coming up in the next few weeks, draft your Magento coupon setup for small retailers now and save it as inactive until you’re ready to go live.
And if you get stuck, or you’d like someone to set up a more complex promotion — perhaps a tiered discount or a buy-one-get-one offer — the team at VeCar Digital Programming is always happy to help. We work with independent UK retailers every day, and we speak plain English, not tech jargon. Find out how we support Magento shop owners or get in touch for a no-obligation chat. Knowing how to add discount codes in Magento shop settings is just the start — there’s a lot more you can do once you’re comfortable with the basics.
Frequently Asked Questions
Can I create discount codes in Magento without hiring a developer?
Yes. Magento’s built-in Cart Price Rules tool lets you create and manage discount codes entirely through the admin panel. You can set percentage or fixed-amount discounts, define usage limits, and schedule start and end dates — all without touching a single line of code. This makes it practical for UK shop owners to run promotions independently and cost-effectively.
How do I limit a discount code to specific customer groups in Magento?
Within Cart Price Rules, you can restrict codes to particular customer groups such as wholesale buyers, registered B2B accounts, or VIP clients. Simply select the relevant group under the rule’s conditions. This ensures trade discounts aren’t accidentally used by retail customers, helping you protect your pricing structure and maintain appropriate margins across different buyer segments.
Can I set a minimum order value before a discount code activates?
Yes. Magento allows you to add conditions to any Cart Price Rule, including a minimum subtotal threshold. This means the discount code only applies when the cart reaches a specified value — useful for encouraging larger B2B orders and ensuring promotions remain profitable by only rewarding customers who meet your required spend level.
How do I prevent a discount code from being used more than once per customer?
When creating your Cart Price Rule, set the ‘Uses Per Customer’ field to 1. You can also cap the total number of redemptions site-wide using the ‘Uses Per Coupon’ setting. These controls are essential for B2B promotions where you want to avoid repeated use by the same account and maintain tighter control over your promotional budget.
Will Magento discount codes work alongside other active promotions or rules?
By default, multiple Cart Price Rules can stack in Magento. However, you can prevent this by enabling the ‘Stop Further Rules Processing’ option on higher-priority rules. For B2B environments where pricing is carefully managed, it’s advisable to review rule priority settings and test combinations before launching, ensuring customers only receive the intended discount and not unintended compounded savings.


