Only display price once variant has been selected? ($0 --> hidden until size chosen)

Highlighted
New Member
3 0 0

I followed the (very clear!) instructions on customizing my Narrative theme to prompt customers to make a size selection as some were mistakenly adding XS to their cart since it was default selection. https://shopify.dev/tutorials/customize-theme-how-to-add-a-pick-an-option-to-drop-downs

 

Now that I've done that, I'm not too pleased with the $0 price that shows until a variant is selected. Is there a simple line of javascript or code that can hide it until a variant is selected?

 

Thanks for any help you can provide!

0 Likes
Highlighted
New Member
3 0 0

Forgot to say, here's my product page if anyone wants it: https://kristmassweater.com/products/kristmas-sweater

0 Likes