Author Topic: Hide Tax Value  (Read 367 times)

funkyfela

  • Beginner
  • *
  • Posts: 5
  • A beginner
Hide Tax Value
« on: October 29, 2020, 15:41:13 pm »
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


GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9901
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Hide Tax Value
« Reply #1 on: October 29, 2020, 18:12:10 pm »
adapt your  \templates\your_template\html\com_virtuemart\cart\default_pricelist.php to suit your requirements
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

funkyfela

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Hide Tax Value
« Reply #2 on: October 29, 2020, 21:09:00 pm »
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

pinochico

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 812
    • MiniJoomla
  • Skype Name: support-easysoftware
  • VirtueMart Version: 3
Re: Hide Tax Value
« Reply #3 on: October 29, 2020, 21:19:23 pm »
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

www.minijoomla.org  - new portal for Joomla!, Virtuemart and other extensions
XML Easy Feeder - feeds from products, orders and database table
Virtuemart Email Manager - customs email templates

funkyfela

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Hide Tax Value
« Reply #4 on: October 30, 2020, 10:41:26 am »
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

Jörgen

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3136
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Hide Tax Value
« Reply #5 on: October 30, 2020, 11:03:37 am »
@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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27950
  • Always on vacation
    • Jenkin Hill Internet
Re: Hide Tax Value
« Reply #6 on: October 30, 2020, 11:09:52 am »
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!
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.7 10374 on Joomla 3.9.23 PHP 7.4.12

funkyfela

  • Beginner
  • *
  • Posts: 5
  • A beginner
Re: Hide Tax Value
« Reply #7 on: October 31, 2020, 07:57:49 am »
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