Hello,
I want to hide the Tax value on VM. On the checkout page, the name of my tax rule is shown and underneath the value is shown and i dont want it to show. When i hide it from the configuration->Pricing, It disappears from the table but again it shows on the table below after the total is shown with the label: Tax includes: Tax: 2.5% and amount. I want it totally gone.
How can i achieve that.
Thanks
adapt your \templates\your_template\html\com_virtuemart\cart\default_pricelist.php to suit your requirements
Thanks but there is no such folder on my directory
\templates\your_template\html\com_virtuemart\cart\default_pricelist.php
what i have is
\templates\your_template\html\com_virtuemart\category\default.php
\templates\your_template\html\com_virtuemart\productdetails\default.php
\templates\your_template\html\com_virtuemart\sublayout\addtocartbtn.php
\templates\your_template\html\com_virtuemart\sublayout\categories.php
\templates\your_template\html\com_virtuemart\sublayout\products.php
\templates\your_template\html\com_virtuemart\sublayout\rating.php
To GJC:
Thanks :)
To funkyfela:
1. First You must learn how function Joomla and MVC and override - find on Joomla doc
2. Copy this file from virtuemart to your template and then edit
To pinochico:
It seems you do not understand what i mean? I cant find the folder: cart\default_pricelist.php
at least i can read and if i see the folder i will know that its the folder/file before overriding.
i have searched all over, maybe my template has a different name for it
@funkyfela
It is actually You that do not understand the override mechanism in Joomla. Not all files and folders have to be overridden in a custom template.
If the file is not there You will have to create an override for the cart in Your_template. See Joomla documentation if GJC directions are not enough for You to understand. GJC has given a correct file path for You to use.
Jörgen @ Kreativ Fotografi
If you don't already have an override for that file then you will find the default (original file) in components/com_virtuemart/views/cart/tmpl/
Download default_pricelist.php and edit it to your requirements. Then create the directory \templates\your_template\html\com_virtuemart\cart\ and upload your edited file. This will then override the default template and will not be overwritten when VirtueMart is upgraded.
Edit: Jörgen just beat me!
Thank you all for your contributions.
@jenkinhill your directive was much easier for me to understand. I have done the override. I guess i will need to study more on the override.
Thanks all