Discount code for only one item in cart?

Hi there, I’m looking for a way to create a discount code that is only applicable for 1/x items in a cart (of a certain collection). For example, I want customers to get 20% off their first cake when they sign up for our newsletter. If they decide to order 3 cakes in that order, i dont want them to get 20% off each of them, this discount is simply too much. I need the 20% to apply to only one of their cakes and not to the rest.

We separate items by collection so essentially the discount would act like this

Applies only to items in Whole Cake collection

Applies only to one item in cart

How can I achieve this? Thank you!

@colcord , you would need an app that allows you to specify maximum purchase requirements. You can try our app Discount Bot that allows you do to that.

For your example, you can set up something like this:

If you have any questions while configuring the discount, please reply or contact app support.

1 Like

Hi there, would this still apply the discount when the cart has more than one item? I want it to be usable on orders with multiple products, but only apply the discount to one item

Hi Colcord,

If you’re looking for a way to create a discount that only applies to one item, even on orders with multiple products, you can try our app, Regios Automatic Discounts (4.9 stars, Built for Shopify).

Here’s a screenshot of how you could set your discount up:

  1. When you create your discount and click “Edit logic,” select the “Discount for specific products” template.
  2. In the auto-generated “Check if” step, you can edit the “Include/exclude products” condition to include your specific desired collection.
  3. You can also add customer tags, for example, if all of your newsletter subscribers share a specific tag. This way, you could limit who can use the discount.
  4. In the auto-generated “Apply discount” step in your discount logic flow, you will see an “Advanced options” button. Click it.
  5. This will reveal a “Quantity” input you can use to set the maximum number of items per order that will receive that discount. In your case, you can set it to 1.

This is different from “maximum purchase requirements,” which would prevent the discount from applying to items with multiple orders. At least, that’s how maximum purchase requirements would work in Regios Discounts. The “Quantity” option is separate.

If you have any questions about this, just reply, and I’ll be happy to help.

Best,

Tobe

1 Like

@colcord , that’s correct. Here’s a cart showing 4 cakes. Each cake is $50 and the discount is 20% off. The discount applies for only one product:

20% off on one item in cart ($10 off total):

Cart with 4 cakes. 20% of ($10) off on only one item:

Also note that the setting you would be using in the app to achieve this would be “Limit maximum discount quantity” (not Maximum purchase requirements).

Please use this setting:

1 Like

Can your solution discount the lowest value item in the cart with a percentage discount. If there is only one item it will discount that item but if there is more than one, it will only apply the discount to the lowest value item in the cart.

Hi Mike,

Yes, Regios Discounts can do that. We have a new feature in early access that allows you to determine which order to apply discounts in;

  • In the order they appear in the cart (default)
  • Highest priced products first
  • Lowest priced products first

This will enable you to apply a discount to the single lowest priced item in the cart.

Once you have installed the app, just reach out via our support chat to ask for early access, and we will grant it to you.

Looking forward to helping you with this!

Best,

Tobe

Tobe,

I have already installed and I messaged in the app. Please let me know if
there is anything else I need to do.

1 Like

@colcord Shopify doesn’t offer a built-in way to limit a discount to just one item per order, but you can do this with Klip Coupons: Sales and Discounts. Here’s how to set it up:

1. Open the Klip Coupons app
Go to Apps in your Shopify admin and open Klip Coupons.

2. Click “Create Coupon”
Choose the “Product Discount” option.

3. Set your discount
Select either a percentage or fixed amount discount and enter the value you want (e.g., 20%).

4. Select which products this applies to
You can apply the discount to one or more products.

5. Set coupon limit per order
Scroll to the “Set coupon limit per order” option.
Enable it and set the value to 1.
This ensures that the discount only applies to one item in the cart, even if the customer adds more.

6. Save the coupon
Once saved, the coupon will appear on the product page. Customers can click it to apply the discount, and it will be limited to one item at checkout.

Why Klip is a better option than Shopify’s native discounts:
Shopify’s default discount system doesn’t allow for limits like “only one item per order,” and it doesn’t let you display discounts directly on product pages. Klip solves both problems—it gives you precise control over how the discount is applied and makes the offer clearly visible to customers before they add anything to their cart, which can help boost conversions.

By default, Shopify’s native discounts don’t give you full control over limiting a percentage discount to only one item within a specific collection in the way you described.

In your case, you want:

  • 20% off

  • Applied only to products in the “Whole Cake” collection

  • Applied to only one item in the cart (even if multiple cakes are added)

This is possible using our app Single Code Discount Swiftbee.

With our solution, you can create a discount that applies to specified products or collections and strictly limit it to a single item per order. So if a customer adds three cakes from the Whole Cake collection, the 20% discount will apply to only one cake, not all of them.