Post by niranjan528 » Wed Feb 20, 2019 1:29 am

Can anyone tell me how to change the display order on the category page? My products are being displayed in reverse chronological order (oldest products first) and I would like newest products to display first. I have read several posts but cannot find a good answer. I'm sure it's something simple but I cannot figure it out.

Any help is greatly appreciated.

New member

Posts

Joined
Sat Jun 27, 2015 6:48 pm

Post by cyclops12 » Wed Feb 20, 2019 3:31 am

Have you searched the marketplace??
https://www.opencart.com/index.php?rout ... load_id=47

Active Member
Online

Posts

Joined
Sun Sep 27, 2015 1:10 am

Post by niranjan528 » Wed Feb 20, 2019 6:57 am

I don't want sort by in filter section, I want only when I open category page defaultly latest uploaded products will come first. I want this one only. Please help on this. I tried but not working any solution.

New member

Posts

Joined
Sat Jun 27, 2015 6:48 pm

Post by xxvirusxx » Mon Feb 25, 2019 7:52 pm

Check catalog/controller/product/category.php

My Extensions


Active Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm

Post by selmark.advertising » Wed Feb 27, 2019 3:35 am

catalog/controller/product/category.php
Replace

Code: Select all

$order = 'DESC';
With

Code: Select all

$order = 'ASC';
You should check your theme if there's a need to change the default sort order from descending to ascending.


Posts

Joined
Mon Feb 25, 2019 6:53 pm
Who is online

Users browsing this forum: No registered users and 65 guests