Post by syltrinity » Thu Oct 25, 2012 10:19 pm

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

User avatar
New member

Posts

Joined
Sat Sep 01, 2012 12:53 am

Post by grgr » Fri Oct 26, 2012 4:34 am

admin > system > setting > options tab.

top of the list: Default Items Per Page (Catalog):

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by syltrinity » Mon Oct 29, 2012 4:55 pm

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?

User avatar
New member

Posts

Joined
Sat Sep 01, 2012 12:53 am

Post by grgr » Mon Oct 29, 2012 8:51 pm

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')
			);

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by syltrinity » Mon Nov 05, 2012 10:59 pm

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?

User avatar
New member

Posts

Joined
Sat Sep 01, 2012 12:53 am
Who is online

Users browsing this forum: No registered users and 20 guests