CategoryGrid paging and sorting

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

CategoryGrid paging and sorting

Post by jmestep » Wed Jul 01, 2009 10:45 am

Could someone else check this out? Build 7.0.2 or 7.0.3 when using the CategoryGrid.ascx with multiple subcategories on the page in the breadcrumbs- we are not at the end category, but there are subcategories underneath.
When I try to sort by A-Z, Z-A,Mfg A-Z, Mfg Z-A, the products are sorted and the following product pages in the paging mechanism are fine.
When I sort by Price,high to low, the first page is fine, I think the second page is fine, but after that the pages show repeats of the products instead of new products. But it works with other categories OK. Some of the categories it doesn't work with seem to have a lot of products at the same price, but it should still be not repeating the display of the same products.
You can see it on this page:
http://www.expressyourselfonline.com/St ... ls-C2.aspx

Thanks.
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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: CategoryGrid paging and sorting

Post by mazhar » Thu Jul 02, 2009 10:54 am

I trying to reproduce it still with no luck. Try to reproduce it here
http://demo.ablecommerce.com/ac73_stabl ... ry-C1.aspx

Also is there something else that needs to be done, for example are those products belongs to multiple categories etc.

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

Re: CategoryGrid paging and sorting

Post by jmestep » Thu Jul 02, 2009 1:53 pm

I couldn't product it there. The site I gave a link to is running 7.0.2. I think it has something to do with so many products of the same price. I tested it on another site where there are very few with the same price in the category/subcategories.
Can you show fewer products on the test site so that there will be more paging involved? Sometimes it doesn't show up until the 3rd page.
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

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

Re: CategoryGrid paging and sorting

Post by jmestep » Sun Jul 05, 2009 8:29 am

I was able to fix this by adding a secondary sort to the list items for price:

Code: Select all

<asp:ListItem Text="By Price (Low to High)" Value="Price ASC, Name ASC"></asp:ListItem>
<asp:ListItem Text="By Price (High to Low)" Value="Price DESC, Name ASC"></asp:ListItem>                            

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: CategoryGrid paging and sorting

Post by mazhar » Mon Jul 06, 2009 6:01 am

Is there any thing custom that was needed to be fixed or this was the case with default package. If this is something with default package then perhaps we should log it.

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

Re: CategoryGrid paging and sorting

Post by jmestep » Mon Jul 06, 2009 10:51 am

It was with the default code and I did enter a bug report for it.
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