Working with Varients

Working with Varients

sryashm
Visitor
1 0 0

Hi,

 

I have two variants that are size and specification. 

 

Size - 1kg, 1.5kg, 2kg & 25kg 

Specification - 7mm,8mm,9mm

 

I want to add the specification variant only to the 25kg size and not the rest. How do I do this? 

 

Currently, the specification variant is added to all the other sizes, and if I try deleting the specification variant from the other sizes, it deletes the whole size variant with it. 

 

 

Replies 2 (2)

Shadab_dev
Shopify Partner
1523 81 166

Sometimes there are ways that these stuffs can be done manually but I am not too knowledgeable on Shopify to set things up manually and also because I am a small scale developer and I go the coding way.

 

What comes to my mind is we can hide the specifications options when other sizes are selected and display the specifications options only when 2.5 kg size is selected with a bit of liquid programming and css.

 

Please reach out via personal links below for a convenient conversation and collaboration.

 

Best

Shadab

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.

Easify-Jolie
Shopify Partner
307 11 27

Hi @sryashm 

I recommend using Easify Product Options to set the "Specification" variant only for the 25kg size without applying it to the smaller sizes. This app allows you to create flexible product options without being restricted by default variant settings. Plus, it offers a free plan to help you get started. Here's how it works:

  • This is the result:

EasifyJolie_4-1740558635715.png

 

  • This is the app setting:

EasifyJolie_1-1740558463854.png

 

To make sure Specification only show up when size 25 kg variant is selected, go to Advanced Settings, and set Conditional Logic like this:

EasifyJolie_2-1740558550255.png

 

Easify is a hassle-free solution, and I think you’ll love it. Reach out to Easify if you need any help with the setup! 🤗

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support