Author Topic: Category: Latest Products, and Recently Viewed... where?  (Read 237 times)

EvanGR

  • Jr. Member
  • **
  • Posts: 275
Category: Latest Products, and Recently Viewed... where?
« 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

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 2428
    • Kreativ Fotografi
  • VirtueMart Version: 3.4.x
Re: Category: Latest Products, and Recently Viewed... where?
« Reply #1 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
Joomla 3.9.8
Virtuemart 3.4.x
Olympiantheme Hera (customized)

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9200
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: Category: Latest Products, and Recently Viewed... where?
« Reply #2 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
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation