Hide Price until Variants have been chosen

Tourist
8 1 0

I have implemented the "Pick and Option" tutorial and it worked beautifully...except I would like to HIDE the price until the options have been chosen because my customers get confused when the price changes. I have seen many topics asking to turn the price ON, but I want it OFF!

 

I used these tutorials (although they look identical):

https://help.shopify.com/en/themes/customization/products/variants/show-featured-image-on-product-pa...

https://help.shopify.com/en/themes/customization/products/variants/how-to-add-a-pick-an-option-to-dr...

 

My theme is Minimal.

 

Thanks for any help!

 

0 Likes
Shopify Expert
2166 362 450

Hi @Elizabeth_Gill1 

If you want to hide price on collection page then you can by following:

Open Section->product-template.liquid and find  'product-single__prices' and hide it by css (display:none;)

 Now you have to to make it show on change of variants (Find in asset->theme.js find for 'onVariantSelected: selectCallback') and make visible on this function.

 

Want to modify or custom changes on store hire me.
If helpful then please Like and Accept Solution.
Email: jasoliyabrijesh123@gmail.com
Skype: jasoliya.brijesh
Want to get Free review and advice for sale on store ?? just text me here
0 Likes