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!
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:
change to:
Opencart 2.0.3.1 with Journal theme
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 .
Code: Select all
. (int)$this->config->get('config_customer_group_id') .
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
Video: https://www.youtube.com/watch?v=UW-YrwRpVqA
Who is online
Users browsing this forum: No registered users and 71 guests