Articles on: Regios Discounts

Quantity Input

Screenshot of the "Quantity" input on a percentage discount


In many cases, you'll need control over the exact number of items a discount should apply to. You can do this by setting the "Quantity" of a discount to one of the following:

  • Zero
  • A positive number
  • A negative number


You can find the "Quantity" input in the "Advanced options" when creating an "Apply discount" step in our advanced logic builder.


By default, discounts will apply to all eligible items (in other words, all items that meet the requirements of a given logic chain. More info here).


Quantity options

Apply to all eligible items

Screenshot of the "Quantity" input with a value of 0


If the quantity is 0 or unset, the discount will apply to all eligible items. For example, if you have a "Check if" step that includes only products in a specific collection, and an "Apply discount" with a quantity of 0, then all products in that collection will receive that discount.


This is the default.


Apply to a specific number of items

Screenshot of the "Quantity" input with a value of 2


If the quantity is set to a positive number, the discount will apply to only that number of eligible items. For example, if you have a "Buy 3, Get 2" discount, you can set the "Quantity" to 2 to make sure only a maximum of 2 items get the discount.


Apply to all except the last N items

Screenshot of the "Quantity" input with a value of -2


If the quantity is set to a negative number, our app will:

  1. Compute the absolute value of that number (for example, if you entered -2, this would be 2)
  2. Subtract that number from the total quantity of eligible items
  3. Only apply the discount to that number of items


For example, if 10 items are eligible for your discount, but the quantity is -4, then only 6 items will receive the discount.


Your Feedback Matters

As a solo founder, your experience is crucial to me. Could you spare a moment to share your thoughts? Please leave a review on the Shopify App Store. Thank you for helping me improve!

Updated on: 03/11/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!