News:

Looking for documentation? Take a look on our wiki

Main Menu

Showing prices on frontpage module

Started by jani_k, April 02, 2014, 20:34:41 PM

Previous topic - Next topic

jani_k

Hi,

I am having problems displaying prices on the frontpage module for featured (discounted) products. In my category and product details pages the prices are displayed nicely for discounts:

old price, discount amount and new price.

But on my front page my products module displays only the discounted price. I want to display all three.

This is on virtumeat 2.0.18a and Joomla 2.5.11.

Any help would be appreciated.

jenkinhill

First, please consider updating - http://forum.virtuemart.net/index.php?topic=118683.0

The template for the product modules is able to display only salesPrice or salesPriceWithDiscount. You will need to rewrite the template code to show both and add in a way to show discount. Use the edited template as an override.
http://docs.virtuemart.net/tutorials/33-templating-layouts.html and http://www.ostraining.com/blog/joomla/overrides
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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