Extend Files
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!
-
- Posts: 40
- Joined: 12 Jul 2018, 19:57
Extend Files
How can I extend ext/ai-client-html/client/html/src/Client/Html/Basket/Standard/Standard.php int my own extension ?
I created the file in the same folder structure ext/myext/client/html/src/Client/Html/Basket/Standard/MyExtStandard.php but it doesn't work.
Do i have to setup it in any config file ?
Thanks
I created the file in the same folder structure ext/myext/client/html/src/Client/Html/Basket/Standard/MyExtStandard.php but it doesn't work.
Do i have to setup it in any config file ?
Thanks
--
Jorge A Ramirez
System Engineer
PHP Developer
Jorge A Ramirez
System Engineer
PHP Developer
Re: Extend Files
Yes, you need to configure the name of your new class so it's used instead of the Standard one:
https://aimeos.org/docs/Configuration/C ... ndard/name
https://aimeos.org/docs/Configuration/C ... ndard/name
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