Alain D. Posted November 16, 2018 Share Posted November 16, 2018 Hello, I'am wondering how to display neighbor categories of a category, on this specific category page. It's almost the same thing from product page on which you can display other product of the same category but i need it to work with category page. Let me be more explicit, here is a categories tree for exemple : CAT 1 CAT A CAT B CAT C CAT 2 ... I would like to display on the CAT A page its neighbor categories (CAT B and CAT C). In fact, I am looking for a way to propose to the visitor the categories of the same thematic, like "don't forget to check this catgories too" (with name and image of this categories). So i suppose I have to get the parent category of the current category and then find a way to display all subcategories of this parent without including the current one. In other words and with the same example from above : On CAT A > get CAT 1 (id) > list CAT A subcategories > exclude CAT A (current one) to get only neighbor categories. Does anybody have an idea of how to proceed ? Or maybe some tips to give me ? Thank you in advance for your time. PS version 1.6 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now