jamesmediasauce Posted April 1, 2014 Share Posted April 1, 2014 How would i go about showing VAT prices on product pages, the product price inc vat and excl vat, I have all settings enabled in the backend but it still wont show up, im using a custom theme and prestashop 1.5.6.0 version. Thanks Link to comment Share on other sites More sharing options...
jamesmediasauce Posted April 1, 2014 Author Share Posted April 1, 2014 Problem solved, just added the following code into the product.tpl tax excl: {convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}tax incl: {convertPrice price=$productPrice} Link to comment Share on other sites More sharing options...
Ginno Posted April 1, 2014 Share Posted April 1, 2014 Problem solved, just added the following code into the product.tpl tax excl: {convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)} tax incl: {convertPrice price=$productPrice} Where in product.tpl Link to comment Share on other sites More sharing options...
jamesmediasauce Posted May 2, 2014 Author Share Posted May 2, 2014 Where in product.tpl <!-- hidden datas --> <p class="hidden"> <input type="hidden" name="token" value="{$static_token}" /> <input type="hidden" name="id_product" value="{$product->id|intval}" id="product_page_product_id" /> <input type="hidden" name="add" value="1" /> <input type="hidden" name="id_product_attribute" id="idCombination" value="" /> </p> <div class="product_attributes"> <div class="row-3"> VAT excl: {convertPrice price=$product->getPrice(false, $smarty.const.NULL, 2)}<br /> VAT incl: {convertPrice price=$productPrice} 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