Regios Discounts logic flowchart for this discount

The request: “Buy any 2 plants or pots and receive 30% off both. Mix and match any combination of plants and pots at any price point. The discount applies to every qualifying pair in the same transaction (2, 4, 6, etc.).”

The logic below is the real discount our AI Discount Generator built and the merchant saved. The two collections are replaced with placeholders.

Why native Shopify discounts can’t do this

Shopify’s built-in amount-off discount can require a minimum quantity across a few collections, but once the minimum is met every eligible item is discounted. A customer who buys 3 gets 30% off all 3, not just the pair.

Buy X Get Y doesn’t fit either: it discounts the “get” items, not both items in the set.

And neither can require one from each collection, which is the other half of most mix-and-match requests we see.

How the logic works

  1. Count pairs across both collections. A Buy X step counts items from either collection in sets of 2. The customer can mix them however they like.
  2. Discount every item in a complete pair. Each item that’s part of a full set gets 30% off.
  3. Odd items stay full price. An unpaired item isn’t discounted until a partner is added.

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:

Buy any 2 items from the Plants or Pots collections and get 30% off both. Mix and match any combination. The discount applies to every pair (2, 4, 6 items).

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 “Mix and match pairs”.

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 2, set Any items from to Specific collections, and Browse to select both collections. Items from either one count toward the pair.

Step 7. On the Buy X step, click Then, choose Apply discount, keep Percentage, and enter 30.

Step 8. Click Done, then Save. To require one item from each collection instead, add two requirements of 1 each in step 6.

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 mix-collection-a and mix-collection-b to your collections.

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": "30% off mix-and-match pairs",
      "value": {
        "type": "PERCENTAGE",
        "percentage": "30"
      }
    },
    "type": "BUY_X",
    "otherwise": null,
    "requirements": [
      {
        "quantity": 2,
        "productEligibility": {
          "type": "SPECIFIC_COLLECTIONS",
          "asListOfIds": "mix-collection-a,mix-collection-b",
          "selectedCollections": []
        }
      }
    ],
    "disableCurrencyConversion": false
  }
}

Frequently asked questions

Does a third item get 30% off too?

No. Only complete pairs are discounted. Two items are both 30% off, three items are two at 30% off and one at full price, and four items are all 30% off.

Can I require one item from each collection?

Yes. Instead of one requirement covering both collections, add two requirements to the Buy X step: 1 from collection A and 1 from collection B. Then a pair only counts when it has one of each.

Can the bundle be a fixed total price instead of a percentage?

Yes. Change the discount value to a fixed price, for example 2 for $50. See our fixed price guide for the per-item version.

Can I mix more than two collections?

Yes. Add as many collections to the requirement as you like. Any item from any of them counts toward the set.