stuffedhippo Posted July 8, 2014 Share Posted July 8, 2014 (edited) Just installed 1.6 for the fist time and thought that in the upgrade there maybe an option to show prices with AND without tax. No such luck!!!!!!! It is a major think on many website where if supplying to trade you MUST show both. Anyone had the sample problem and overcome it. It is easy on the product list template: {convertPrice price=$product.price_tax_exc} excl{convertPrice price=$product.price} inc But need help on the product template... Edited July 9, 2014 by stuffedhippo (see edit history) Link to comment Share on other sites More sharing options...
stuffedhippo Posted July 9, 2014 Author Share Posted July 9, 2014 Solver... In product.tpl file change line 267 to <span id="our_price_display" itemprop="price"> {convertPrice price=$productPrice}incl </span> <span id="our_price_display_excl" itemprop="price"> {convertPrice price=$product->getPrice(false, $smarty.const.NULL, $priceDisplayPrecision)}excl </span> Then in the product.js file add under line 667: $('#our_price_display_excl').text(formatCurrency(basePriceWithoutTax * currencyRate, currencyFormat, currencySign, currencyBlank)+'excl'); and under 674 $('#old_price_display_excl').text(formatCurrency(basePriceWithoutTax * currencyRate, currencyFormat, currencySign, currencyBlank)+'excl'); Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now