Creating and managing discount codes

Updated Mar 11, 2026
discounts

Creating and Managing Discount Codes

Discount codes are a powerful way to attract new customers, reward loyal buyers, and boost sales. Create codes that offer a percentage or fixed amount off, and control exactly which products they apply to.

To get started, go to MarketingDiscounts in your sidebar.


Discounts Dashboard

Your Discounts page shows all your discount codes with key stats at the top:

  • Active Discounts — How many discount codes are currently active
  • Total Usage — How many times your codes have been used across all orders
  • Average Discount — The average discount value given

Each discount in the list shows:

  • The discount code and title
  • Type (percentage or fixed amount)
  • Usage count and limit
  • Status badge (Active, Expired, or Inactive)
  • Start and end dates

Creating a Discount Code

Click Create Discount to set up a new code.

Discount Code

Enter the code your customers will type at checkout. Codes are not case-sensitive — customers can type it in any case.

Examples: SAVE10, WELCOME20, FREESHIP, VIP50

Tips for good codes:

  • Keep them short and easy to remember
  • Make them descriptive (e.g., SUMMER25 for a 25% summer sale)
  • Avoid confusing characters (0 vs O, 1 vs l)

Title

A name for your reference. Customers don't see this — it helps you remember what the discount is for.

Example: "New customer welcome offer" or "End of year clearance"

Description (Optional)

Internal notes about the discount. Useful for keeping track of why you created it or which campaign it's part of.

Discount Type

Choose between two types:

Type How It Works Example
Percentage Takes a percentage off the order 20% off → GHS 100 becomes GHS 80
Fixed Amount Takes a specific amount off GHS 15 off → GHS 100 becomes GHS 85

Enter the value after selecting the type. For percentage, enter the number without the % sign (e.g., enter 20 for 20% off).

Note: Fixed amount discounts are capped at the order subtotal — a GHS 50 discount on a GHS 30 order will reduce it to GHS 0, not create a negative amount.

Applies To

Control which products the discount works on:

Option What It Does
All Products Discount applies to everything in your store
Specific Products Only selected products get the discount
All Categories Discount applies to all product categories
Specific Categories Only products in selected categories get the discount

When choosing specific products or categories, a search box appears so you can find and select them easily.

Start Date

When the discount becomes active. You can set it to start immediately or schedule it for a future date.

End Date (Optional)

When the discount expires. Leave this blank if you want the discount to run indefinitely until you manually deactivate it.

Usage Limit (Optional)

The maximum number of times the code can be used across all customers. Leave blank for unlimited uses.

Example: Set to 100 if you want the first 100 customers to get the discount, then it stops working.

Each customer can use a discount code once by default — so the same person can't use the same code multiple times.

Active Toggle

Turn the discount on or off. You can create a discount as inactive and activate it later when you're ready to launch your promotion.


How Discounts Work at Checkout

Here's what happens when a customer uses a discount code:

  1. Customer adds products to their cart
  2. At checkout, they enter the discount code
  3. Strawlo validates the code:
    • Is it a valid code for this store?
    • Is it currently active (within date range)?
    • Has the usage limit been reached?
    • Does the customer's cart include eligible products?
  4. If valid, the discount amount is calculated and shown
  5. The customer pays the reduced amount
  6. The usage count increases by one

If the code is invalid or expired, the customer sees an error message explaining why.


Managing Your Discounts

Editing a Discount

  1. Find the discount on your Discounts page
  2. Click on it or click the Edit button
  3. Update any fields — code, value, dates, products, usage limit
  4. Save your changes

Note: You cannot edit an expired discount. If you need to reuse the same code, create a new discount with the same code and new dates.

Activating / Deactivating

Toggle a discount between active and inactive without deleting it. This is useful when you want to:

  • Pause a promotion temporarily
  • Prepare a discount before a sale event
  • Stop a discount early without deleting it

Duplicating a Discount

Create a copy of an existing discount — same settings, new code. Great for running similar promotions with different codes for different audiences.

Deleting a Discount

Permanently remove a discount. This cannot be undone. The discount's usage history is preserved in your order records.


Discount Statuses

Status Meaning
Active The discount is live and customers can use it
Expired The end date has passed — the code no longer works
Inactive You've manually turned it off

Plan Limits

The number of active discounts you can have depends on your subscription plan. When you've reached your limit, you'll need to deactivate or delete an existing discount before creating a new one.

You can always have unlimited inactive or expired discounts — the limit only applies to active ones.


Quick Tips

1. Create a Welcome Discount

Offer new customers a discount on their first purchase. Something like WELCOME10 for 10% off is a classic.

2. Use Time-Limited Discounts to Create Urgency

Setting an end date encourages customers to buy now rather than later. "Sale ends Sunday!" works well.

3. Track Your Usage

Check the usage count regularly to see which codes are popular. If a code isn't being used, your promotion might need more visibility.

4. Be Strategic with Values

Percentage discounts work well for expensive items (20% off a GHS 500 item = GHS 100 savings). Fixed amounts work better for lower-priced items (GHS 10 off feels more tangible than 5% off).

5. Share Codes on Social Media

Post your discount codes on Instagram, WhatsApp Status, and Twitter to reach more customers.

6. Limit Usage for Exclusivity

Setting a usage limit (e.g., "First 50 customers only") creates urgency and makes the offer feel exclusive.


Frequently Asked Questions

Can a customer use multiple discount codes on one order?

No. Only one discount code can be applied per order.

Are discount codes case-sensitive?

No. SAVE20, save20, and Save20 all work the same way.

Can I use the same code after it expires?

You'll need to create a new discount with the same code. The original expired discount cannot be reactivated.

What happens if a discount applies to a specific product but the customer doesn't have it in their cart?

The discount won't apply and the customer will see a message that the code isn't valid for their order.

Can I see which orders used a discount code?

Yes. Orders that used a discount show the discount amount and code in their details. You can also see the total usage count on the Discounts page.

Can customers use discount codes with Pay-on-Delivery?

Yes. Discount codes work with all payment methods including Pay-on-Delivery.

Do discounts stack with flash deals?

Discount codes and flash deals are separate features. A product can be part of a flash deal and also accept a discount code, but the specifics depend on your setup.


Need Help?

If you have questions about discount codes:

Was this article helpful?

Let us know so we can improve

Still need help?

Our support team is happy to assist you