How to Add Two Different Variant Options to Products with API Support?

How to Add Two Different Variant Options to Products with API Support?

BouDev
Visitor
1 0 0

Hi everyone,

I’m trying to add two different variant options to my products on Shopify:

  1. The first option should be a Pills variant (like buttons).
  2. The second option should be a Drop-down List.

However, Shopify only allows me to set a single variant style for both options—either both as Pills or both as Drop-down. I need them to be different, with one as Pills and the other as a Drop-down.

I understand there are apps available that offer this feature, but the apps I’ve found don’t provide API access. I need API access so I can call the variants in my mobile application, displaying one as Pills and the other as a Drop-down List.

Does anyone know of a solution (maybe through custom coding, API, or a specific app) that can help me achieve this?

Reply 1 (1)

Shadab_dev
Shopify Partner
1324 66 148

I haven't done something like this yet to be honest but worth a try. We can change the liquid schema as such to select one or just for your project show both on selection of one. So there are possiblities. 

 

This will need a lookup though. Please reach out via mail for a convenient conversation.

 

Thanks

Buy me Coffee, if you feel i was helpful. Email Me here or WhatsApp me with this link for any help with shopify theme customizations or any project in web dev. If this is helpful, please Like and Accept the solution.