Overriding Catalog/Base.php class with our own
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!
Overriding Catalog/Base.php class with our own
Hi
I am trying to override this file :
ext/ai-client-html/client/src/Client/Html/Catalog/Base.php
with in my own extension , is that possible? how do I do that in the config/shop.php file? I read the documentation and I didn't find how?
Please help
Thanks
I am trying to override this file :
ext/ai-client-html/client/src/Client/Html/Catalog/Base.php
with in my own extension , is that possible? how do I do that in the config/shop.php file? I read the documentation and I didn't find how?
Please help
Thanks
- Attachments
-
- Screen Shot 2017-09-12 at 3.44.33 PM.png (35.85 KiB) Viewed 2149 times
Re: Overriding Catalog/Base.php class with our own
Unfortunately, OOP doesn't allow to overwrite or replace abstract classes other classes extend from. You can only overwrite the methods in the base class in your own class that extends from it.
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