Inherit category layout to subcategories
Product information "Inherit category layout to subcategories"
Highlights
Easily inherit category layouts (Shopping Experiences) to subcategories Various inheritance modes for individual layouts in subcategories Layout inheritance also possible from the “Home” category, with custom inheritance per subcategory
Features
Inherit worlds of experience / category layouts to subcategories. The following inheritance logics are available: Default (=no inheritance) Inherit to all subcategories that have a default layout or no layout assigned Inherit to all subcategories that have no layout assigned Inherit to all subcategories, no matter if they have a layout assigned or not
Initial situation / purpose of the plugin
In Shopware Standard you can assign a layout to each category - if you don't do that, then a default layout is used.If you want to assign a customized layout to categories, then you have to assign the customized layout to every single category.
With this plugin it is easily possible to assign a customized layout to a supercategory and inherit it "downwards".
A supercategory can also be the "Home" category, then the customized layout will be inherited to all subcategories - if in a subcategory another layout should be used than the "inherited" one, this is possible in the settings without any problem.
The following inheritance logics are available:
- Default (=no inheritance).
- Inherit to all subcategories that have a default layout or no layout assigned.
(If additional inheritances have been specified in subcategories, they will be used). - Inherit to all subcategories which have no layout assigned
(If additional inheritances are specified in subcategories, they will be used) - Inherit to all subcategories, regardless of whether they have a layout assigned to them or not.
(If additional inheritances are specified in subcategories, they will be used).
Note: If additional inheritances have been set in subcategories, then these will be used - so inheritances can be interrupted!
For a better overview, where the layout is taken from, we show a corresponding hint.
Using the plugin
After successful installation and activation of the plugin, the inheritance function is available in the admin area:- Catalogs > Categories > select desired "main category" > tab Layout > select customized layout and
- below that the function "Inherit to subcategories" is available - please set accordingly.
| Bundle: | CMS Bundle |
|---|
- Improved plugin compatibility with Shopware 6.7.
- Improved plugin compatibility with Shopware 6.7.
- Compatibility with Shopware 6.7.
- Compatibility with Shopware 6.6.
- Compatibility with Shopware 6.5.
- Change of the plugin name and the manufacturer links.
- Fixes inheritance and admin view issues.
- Code optimisations.
- Changed inheritance logic and removed "Inherit From Parent" config.
- Changed the visuals in administration for better User Experience.
- Optimized the category page to link the inherited parent category.
- Edited snippets.
- Release
Login
Yes, this works: If, for example, in the HOME category an inheritance of a layout to all subcategories was set, then this is normally inherited to all subcategories - unless another inheritance is created in a subordinate category, then from this category the inheritance is interrupted and the new inheritance is used. For the overview from which category the inheritance takes place, we show a note at the categories, from where the inheritance was taken over.