Create a purchase dependency on a product that requries anoth products previous purchase.

Create a purchase dependency on a product that requries anoth products previous purchase.

kstroker
Visitor
1 0 0

I need the ability to block an upgrade product purchase until the base product has been purchased. For example, we have a bronze, silver, and gold version of a product, and users may purchase upgrades between the packages. I need to be able to block the purchase of upgrade products unless another product(s) have been purchased already in a previous transaction.

Reply 1 (1)

gr_trading
Shopify Partner
1948 145 204

Hi @kstroker 

 

Yes, this can be achieved via custom coding in the theme.

 

We just need to iterate the whole order list of user and check if he has lower level or order in transactions, if order not found.

 

We can hide the buy buttons from page and display msg of not available for upgrade.

 

Hope this will help...

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