Create a coupon code (percentage or fixed) with usage limits and expiry

Marketing

How do I create a coupon code?

Prerequisites: the Coupons add-on installed from the marketplace, and the coupons permission.

  1. Open Marketing → Coupons from the sidebar and click Create.
  2. In the Details card enter the Code (English letters and numbers, no spaces) and keep Active on so the code works as soon as it is saved.
  3. In the Value & validity card enter the Discount value and choose Percentage % or Amount SAR, then From date and To date, and the Usage limit for all and Usage limit per customer.
  4. In the Scope card start with Where does the code work?: All branches or Specific branches. A branch narrows the code, it never widens it, and the categories and items in the next step come from those branches only (each branch has its own).
  5. Then answer What does the discount apply to? with one choice:
    • All items: services, products, packages and everything you sell.
    • Specific categories: everything in the categories you pick. What they include is counted below, with packages called out.
    • Specific items: you pick services, products or packages one by one, and nothing else gets the discount. A code cannot mix categories and items.
  6. With All items or Specific categories you can optionally Exclude items: an excluded item never gets the discount, even inside a chosen category (for example a whole category except its packages).
  7. Optionally, in the Restrictions card, pick Excluded payment methods (online store orders only, not point of sale) and add Booking times with Add a time so the discount only applies to bookings that start within them. Adding a time makes it a booking-only coupon. In the same card you can turn on Minimum cart value and enter the Amount (for example 300): the code only works once the cart reaches it.
  8. Check the Code summary column, which describes in one sentence what the code covers and where, then click Create (or Save and add new).

The code applies the same scope in the store, at the point of sale and in orders you create from the dashboard: only what the code covers is discounted, and if an order holds nothing it covers, the code is refused with a message saying so.

From the AI assistant You can ask the AI assistant for a code in one sentence, for example: "Make a 15% code on the nails category until the end of the month, once per customer". The assistant prepares the code and shows a confirmation card with the code, the discount, the dates and the scope by name; nothing is saved until you click Confirm and run. It can edit or stop an existing code the same way. Deleting a code stays on the Coupons page.

Activate or stop a code

  • The code works as soon as it is saved if the Active switch is on in the details card. There is no other activation step.
  • For an existing code: under Marketing → Coupons the Status column shows Active / Inactive. Click the code's row and in Coupon Details change the list next to Active: to Active or Inactive.
  • An active code also doesn't work before its start date, after its end date, or once its usage limit is reached.

How the customer uses the code

  • Online store: at checkout the customer types the code in Coupon code and taps Apply. They must be signed in first (they see Sign in to apply a coupon). If you share your store link ending in ?coupon= followed by the code, it is applied automatically once the customer is signed in with items in the cart.
  • Cashier: in the cart tap Discount, and in the Invoice discount window type the code in Coupon code under Coupon and tap Apply.
  • Dashboard: when creating an order, in the order summary under Discounts and vouchers type the code in Enter coupon code and click Apply. A coupon replaces a manual discount.

If the code is refused, check: status Active, today is within its dates, the usage limit, the cart has an item in its scope and the branch is covered, the booking falls in its booking times if you set any, and the cart reaches its minimum cart value if you set one.

Minimum cart value

  • The value of every item in the cart counts, including items outside the code's scope, at the price the customer sees after the items' own discounts. Delivery, shipping and service fees don't count.
  • The amount itself is enough: with a 300 minimum a 300 cart gets the discount and a 299.99 cart doesn't.
  • In the store: below the minimum the code is refused with a message saying how much is missing. If the code was applied and the cart then drops below the minimum, the code stays in the cart with no discount and the message Add … to use this code, and the discount comes back on its own once the cart reaches the minimum. If the customer checks out while the code is waiting, the order is placed without it and no use is counted.
  • At the cashier and when creating an order from the dashboard: the code is refused with This code needs a cart of at least …. Add … to use it.
  • In the Coupons list the code shows a For carts from 300 SAR badge, and Coupon Details has a Minimum cart value row.
  • To remove the minimum, turn the switch off and save.

A coupon code is not a gift card or service voucher code: those go in the voucher box (see "Gift a card by hand" and "Use a service voucher when creating an order").

To edit, click the code's row to open Coupon Details, then Edit: the same form with every setting, saved in one go. A code created before this update keeps its old setup until you save it from the form, and a notice explains what it does now and what it will do once saved.

Sell anything.Run everything.Grow every customer.

  1. WebsiteFor your customers

  2. DashboardFor you

  3. Staff appFor your team

  4. POSFor your team

  5. Customer appFor your customers

Run your whole business on one platform. Talk to our sales team and we'll show you Mahjoz working the way it would in your business.

  • Free demo
  • No commitment
  • No commission on your sales

+966 58 150 4066 · info@mahjoz.io