With the current Layout System we can:
- Set module to show on all page.
- Set different module to show on different page (based on route).
- Set different module (maybe Banner) to different Category, Product and Information page.
- If you have multi-store, you can set all feature above for different store.
Overview: How it works?
- First, opencart will check is there any Layout specifically for Category, Product or Information Page. Then apply it.
- When the first check above return false, opencart will check is their Layout based on route URL is available.
- When the second check above return false, opencart use Store Layout as a “fallback”.
Layout system in opencart, a specific module to a specific page
How the layout system works is explained well in the following links by Qahar from Indonesia. Thanks to him.