Decorators / Components for selected themes
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Decorators / Components for selected themes
How to do to create different decorators for different shops. It is a multishop application.
For example. For one shop I have one decorator:
but for another shop I have:
How to configure it ?
And for example will change in the second store.
Is it possible to set one theme for two stores, but in one of them the layout will change ?
For example. For one shop I have one decorator:
Code: Select all
client/html/catalog/lists/decorators/global = ['Mydecorator']
Code: Select all
client/html/catalog/lists/decorators/global = ['MydecoratorNew']
And for example
Code: Select all
packages\new-theme\client\html\templates\checkout\confirm\body-standard.blade.php
Is it possible to set one theme for two stores, but in one of them the layout
Code: Select all
packages\new-theme\client\html\templates\checkout\confirm\body-standard.blade.php
Re: Decorators / Components for selected themes
You can use the Option/Value table for setting different configuration options per site in the Locale > Site panel, e.g.:krzysiekp wrote: ↑09 May 2022, 17:04 How to do to create different decorators for different shops. It is a multishop application.
For example. For one shop I have one decorator:
but for another shop I have:Code: Select all
client/html/catalog/lists/decorators/global = ['Mydecorator']
How to configure it ?Code: Select all
client/html/catalog/lists/decorators/global = ['MydecoratorNew']
Code: Select all
client/html/catalog/lists/decorators/global/MydecoratorNew : MydecoratorNew
If the templates should be different, the best option is to use two different themes. If it's only one template, you can use the Option/Value table for the site to set an alternative template, e.g. for a "body-custom.blade.php":krzysiekp wrote: ↑09 May 2022, 17:04 And for examplewill change in the second store.Code: Select all
packages\new-theme\client\html\templates\checkout\confirm\body-standard.blade.php
Is it possible to set one theme for two stores, but in one of them the layoutwill change ?Code: Select all
packages\new-theme\client\html\templates\checkout\confirm\body-standard.blade.php
Code: Select all
client/html/templates/checkout/confirm/template-body : checkout/confirm/body-custom
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star