After spending hours on this situation, I humbly ask for help. Owner wants a "select one" dropdown for variants. Some have a base price of 0 and the variant price is set by the inventory product. I have been unsuccessful in writing a conditional to hide the $0.00 base price until a variant is selected. I understand that setting an attribute as a default solves this however, the owner wants the "select one". Listed below is the current code for the pricing display
<div id="js-price-value" class="h3 charcoal nm" data-base-price="&mvt:product:price;">&mvt:product:formatted _price;</div>
Any help or direction is appreciated.
<div id="js-price-value" class="h3 charcoal nm" data-base-price="&mvt:product:price;">&mvt:product:formatted _price;</div>
Any help or direction is appreciated.
Comment