Default number of items on category page

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
matty
Ensign (ENS)
Ensign (ENS)
Posts: 10
Joined: Wed Jun 07, 2017 10:58 am

Default number of items on category page

Post by matty » Wed Feb 21, 2018 9:59 am

I have a couple of questions that are related.

Change default category item count
Does anyone know how to change this?

Save state of page count
Currently when you change the number of items displayed to either increase or decrease, it only stays that way while you are on the category. If you navigate away and come back, the category will revert to the previous page count. I am not seeing this in the user's cookie, so I am assuming I'll have to code this, but I am validating before I move ahead.

Thanks,
Matt

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Default number of items on category page

Post by jmestep » Wed Feb 21, 2018 11:39 pm

You can change the number of items on a page by changing the selections in the page size options dropdown box. Defaults are 12,24,48 and 12 is set as Selected="True". So you could change to 24,48,96 with 24 set as Selected="True"
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

matty
Ensign (ENS)
Ensign (ENS)
Posts: 10
Joined: Wed Jun 07, 2017 10:58 am

Re: Default number of items on category page

Post by matty » Mon Feb 26, 2018 4:20 am

Thanks Judy... that was an easy fix. I am assuming to keep the users selection for their session / future visits, I'll need to drop a cookie and use that for initial page load?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Default number of items on category page

Post by jmestep » Mon Feb 26, 2018 11:09 pm

You could use a cookie or store something in the ac_UserSettings table, which would be more permanent than a cookie, but would also require a trip to the database when the user returns.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply