just444 Posted March 31, 2014 Share Posted March 31, 2014 Hi There, I would like to display tax labels on the product and product list pages (tax excluded) and I am not sure how to do it. I have this option enabled in Localization/Countries but it still doesn't display. Ideally I would like to simply add this text next to the price: PLUS VAT in both product.tpl and product-list.tpl. Anyone knows? Thanks Link to comment Share on other sites More sharing options...
vekia Posted March 31, 2014 Share Posted March 31, 2014 hello you just want to add there simple text "PLUS VAT", nothing more? (like tax value etc.?) Link to comment Share on other sites More sharing options...
just444 Posted March 31, 2014 Author Share Posted March 31, 2014 yep, simple text right beside the price Link to comment Share on other sites More sharing options...
vekia Posted April 1, 2014 Share Posted April 1, 2014 ok, so modification will be simple. in fact everything depends on ps version that you use (and template too) so, open product-list.tpl and for example, below the: {if isset($product.new) && $product.new == 1}<span class="new">{l s='New'}</span>{/if} add: <span class="plusvat">{l s='plus vat'}</span> and in global.css paste this: .plusvat { padding: 2px 5px; display: block; background: green; text-align: center; color: #FFF; text-transform: uppercase; font-weight: bold; width: 55px; font-size: 10px; top: 0px; left: 0px; position: absolute; } effect: you can of course change position of the "plus vat" label, for example place it near price etc. Link to comment Share on other sites More sharing options...
just444 Posted April 2, 2014 Author Share Posted April 2, 2014 Thanks vekia this is more than I expected Great solution for any labeling requirement but I was thinking of something even simpler like adding a text after the price so the price on the product page and product list page looks like this for example: £ 740.00 PLUS VAT Link to comment Share on other sites More sharing options...
just444 Posted April 4, 2014 Author Share Posted April 4, 2014 Anyone? Please. For some reason standard Tax included/excluded labels won't work for me. Simple text after the price. Link to comment Share on other sites More sharing options...
Recommended Posts