News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

how to move "Recently Viewed Products" AFTER "Product" in category view

Started by fc338339, April 12, 2018, 02:33:22 AM

Previous topic - Next topic

fc338339

As subject

when click from category layout to product list , how can I switch the order

FROM
  Category Title
  Recently Viewed Products
  Product

TO
  Category Title
  Product
  Recently Viewed Products


Thanks
Fion

jenkinhill

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

fc338339

Dear Sirs,

I have two websites, so I guess adding badge method are different too

1. website P : joomla 3.8.6 + virtuemart 3.2.14
2. website A : joomla 3.6.5 + virtuemart 3.0.14  (I have make many changes on core files that I cannot upgrade neither joomla nor virtuemart)

Thanks for your help

Fion

Studio 42

The problem is that now Virtuemart dont let the choice to ivert it in template or use another layout.
All the types are in a big array in this order:
featured discontinued latest topten recent products
If you want to change it, you have to do an override in your template.
If you use
$this->products = array_reverse($this->products);
You have the main products first in this order
products recent topten latest discontinued featured
products is the main list