Can only buy a particular product when purchasing another

Topic summary

Goal: Make a specific product purchasable only when another product from the same brand is already in the cart. It’s a paid add-on, not a free promo.

Clarification: The condition is “item from the same brand is in cart,” not “previously purchased.” No need to handle past orders.

UI rule: The “Add to cart” CTA (call-to-action button) should be hidden until the cart contains an eligible same-brand item.

Proposed approach: Implement via custom theme code; preset Shopify promo/discount features don’t meet this use case.

Commercial aspect: Pricing and implementation details were moved to private channels (WhatsApp/email). No public quote or technical specifics were provided.

Status: Open/ongoing. Requirements are defined, but solution details and costs remain unresolved in the thread.

Summarized with AI on January 6. AI used: gpt-5.

I want to set a particular product up so that it can only be purchased when a different item if already purchased.

I want the customer to be able to pay for this item - it is not free more like an add on sale - therefore the preset promo options are not appropriate for what I need.

Is there a way for me to do this?

Many Thanks.

Hi @Lulu1922

What do you mean already purchased.

There are two cases as per your requirement.

  1. Another item is in cart

  2. Item is already purchased earlier.

Do you want to process both logic?

What about add to cart CTA will they be hidden if both logic not fulfilled?

Hello

It is just if something from the same brand is already in the cart. It is a product that can only be purchased alongside something else from the same brand.

And yes the add to cart cta should be ridden until this criteria is fulfilled.

Yes, we can accomplish this using custom code in the theme.

We can connect over the WhatsApp or email for more detailed discussion.

Details are in post footer.

How much do you charge for this?

Can connect over WhatsApp or private msg for this, Details are post the footer.