barrystein Posted August 21, 2011 Share Posted August 21, 2011 Is there a way to have a category show up as a subcategory in multiple categories. Lets say I want the category State History to show up as a subcategory under the categories History and the category Electives. I'd like not just the category but also all the products I put in the category to show up as well. Link to comment Share on other sites More sharing options...
shokinro Posted August 21, 2011 Share Posted August 21, 2011 You can not set a category to be a sub-category of multiple categories. In other words, one category can only have one parent category, because of database structure. Yes, you can set a products to as many categories as you want at back office Catalog. Link to comment Share on other sites More sharing options...
barrystein Posted August 21, 2011 Author Share Posted August 21, 2011 If there was a way to create a product that was a link to a category, and that would pull the image of that category, then we would be able to have categories be subscategories of multiple categories. Is there any way to create product that is a link to a category? Link to comment Share on other sites More sharing options...
shokinro Posted August 21, 2011 Share Posted August 21, 2011 If there was a way to create a product that was a link to a category, and that would pull the image of that category, then we would be able to have categories be subscategories of multiple categories. Is there any way to create product that is a link to a category? I kind of understand what you want to do. You mean you create a product belongs to a category, but the product is treated as subcategory, right? Unfortunate, I have no idea on how to do that. Even you can do this, you will have to modify many places to use it. For example, - you need to modify the categories block - you need to modify the category page, - you need to modify the Category.php (core class) - .... Because a product can be registered to multiple categories, why not just create some categories in different level, and register the products to this categories? This is the same way, but just duplicated the categories. Home -- History ----- State -- Electives ----- State Link to comment Share on other sites More sharing options...
Recommended Posts