A percentage discount that stops at a quantity you choose. Shopify's built-in discounts have no cap on quantity, so if a customer buys 100 items, all 100 are discounted. This type stops at "up to N items."

Example: 50% off, up to 5 items

How to create one

  1. In the Shopify admin, go to Discounts and click Create discount.
  2. Choose Amount off products with quantity limits.
  3. Under Method, choose Discount code or Automatic discount. For a discount code, enter the code here.
  4. In the Value card, enter the Discount percentage and the Maximum quantity. Leave Minimum quantity empty for no lower bound — the discount then starts from the first item. To specify a range such as "from 3 to 5 items," enter 3 as the minimum and 5 as the maximum. To leave expensive items out, check Only discount items at or below a price and enter the Maximum price per item — items priced above it are not discounted.
  5. In the same Value card, under Applies to, choose Specific collections or Specific products and add the items to discount. Products can also be selected variant by variant.
  6. In the same Value card, choose an Applicable method. This changes which items in the cart receive the discount (see below).
  7. Click Save.

What you can configure

Card What it does
Method Discount code / Automatic discount
Value Discount percentage, minimum and maximum quantity, maximum price per item, the items to discount (collections, products, variants), purchase type, applicable method
How to handle items already on sale Don't apply / Stack on top of the sale price / Calculate from the compare-at price
Point of sale (POS) All channels / Not at point of sale / Only at point of sale
Minimum purchase requirements Apply only when a minimum amount or quantity is met
Customer eligibility All customers / specific customers / segments / tags / all customers except those tags / specific markets
Maximum discount uses Usage limits (shown only for discount codes)
Recurring payments for subscriptions First payment only / a set number of payments / all payments
Combinations Whether this discount combines with others
Active dates Start and end dates
Configuration size How much of Shopify's configuration capacity this discount uses

The applicable methods

This setting decides how the maximum quantity is spread across the items in the cart. There are six options.

The fastest way to see what each option does is a table of products, unit prices and quantities. Worked examples for all six options — including what happens when the cart contains items that are not eligible, and when the allowance runs out partway through a line — are collected here.

Discount Specifications — Amount off products with quantity limits

Things to watch for