Page 1 of 1
[Help] How to change default quantity show in category?
Posted: Thu Oct 25, 2012 10:19 pm
by syltrinity
Hi everyone,
I need help with changing the default product showing.
The default now is showing 15 product in my category page.
How can I change it to 16? Show 16 product by default on every product category page.
Please help thank you~
I don't know what this called, so search result turned nothing or crap. If there is topic showing the way how to do it, please let me know. Thanks
Re: [Help] How to change default quantity show in category?
Posted: Fri Oct 26, 2012 4:34 am
by grgr
admin > system > setting > options tab.
top of the list: Default Items Per Page (Catalog):
Re: [Help] How to change default quantity show in category?
Posted: Mon Oct 29, 2012 4:55 pm
by syltrinity
I see thank you.
And how to change the value on the show quantity? Like default it's 16, then I want to show 20, 40, 60 and 100?
Re: [Help] How to change default quantity show in category?
Posted: Mon Oct 29, 2012 8:51 pm
by grgr
you have to change it in the controller files, such as ../catalog/controller/product/category.php.
The lines to alter are:
Code: Select all
$this->data['limits'][] = array(
'text' => 25,
'value' => 25,
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . $url . '&limit=25')
);
$this->data['limits'][] = array(
'text' => 50,
'value' => 50,
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . $url . '&limit=50')
);
$this->data['limits'][] = array(
'text' => 75,
'value' => 75,
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . $url . '&limit=75')
);
$this->data['limits'][] = array(
'text' => 100,
'value' => 100,
'href' => $this->url->link('product/category', 'path=' . $this->request->get['path'] . $url . '&limit=100')
);
Re: [Help] How to change default quantity show in category?
Posted: Mon Nov 05, 2012 10:59 pm
by syltrinity
Okay. Thank you. I will try to edit it after my product upload is done.
By the way do you have idea on how to modify the registration field?