Author Topic: Show product prices (base) without tax until checkout?  (Read 1196 times)

elleclouds

  • Jr. Member
  • **
  • Posts: 69
Show product prices (base) without tax until checkout?
« on: March 06, 2014, 17:27:00 pm »
I have literally toiled over this for a month and can't come up with a solution. Some people say to comment out certain lines of code. Why isn't there just an option to show prices without tax until checkout. Please someone help me in figuring this issue out. I have been able to do it in the product details page by changing my tax to "tax per bill" but then on the news pro on front page and category listing, the prices disappear altogether. Please Help. :x



I just want the base prices to show here without taxes....please help

I have the most updated version of virtuemart 2.0.26d

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28300
  • Always on vacation
    • Jenkin Hill Internet
Re: Show product prices (base) without tax until checkout?
« Reply #1 on: March 06, 2014, 18:26:42 pm »
Sounds like the template overrides you are using do not include the code to display the  'priceWithoutTax'  - look at the override file  [yourjoomlatemplate]/html/com_virtuemart/category.default.php and compare it with the default VM view file at components/com_virtuemart/views/category/tmpl/default.php
The code is easy to spot as it shows the language constant, COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX

You may have to edit your override file to include the right code.

I have no idea what you mean by "the news pro on front page" (certainly it is not standard VirtueMart) but the code for that may need checking, too.
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.9.10473 on Joomla 3.9.28 PHP 7.4.14