Extend frontend controller ?
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!
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Extend frontend controller ?
Unfortunately I can't find how to extend front-end controller. I have created new controller with another name on my extension:
Aimeos\Controller\Frontend\Basket\Basket and extended it from original Aimeos\Controller\Frontend\Basket\Standard. But I don't know where I should configure it to make it use my new controller (
Aimeos\Controller\Frontend\Basket\Basket and extended it from original Aimeos\Controller\Frontend\Basket\Standard. But I don't know where I should configure it to make it use my new controller (
-
- Expert
- Posts: 274
- Joined: 27 Jun 2019, 16:19
Re: Extend frontend controller ?
This is the solution:
Code: Select all
'controller' => [
'frontend' => [
'basket' => [
'name' => 'Basket'
]
]
],