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

user_id

  • 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:
/components/com_virtuemart/sublayouts/prices.php
and
/templates/[TEMPLATE_NAME]/html/com_virtuemart/productdetails/default_showprices.php
or
/www/components/com_virtuemart/views/productdetails/tmpl/default_showprices.php

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.

Thanks.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27031
  • 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.   http://virtuemart.net/news/489-virtuemart-3-2-14-security-release-and-enhanced-invoice-handling

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.
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 VM 3.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12