Is it possible to change the default "sort by" and "display" tabs in product categories?
I want to sort by A-Z and display 100 products at a time. I already found the vqmod for showing products in grid view.
Thanks in advance
Try this method in localhost first:
To sort by name A- Z as default
1. Open file category.php in catalog/controller/product/category.php
2. Find (~ line 15):
3. Replace with:
To display 100 item as default
1. Open file category.php in catalog/controller/product/category.php
2. Find (~ line 33):
3. Replace with:
To sort by name A- Z as default
1. Open file category.php in catalog/controller/product/category.php
2. Find (~ line 15):
Code: Select all
$sort = 'p.sort_order';
Code: Select all
$sort = 'pd.name';
1. Open file category.php in catalog/controller/product/category.php
2. Find (~ line 33):
Code: Select all
$limit = $this->config->get('config_catalog_limit');
Code: Select all
$limit = 100;
Thanks nosecret!
Making these changes will certainly help my business, and create less confusion for buyers
Making these changes will certainly help my business, and create less confusion for buyers
For alternative method (more elegant) check link below (see answer from Qphoria)
http://forum.opencart.com/viewtopic.php?f=21&t=42320
http://forum.opencart.com/viewtopic.php?f=21&t=42320
Happy New Year to all!
dear "nosecret",
since you've been dealing with these options, I have a problem that maybe you've familiar with...
In my OC (1.5.1.3) even in its primary staus, I had a problem with those 2 options.
In some categories, the combo boxes, short by and display, where working as they should and in some others when you tried to make a selection, you got the message "this page doesn't exist"...
Does this look any familiar?? Do you have any idea of what could be the fault for that???
Thanks a lot in advance!
dear "nosecret",
since you've been dealing with these options, I have a problem that maybe you've familiar with...
In my OC (1.5.1.3) even in its primary staus, I had a problem with those 2 options.
In some categories, the combo boxes, short by and display, where working as they should and in some others when you tried to make a selection, you got the message "this page doesn't exist"...
Does this look any familiar?? Do you have any idea of what could be the fault for that???
Thanks a lot in advance!
Who is online
Users browsing this forum: No registered users and 111 guests