I can't duplicate this behavior in my own dev site, but it's driving me absolutely mad. I have even copied the code for the Product Display Layout and pasted into the site I'm working on. The minute I delete BOTH instances of
The layout for the Related items loses the slider formatting. I can copy the code from the store and past it into my dev site and it works.
Could there be an issue with the javascript file that needs to be updated?
Code:
<mvt:if expr="l.settings:product:price GT 0"> <div id="js-price-value" class="h3 charcoal nm" data-base-price="&mvt:product:price;">&mvt:product:formatted_price;</div> <mvt:else> <div id="js-price-value" class="all-hidden" data-base-price="&mvt:product:price;"></div> </mvt:if> <mvt:if expr="l.settings:product:base_price GT l.settings:product:price"> <p>Normally: <s id="js-additional-price">&mvt:product:formatted_base_price;</s></p> </mvt:if> <div id="js-product-discounts"></div>
Could there be an issue with the javascript file that needs to be updated?
Comment