| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How To Display Price Including and Excluding VAT | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi All
I want my prices to show both including and excluding VAT, but don't want the calculation. I've added this code at the end of my taxed_price.tpl file:- Code:
I works how i wanted but it shows net price, not taxed price. Am I trying to pass the wrong Variable? Is there a list anywhere of what variables are available in X-Cart to play with? Any help would be very much appreciated Thanks Dave |
|||||||
#2
|
|||||||
|
|||||||
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I've altered the debug console to show variables.
I'm sure this will be very usefull, when i know smarty a little better. My featured product array is as follows:- Code:
As you can see above I've got 2 variables both named taxed_price. The code I've typed is obviously referencing the first one. How do I reference the second? I thought altering this:- Code:
Code:
Any Ideas???? Thanks Dave |
|||||||
#4
|
|||||||
|
|||||||
![]() I've now got this displaying the correct info everywhere except the product detail itself.
It works on featured products, in my category pages and even the shopping cart, just not the products detail page, which shows the price including VAT as 0. I really dont understand it! Someone please help! My final taxed_price.tpl looks as follows:- Code:
To see for yourself the URL is http://www.lasafety.co.uk/xcart |
|||||||
#5
|
|||||||
|
|||||||
![]() Hi,
Checked your site, looks like everything is working. I am trying to display the taxed price only, how would I go about doing that? Zaid www.nikkoe.com |
|||||||
#6
|
|||||||
|
|||||||
![]() 1. Login as admin
2. Open General settings page and activate "When a customer isn't logged in, it is presumed that he is from the default country" option. After you have activated the option all anonymous users (before they log in order enter registration information) will see prices for UK location (with taxes value). 3. Open the VAT 17.5 tax page at http://nikkoe.com/xcart/admin/taxes.php?taxid=1, tick "Display product price including tax" option and save the changes. Now you customer will see prices including tax rate. |
|||||||
#7
|
|||||||||
|
|||||||||
![]() Hi,
Its a very old post but i will be grateful if any one could reply to this vat issue i have copied all the code now the vat is showing properly on product list page but it shows 00.00 in product details page. Any help PLEASE Thanks
__________________
X-Cart Gold 4.3.2 X-Cart Gold 4.4.1 Unix High Quality CCTV DVRs & Cameras http://www.eaglemobiles.co.uk/CCTV |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() An oldish thread, but maybe useful to some people.
If you wish to do the same thing on the product page - this is one answer. Duplicate the taxed_price.tpl template that is shown earlier, e.g call it taxed_price_p.tpl and in the else line, change the value to this: value=$product.taxes then edit the product.tpl file and call this new file, instead of the original.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#9
|
|||||||
|
|||||||
![]() v4.5.2 - I am trying to display product prices as follows:
Ex VAT Price (larger font) Vat amount Inc VAT Price I know this is an old thread but any assistance appreciated Regards
__________________
X-cart 4.4.3 |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Try using:
{currency value=$product.price}, {currency value=$product.taxed_price}
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|