• Welcome to KonaKart Community Forum. Please login or sign up.
 

expanded categories on left nav

Started by ryanlynch, August 17, 2008, 09:16:09 pm

Previous topic - Next topic

ryanlynch

Hi there -
I would like to make it so that the categories left nav is only expanded when the user is browsing through categories. Currently, it is expanded on product pages and checkout.. I am aware of the reset() method, but am hoping someone can kindly offer a suggestion as to where I might implement it so the categories bar is only expanded while browsing categories.

pete

I'm surprised that you want to implement this, especially on product pages, since it is normally good practice to show customers where they are, regardless of how they got there.

What you need to do is to call the reset method on the CategoryManager in the action classes where you don't want the category to be displayed. i.e. ShowProductDetailsAction and CheckoutDeliveryAction which is the first step of the checkout process.