How do I pull the Parent Category name and Logo?


I want to pull the Parent Category Name and Logo to put in various places around the site. How do I go about calling them please?


Each category in the database has a ‘category_path’ field. This is the parentage represented as a ‘/’ separtated chain of category_id’s from the root of the store (category_id 0) to the current parent. There is also a ‘parent’ field that tells just the parent of the category_id you are looking at.

So you’d do something in my_changes/controllers/customer/ to set a template variable of what you want to make it available to the templates. Then you would reference those variables by modifying the templates (or using hooks) to display the data.