I am trying to swap position of regular price and special price on product page.
My manager want to show regular price with line through and special price after that.
I am trying to swap position of regular price and special price on product page.
My manager want to show regular price with line through and special price after that.
In asset theme.js.liquid find
customPriceFormat = ' <span aria-hidden="true">' + customPrice + '</span>
customPriceFormat += ' <span aria-hidden="true"><s>' + comparePrice + '</s></span>';
and swap position like below
customPriceFormat = ' <span aria-hidden="true"><s>' + comparePrice + '</s></span>';
customPriceFormat += ' <span aria-hidden="true" class="sale-price">' + customPrice + '</span>';