![]() |
Need a script to change "alter_currency_value.tpl"
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 |
you could edit the product.tpl and products.tpl files add hard code the text after the calls to prices
|
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:
<td class=PriceExVat>{include file="currency.tpl" value=$product.price}{$lng.lbl_excluding_vat}</td> |
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? |
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 |
All times are GMT -8. The time now is 06:48 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.