I just started doing some work for a client who has a site running on AbleCommerce. I am totally new to it, so I thought I'd see if I could get some advice on my situation.
Basically, there is a category page, that has side-bar links to filter by subcategory. These obviously do a post back, apply a filter, and rebind the page/grid. The problem is that we want to preserve the use of the "back" button, so as a user drills down, they can click back to go back up the tree. For this to work, I'd need to set these sub-category links up to redirect to the next page, instead of posting back. I'm not sure how to persist/pass the data (selected category, etc.), though. The URLs are rewritten, so that adds a bit of complexity... Would it be possible to get the CatID of the clicked sub-category, and build out the URL, and redirect to it? So, on /Category-one-C1.aspx the user clicks a sub-category, and in the event handler I look up the category, and build a URL like: /Sub-category-C11.aspx. Might something like that work? Is there a utility to build the URL/Page name based on an ID?
Anyway, if anyone has any thoughts on this, I'd appreciate it. I'm still a bit overwhelmed by how this system works, so any guidance would be very helpful.
Thanks,
Seth
New to Able Commerce, need to make a nav customization...
Re: New to Able Commerce, need to make a nav customization...
Check following threads, first thread contains a category tree structure which will work with back button.
viewtopic.php?f=42&t=7829
viewtopic.php?f=44&t=9560
In fact you can just call cateogry.NavigateUrl to get its display page URL with categoryid encoded.
viewtopic.php?f=42&t=7829
viewtopic.php?f=44&t=9560
In fact you can just call cateogry.NavigateUrl to get its display page URL with categoryid encoded.