| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Show VAT Exempt | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi, I have tried to edit the products.tpl to show '(VAT Exempt)' on items that don't have VAT. I tried changing this
{if $products[product].taxes} <br /> <div class="PListTaxBox">{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}</div> {/if} to {if $products[product].taxes} <br /> <div class="PListTaxBox">{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}</div> {else} (VAT Exempt) {/if} it didn't work, I tried a couple of other things but decided I didn't understand exactly what is going on. Any help appreciated.
__________________
X-Cart 4.1.8 |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
Quote:
Try used field "taxed_price" |
|||||||||
|
#3
|
|||||||
|
|||||||
|
Hi Yurij, thanks for the reply, I tried this
{if $products[product].taxes} <br /> <div class="PListTaxBox">{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}</div> {if $products[product].taxed_price eq "0"} (VAT Exempt) {/if} {/if} but it did not show anything, I tried a few other variations but none would show, am I getting it wrong?
__________________
X-Cart 4.1.8 |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||