Jump to content

How to display TAX labels in product page and product list page?


Recommended Posts

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

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:
vTnF7xn.png

 

 

 

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

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

×
×
  • Create New...