Is there a way to have "excl. vat" next to each price in the shop?
If coding etc needs to be changed or added, I'm happy to do it, just let me know which files needs to be changed and what code needs to be added :)
Language Overrides.
Hi Maxim,
Thank you for your response.
Could you please explain what to write in the overrides in order to make this work?
I am not hugely familiar with the language overrides and only discovered it a month or 2 back :)
URL?
See this FAQ for language overrides: http://forum.virtuemart.net/index.php?topic=113895.0
You could edit template override for product details prices.
Hi Maxim
Could you tell me what needs to be written in the Language Constant area for the override?
I presume that the block below that needs to say "excluding vat"?
I tried the following:
Language Constant: COM_VIRTUEMART_PRODUCT_PRICE
Text: excl. vat
Didn't work.
Language Constant: COM_VIRTUEMART_PRODUCT_DETAILS_PRICE
Text: excl. vat
Didn't work.
So really not sure what else I can put in there?
I really hope you can assist.
It might be beneficial for me to give you a full picture view of what I am wanting to achieve.
Untitled1 - shows a category view, and where I would like the "excl. vat" to appear.
Untitled2 - shows a product view, where I need the 2 different prices removed, but the main price to be displayed without vat.
The checkout process should still include the vat per item.
I really do hope that you can assist. I haven't been able to find a VM developer who is knowledgeable enough to trust this to.
[attachment cleanup by admin]
Quote from: Maxim Pishnyak on November 13, 2013, 18:36:34 PM
You could edit template override for product details prices.
Did you have mentioned file? You need to look into it.
Hi Maxim,
As per the post I made earlier:
I tried the following:
Language Constant: COM_VIRTUEMART_PRODUCT_PRICE
Text: excl. vat
Didn't work.
Language Constant: COM_VIRTUEMART_PRODUCT_DETAILS_PRICE
Text: excl. vat
Didn't work.
So really not sure what else I can put in there?
I really hope you can assist.
COM_VIRTUEMART_PRODUCT_PRICE is a backend (admin) variable, not frontend. COM_VIRTUEMART_PRODUCT_DETAILS_PRICE does not exist as a variable at all (in VM2.0.24)
See the FE variables to override in the template, components/com_virtuemart/views/productdetails/tmpl/default_showprices.php
Quote from: jenkinhill on November 14, 2013, 15:18:54 PM
See the FE variables to override in the template, components/com_virtuemart/views/productdetails/tmpl/default_showprices.php
Study template override technique from appreciative forum section, official tutorial.
I will try to look over these variables AGAIN to see if I can understand them.
However, it still doesn't tell me how I can show the price that excludes vat in the shop, and then add the vat when checking out.
Can you tell me how to do that? I couldn't find anything like that in the user manual, and I have never had to do that before in other stores created.
Guys, I am prepared to pay someone to help me with this problem. I REALLY need this resolved for my client.
I am NOT winning, and the client needs this site up and live ASAP.
Please please please tell me what I need to do to get this working, or let me PM you my details and I will pay you to do it for me.
I am honestly desperate now.