Post by michaelscott » Tue Oct 20, 2015 11:48 pm

Anyone knows how to sort products in category page by date added?

I found few xml files but doesn't work. They sort products by date added but only on first page. When I click on page 2 products are sort by name.

I use Opencart 2.0.3.1 and Journal Theme
Thanks a lot!

Newbie

Posts

Joined
Tue Oct 20, 2015 11:39 pm

Post by michaelscott » Wed Oct 21, 2015 9:36 pm

RESOLVED!
Here is extension: https://www.opencart.com/index.php?rout ... _id=674862

After installation you may get:
Notice: Undefined variable: customer_group_id in /.../vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 233

To fix this go to this file and find in this line:

Code: Select all

. (int)$customer_group_id .
change to:

Code: Select all

. (int)$this->config->get('config_customer_group_id') .
Opencart 2.0.3.1 with Journal theme

Newbie

Posts

Joined
Tue Oct 20, 2015 11:39 pm

Post by jonidfld » Mon May 02, 2016 2:57 am

Whats the name of the extension? Im trying to fix the same problem! =/ Cant seem to get it from your link.

Newbie

Posts

Joined
Wed Apr 11, 2012 8:44 pm

Post by stfn » Mon Aug 29, 2016 6:47 pm

This video shows how it's done. And it also works for OpenCart 2.x. I've used it on a OC 2.0.3.1 store.

Video: https://www.youtube.com/watch?v=UW-YrwRpVqA

New member

Posts

Joined
Wed Oct 09, 2013 6:30 pm

Post by opencartboost » Tue Aug 30, 2016 8:36 am

Very nice video

Active Member

Posts

Joined
Thu Jul 09, 2015 5:59 am
Who is online

Users browsing this forum: No registered users and 8 guests