CoreShop Stores Theming
CoreShop Stores are designed to allow different Themes. Therefore you can have a true Multi-Store Environment with different Themes.
Example
Let's create a new theme called sports:
- Create a store and type
sportsinto thetemplatefield - Create a folder called
themesin theapp/Resourcesdirectory - Inside the
themesdirectory create a new folder and name itsports - Finally add a folder called
CoreShopFrontendBundleinside your new theme directory
Every view request inside the given store context will search for a view file in the app/Resources/themes/sports/CoreShopFrontendBundle/* directory.
So for example you want to have a different homepage you will need to create a file: app/Resources/themes/sports/CoreShopFrontendBundle/Index/index.html.twig.
When the customer then visits your website on store sports, CoreShop will load the new index.html.twig file.