New to Able Commerce, need to make a nav customization...

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
SethMW
Ensign (ENS)
Ensign (ENS)
Posts: 15
Joined: Wed May 06, 2009 4:29 pm

New to Able Commerce, need to make a nav customization...

Post by SethMW » Sat May 09, 2009 2:15 pm

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

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

Re: New to Able Commerce, need to make a nav customization...

Post by mazhar » Mon May 11, 2009 7:07 am

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.

Post Reply