I want to add variants and sub-variants to a single product in Shopify, where each main variant has its own unique set of sub-variants.
For example:
Main Variants: Oppo, Vivo, Realme
Sub-Variants:
Oppo → A31, F17, F29
Vivo → V40, V50, V50 Pro
Realme → GT 6T, GT 7T
When a customer selects a main variant (e.g., Oppo), only the relevant sub-variants (like A31, F17, F29) should be displayed.
To do that, you’ll want to set two product options, probably “brand” and “model”. Then for the “brand” choices, you can make variants that are oppo, vivo, and realme. For the “model” choices, put all of the sub-variants. Then, only keep the variants that you actually want, so that you’re not offering Oppo GT or other combinations that don’t exist.
A better solution might be to let them be their own products since those are all separate products, and then you could organize them into collections and sub-collections. You could have a phones collection that would show all of them, a Realme collection that only shows those variants, etc.
But if you prefer to keep it all on one product, options will work. Here’s Shopify’s help page about it:
https://help.shopify.com/en/manual/products/variants/add-variants#add-options-to-an-existing-product
Hello there @Saisurya I recommend that you have a look at this explanation article from the official Shopify site that covers pretty much everything you need to know about this https://help.shopify.com/en/manual/products/variants/add-variants
So basically you can pretty much follow what @emilyons mentions of creating two different options, brand and model.
We can then with code listen for click events on the brand options and display only the models that correspond with the brand.
Hi @Saisurya
You can achieve this setup using the Easify Product Options app. It allows you to create main options like “Oppo”, “Vivo”, and “Realme”, and then show sub-options like phone models based on the selected brand using conditional logic. It’s easy to set up and doesn’t require any coding! Here’s how it works:
To make sure Oppo models only show up when customers choose Oppo brand, use Conditional Logic in the Advanced Settings like this:
You’ll find this app easy to use, so I hope you give it a try. If you need assistance, just let me know or reach out to Easify 
Previously, I used Easify, but I’m not able to link my Shopify inventory to the Easify app. Could you please tell me any easy way to link inventory to the Easify app in the free plan?
Hi @Saisurya
Thank you for your reply! If you need help with inventory management, we can definitely support you.
Since setups can vary depending on how your store is configured, the best way to get accurate help is to reach out to Easify’s live chat.
We’ll take a closer look at your case and guide you through the right steps. 
Hello Saisurya
I hope you are doing well. Since you want to add variants and sub-variants to a single product in Shopify, you can try the Inkybay – Product Personalizer app.
By using Inkybay’s Product Option feature, you can easily create options for the main variants (Oppo, Vivo, Realme) and create child options for the relevant sub-variants (like A31, F17, F29) you mentioned. You can showcase your product’s variant and sub-variant options in different ways like swatch, radio buttons, drop downs, checkboxes etc.
Here is the result:
No coding is required, and the product option setup is simple. All selected option details will be available in the order file generated by Inkybay. You can try the free 21-day trial and see how it works for your product.
If you want, we will be happy to share a demo product with you.