Where to place logic of a custom component?
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!
Where to place logic of a custom component?
I try to create a custom component. I can not find in docs where to place the logic of a new component and how to register it in core?
Re: Where to place logic of a custom component?
The documentation for creating new components is available here:
https://aimeos.org/docs/latest/frontend ... omponents/
In Laravel, you have to implement a controller/action in app/Http/Controllers/ similar to this one:
https://github.com/aimeos/aimeos-larave ... roller.php
The template used by that controller must output the new view variables like here:
https://github.com/aimeos/aimeos-larave ... .blade.php
https://aimeos.org/docs/latest/frontend ... omponents/
In Laravel, you have to implement a controller/action in app/Http/Controllers/ similar to this one:
https://github.com/aimeos/aimeos-larave ... roller.php
The template used by that controller must output the new view variables like here:
https://github.com/aimeos/aimeos-larave ... .blade.php
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