VirtueMart Forum

VirtueMart 2 + 3 => Templating & Layouts => Topic started by: EvanGR on August 21, 2019, 12:17:40 pm

Title: Category: Latest Products, and Recently Viewed... where?
Post by: EvanGR on August 21, 2019, 12:17:40 pm
Trying to find where the Category "Latest Products", and "Recently Viewed" are set in the templates, in order to do an override.
Any idea?

Thanks
Title: Re: Category: Latest Products, and Recently Viewed... where?
Post by: Jörgen on August 21, 2019, 12:56:23 pm
These are modules, I think, in fact the same module. Virtuemart products, overrides is to be found like for all other Joomla modules.
Otherwise I would guess sublayouts directory.

regards

Jörgen @ Kreativ Fotografi
Title: Re: Category: Latest Products, and Recently Viewed... where?
Post by: GJC Web Design on August 21, 2019, 13:08:08 pm
it is normally the same productss.php sublayout for all

in the cat default the products are divided up by the loop

foreach ($viewData['products'] as $type => $products ) {
// products display here
}

where $type  is latest, recent etc etc .. but other templates may do it differently