Regios Discounts logic flowchart for this discount

The request: “If someone buys 4 items from this collection, make them $25 each.” Variations on this show up constantly: “10 for $10 each,” “2 for $40,” and per-variant price lists.

The logic below is the real discount a merchant saved from our AI Discount Generator. Only the collection has been replaced.

Why native Shopify discounts can’t do this

Shopify’s discount types are percentage off, fixed amount off, Buy X Get Y, and free shipping. None of them say “this item now costs $25.” An amount-off discount gives the same dollars off every item, so a $40 item and a $30 item end up at different prices. To land everything on $25 you’d need one discount per price point.

Shopify’s B2B catalogs and Markets price lists can set fixed prices, but not “only when the customer buys 4.”

How the logic works

  1. Count sets of 4. A Buy X step counts eligible items from the collection in groups of 4.
  2. Set each item in a complete set to $25. The value type is fixed price, applied per eligible item, not once per order.
  3. Leftovers stay full price. Items that don’t complete a set of 4 aren’t discounted.

Build it with the AI Discount Generator

The fastest way. On the Regios Discounts home page, click Create discount and paste this prompt into the AI box, swapping in your own collection, product, and brand names:

For every 4 items a customer buys from the Tees collection, make those 4 items $25 each. Items that don’t complete a set of 4 stay full price.

We ran this exact prompt through the generator, and it builds the same logic as the JSON below. Review the steps it creates, link your own products or collections, and save.

Build it from scratch in the app

Step 1. Install Regios Discounts and open it. On the home page, click Create discount.

Step 2. Under Prefer not to use AI?, click Start from scratch.

Step 3. Choose Amount off product.

Step 4. Under How will customers get this discount?, choose Automatically. Give it a title, such as “4 tees at $25 each”.

Step 5. Scroll to Discount steps and click Review discount steps. In the dialog, pick Start from scratch and click Next. You’ll see a Discount type box with a Then button.

Step 6. Click Then and choose Buy X. Click Add requirement, set the quantity to 4, set Any items from to Specific collections, and Browse to your collection.

Step 7. On the Buy X step, click Then and choose Apply discount. Set Discount type to Fixed price and Set price to 25.

Step 8. Leave Only apply discount once per order unticked, so every item in every set of 4 gets the $25 price.

Step 9. Click Done, then Save. A fifth item stays full price until the customer adds three more.

Or import the logic

Prefer to skip the clicking? Create the discount as in steps 1 to 4 above, then click Logic at the top of the discount form, choose Import, and use the JSON below. The JSON import guide walks through each screen. Link eligible-collection to your collection, and change 4 and 25 to match your offer.

Install now

Ready-to-import discount logic

Copy the JSON below into Regios Discounts using the import flow, or download this file. Step-by-step: how to import discounts from JSON files (home screen, Logic > Import, choosing discount type, linking missing resources, and saving).

Want to describe what you need in plain language instead? Our AI Discount Generator covers prompts, iterating on results, linking products/collections when the app asks, and using or exporting the logic.

{
  "id": "<root>",
  "type": "ROOT",
  "entryPoint": {
    "id": "buy-x-0",
    "then": {
      "id": "apply-discount-0",
      "type": "APPLY_DISCOUNT",
      "title": "4 for $25 each",
      "value": {
        "type": "FIXED_PRICE",
        "price": "25",
        "appliesTo": "ELIGIBLE_LINE_ITEMS",
        "disableCurrencyConversion": false,
        "onlyApplyDiscountOncePerOrder": false
      }
    },
    "type": "BUY_X",
    "otherwise": null,
    "requirements": [
      {
        "quantity": 4,
        "productEligibility": {
          "type": "SPECIFIC_COLLECTIONS",
          "asListOfIds": "eligible-collection",
          "selectedCollections": []
        }
      }
    ],
    "disableCurrencyConversion": false
  }
}

Frequently asked questions

What happens to a fifth item?

It’s full price. The discount works in complete sets of 4, so 4 items are $25 each, 5 items are four at $25 plus one at full price, and 8 items are all $25.

Can I do "10 for $10 each" or "2 for $40"?

Yes. Change the set size and the price. For “10 for $10 each,” set the quantity to 10 and the price to 10. For “2 for $40” total, set the price to 20 each, or use a fixed price for the whole set instead of per item.

Can different variants have different fixed prices?

Yes. Add one branch per variant (or per product), each with its own fixed price. Merchants use this for price lists, for example a different price on each size.

What if an item already costs less than $25?

A fixed price never raises a price. Items already below $25 stay at their own price.