VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: user_id on June 18, 2018, 13:31:09 PM

Title: [solved]Can't locate script responsible for showing prices
Post by: user_id 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.
Title: Re: Can't locate script responsible for showing prices
Post by: jenkinhill 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.