New Shopify Certification now available: Liquid Storefronts for Theme Developers

Can only buy a particular product when purchasing another

Lulu1922
Visitor
2 0 0

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.

Replies 3 (3)
gr_trading
Shopify Partner
1413 131 152

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?

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | YouTube Videos
To support Buy Me a Coffee
Lulu1922
Visitor
2 0 0
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.
gr_trading
Shopify Partner
1413 131 152

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.

For any custom development WhatsApp or connect at Email ID: gr.trading15@gmail.com for quick consultation. | YouTube Videos
To support Buy Me a Coffee