Show options based on the product variant

Shopify Partner
40 0 4

Hi Community,


I have a product on my website which has 2 variants named Pack of 30 and Pack of 60. 

What I want to implement is, when a customer selects pack of 30, he can further select options like: 


1. Pack of 1 (30 Capsules) 

2. Pack of 2 (30 Capsules) 

3. Pack of 3 (30 Capsules) 


And same when he selects pack of 60 variant. However I only want to show the options for the variant selected, not all of them together. 


How can I implement this on my website? 

Heres the link to the product page:




Replies 3 (3)

Shopify Staff
1716 243 213

Hi @Aliasgar,


Thank you for reaching out to the Community! I'm happy to provide some assistance with creating variants and bundles for customers, to ensure this gets resolved. To get started, I recommend checking out the Shopify App Store for a list of available apps that will allow you to achieve this. For ease, I've gone ahead and suggested a few below you can look into: 



Alternatively, I recommend looking into hiring one of our Shopify Experts. These are trusted third-party agencies or freelancers that offer various services to help build your business. For more information, you can check out our Expert Marketplace


Please let me know if you have any other concerns. 

Blair | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Shopify Partner
40 0 4

Hi Blair, thanks for replying.

I don't want to spend money on apps to achieve this. There must be a way I can do this via liquid code. That would be much more helpful.


Shopify Partner
582 14 38

Hi @Aliasgar,

I understand your hesitation about using an app, but I have great news for you! The feature you need to set up dependencies between your options (conditional logic) is available in the Free version of the Easify Product Options app. So, there's no need to worry about spending any money – you can try it out at no cost 😊!


Allow me to demonstrate how you can set up your options, including conditional logic, using this app:

  • Create an option to choose between "Pack of 30" and "Pack of 60"



  • Create additional options that will be shown when customers select "Pack of 30". Set up the conditional logic so that these options are displayed only when "Pack of 30" is selected.





  • Similarly, create additional options that will be shown when customers select "Pack of 60". Set up the conditional logic so that these options are displayed only when "Pack of 60" is selected.





By following these steps, you can easily set up your options and implement the conditional logic exactly as you want using the Easify Product Options app. It's a user-friendly solution that will save you time and effort 🤗.

Easify Product Options: Create custom product options 10X faster & easier!
Easify Product Attachments: Effortlessly add downloadable PDF files (or any other format) to Shopify pages!
Try for Free | 24/7 Live Chat Support