Post by jiao » Fri Apr 03, 2015 8:44 pm

How to I make the latest product module show products in order from date added to catalog, not date created? I make a bunch of copy products that I can edit later as I get new products, but then they are not showing in order on the latest product page as they get released.

Active Member

Posts

Joined
Mon Apr 23, 2012 12:11 am

Post by tabook » Fri Apr 03, 2015 9:25 pm

catalog\controller\module\latest.php

change line
from

Code: Select all

			'sort'  => 'p.date_added',
to

Code: Select all

			'sort'  => 'p.date_available',
Now you can handle position by changing 'Date available' field.

Forget complex and inconvenient stock Categories and Products in OpenCart - use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions


New member

Posts

Joined
Sun Mar 01, 2015 6:27 pm

Post by jiao » Sat Apr 04, 2015 10:07 am

Thanks for the reply! Hmm, what other variables could I use there to control the order? I tried "available" ?

Seems that still does not match the sequence of my live store that's on 1.5.5.1 which I had a vqmod that took care of it:

opencart.com/index.php?route=extension/extension/info&extension_id=14525

Also, when I change to "available" it causes empty spaces. Not sure if it's because of the product title too long from the product above, or if it was a product I deleted.... but it makes the layout look horrible.

Active Member

Posts

Joined
Mon Apr 23, 2012 12:11 am

Post by paddys_1 » Mon Oct 16, 2017 4:58 pm

There is an OC Mod that changes the sort order to show items by the date added, so the most recent are displayed first

Image


User avatar
New member

Posts

Joined
Wed Jul 16, 2014 6:04 am
Who is online

Users browsing this forum: Amazon [Bot] and 414 guests