Author Topic: [solved]Can't locate script responsible for showing prices  (Read 301 times)


  • Beginner
  • *
  • Posts: 7
[solved]Can't locate script responsible for showing prices
« on: June 18, 2018, 13:31:09 pm »
My Virtuemart version is 3.2.2.

I have found on this forum that prices are shown by these files/scripts:

But O don't have these files: default_showprices.php
in above locations.

What can be responsible for showing prices? I checked prices.php and <div> clasname used there match what is showing on website but when i change something, nothing happen, so it is not this file.



  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27222
  • Always on vacation
    • Jenkin Hill Internet
Re: Can't locate script responsible for showing prices
« Reply #1 on: June 18, 2018, 15:08:08 pm »
You should be using at least VM3.2.14 for security reasons.

Price display in category or product details page is using /components/com_virtuemart/sublayouts/prices.php  or  if you are using overrides, in /templates/[your-template]/html/com_virtuemart/sublayouts/

The template default_showprices.php was removed many versions ago.

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 VM on Joomla 3.9.2 PHP 7.0.33
Testing VM on Joomla 3.9.2