In a development installation (on the Search.aspx page), I noticed that any 'ShopBy' filters in place are lost upon paging, as well as when the number of products displayed is changed; the filters do, however, remain in place upon changing the sort by selection. I haven't looked into it too deeply yet, but wondered if anyone else is seeing this behavior. I have a long list of customizations ahead of me, so I don't want to spend time chasing this one if it's a bug that the folks at AC can quickly iron out for us.
Thank you.
ShopBy Filters within R9
-
- Lieutenant, Jr. Grade (LT JG)
- Posts: 42
- Joined: Fri Apr 15, 2011 11:04 pm
ShopBy Filters within R9
Jason Hendee
Cables for Less
Cables for Less
Re: ShopBy Filters within R9
Hi Jason,
Thanks for letting us know. I will try to reproduce and get back to you soon.
Katie
Thanks for letting us know. I will try to reproduce and get back to you soon.
Katie
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
Re: ShopBy Filters within R9
We were able to reproduce the issue and it is fixed. Here I explain the code changes to fix the issue:
1. Open the "Website/Search.aspx.cs" file in Visual Studio.
2. Go around line # 24 and define a new class level variable to hold the information about the "shop by" options selection as under:
3. Inside the Page_Load event method add the following code to initialize the above defined variable with the data/information. ( around line # 64 )
4. Find the "BindPagingControls()" method and add the following code just at the end of code where "baseurl" variable is initialized. (line # 268)
5. Save the file and compile the website project.
I am also attaching the updated file.
1. Open the "Website/Search.aspx.cs" file in Visual Studio.
2. Go around line # 24 and define a new class level variable to hold the information about the "shop by" options selection as under:
Code: Select all
private string _shopBy = string.Empty;
Code: Select all
_shopBy = StringHelper.StripHtml(Server.UrlDecode(Request.QueryString["shopby"]));
if (!string.IsNullOrEmpty(_shopBy))
{
_shopBy = StringHelper.StripHtml(_shopBy).Trim();
}
Code: Select all
if(!string.IsNullOrEmpty(_shopBy))
baseurl += "shopby=" + _shopBy + "&";
I am also attaching the updated file.
Thanks for your support
Naveed Ashraf
.com
AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
Naveed Ashraf

AbleCommerce Help Center
AbleCommerce Developer WIKI
Follow us on Twitter
- NC Software
- AbleCommerce Partner
- Posts: 4620
- Joined: Mon Sep 13, 2004 6:06 pm
- Contact:
Re: ShopBy Filters within R9
Can you all keep a page of known issues that have fixes so we have a central page to go to in order to apply all known fixes? Otherwise everyone hits the bug, reports it, you get overloaded, and we have to scour the forum for issues and fixes. Please create a R9 Wiki or some page that we can go to with bug report / unsupported fix per se. When I get to implementing R9 soon I certainly want to apply all known fixes to be the absolute most up to date and stable at release.
Neal Culiner
NC Software, Inc.
NC Software, Inc.
Re: ShopBy Filters within R9
The help site has always kept a log of the hot patches and service updates, upgrades, and pretty much everything related to the technical support of AbleCommerce.
Here is the hot patch page for Gold -
http://help.ablecommerce.com/index.htm# ... s_gold.htm
You can subscribe to the page to receive updates when it is changed.
This particular bug is not listed there yet. I'll get it added as soon as I can.
Here is the hot patch page for Gold -
http://help.ablecommerce.com/index.htm# ... s_gold.htm
You can subscribe to the page to receive updates when it is changed.
This particular bug is not listed there yet. I'll get it added as soon as I can.
Thank you for choosing AbleCommerce!
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support
http://help.ablecommerce.com - product support
http://wiki.ablecommerce.com - developer support