Extend Files

Help for integrating the Laravel package
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!
jramirezgranada
Posts: 40
Joined: 12 Jul 2018, 19:57

Extend Files

Post by jramirezgranada » 16 Aug 2018, 21:21

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
--
Jorge A Ramirez
System Engineer
PHP Developer

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Extend Files

Post by aimeos » 17 Aug 2018, 17:56

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply