mivaecommerce / levels-readytheme

Repo for Levels ReadyTheme
1 stars 0 forks source link

Base price always showed as crossed out #25

Closed tessguefen closed 8 years ago

tessguefen commented 8 years ago

If the product wasn't on sale, it still showed it as crossed out.

tessguefen commented 8 years ago

TO FIX PROD > Product Display Layout Find this:

<s id="js-additional-price" class="product-additional-price">&mvt:product:formatted_base_price;</s><span id="js-price-value" class="product-price" data-base-price="&mvt:product:price;">&mvt:product:formatted_price;</span>

CHANGE TO:

<mvt:if expr="l.settings:product:base_price GT l.settings:product:price">
                <s id="js-additional-price" class="product-additional-price">&mvt:product:formatted_base_price;</s>
</mvt:if>
<span id="js-price-value" class="product-price" data-base-price="&mvt:product:price;">&mvt:product:formatted_price;</span>

Same for PROD > Content (product_quick_view)

jigmcgalliger commented 7 years ago

Affects the current version of DiVino ReadyTheme as well.

influxweb commented 7 years ago

Thanks for the heads up @jigmcgalliger . The ReadyTheme has been updated and will be available in a future release.