What's your biggest current challenge? Have your say in Community Polls along the right column.

Re: I want to display a message- if variant option = "select" when clicking on Add to Car

I want to display a message- if variant option = "select" when clicking on Add to Cart

CountryGirl1
Tourist
4 0 4

I need to know what code is needed and where to put the code for the following:

 

I'm using the Shopify Craft theme.  I have setup a variant for size and formula for my product.

Size Variant options:  Select, 1 .5 oz, and 1.7 oz

Formula Variant options:  Cedarwood, Rosemary, Tea Tree

"Select" is the default for both variants to ensure a proper selection is made

When "Select" is dispayed and the Add to Cart is selected, I want a message to pop up that says "Please select a size/formula before adding item to the cart".

Reply 1 (1)

KetanKumar
Shopify Partner
37442 3664 12119

@CountryGirl1 

Sorry you are facing this issue,
it would be my pleasure to help you.
Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing