| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need a script to change "alter_currency_value.tpl" | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am trying to change the alter_currency_value.tpl to show price including VAT and Delivery.
At the moment, the price is displayed as follows (example): бё895.98, 17.5% I would like the price to display as follows: бё895.98 incl. VAT & Delivery I have spoken to Qualiteam on this and the response I got was to delete the alter_currency_value.tpl and replace it with the text: including VAT & Delivery. Whilst this works, the problem is when you view the cart, all the prices (Subtotal, Discount, 17.5%, Shipping) have "including VAT & Delivery" after them! If anyone has got a script they can paste over to me I would be eternally grateful Don Campbell www.freshKIT.co.uk |
|||||||
#2
|
|||||||||
|
|||||||||
![]() you could edit the product.tpl and products.tpl files add hard code the text after the calls to prices
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#3
|
|||||||
|
|||||||
![]() I think what you have done is to change every instance to have incl. VAT & Delivery.
What I did in my own system was to remove the alter_currency_value.tpl within products.tpl, product_t.tpl and product.tpl files and added database labels for the incl.Vat. It then shouldn't effect the cart pages. I had to customise the way xcart displayed VAT for my xcart, I now show the price exclusive of vat then beside it in less bold font, the price including vat. using the command lines below: Code:
|
|||||||
#4
|
|||||||
|
|||||||
![]() Thanks, so far..!
Could you tell a newbie how to put the code in for that? I like the sound of being able to display ex and incl. VAT prices, where do I paste the code and which templates do I edit, please? |
|||||||
#5
|
|||||||
|
|||||||
![]() OK, I followed the post but didn't alter the code as I couldn't suss out how (possibly lack of intelligence) to do it.
When I found & deleted the entries in product, products and product_t.tpl, it did indeed get rid of the ,17.5% I did however have to tinker around in cart_details and cart_totals.tpl to line up the rest of the cart with the new appearance. Thanks for your time, much appreciated
__________________
Best regards, Donavichi. - - - Website Copywriting || Web Design || FAQs || Home & Garden Blog |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|