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.
catalog\controller\module\latest.php
change line
from
to
Now you can handle position by changing 'Date available' field.
change line
from
Code: Select all
'sort' => 'p.date_added',
Code: Select all
'sort' => 'p.date_available',
Forget complex and inconvenient stock Categories and Products in OpenCart - use Acute Category Manager +!
Ready for 1.5.x and 2.x Editions
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.
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.
Who is online
Users browsing this forum: Amazon [Bot] and 414 guests