Extending aimeos-core
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: 56
- Joined: 15 Mar 2021, 01:03
Extending aimeos-core
Hey,
I would like to extend some of the files under aimeos-core, e.g. vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Attribute/Manager/Standard.php. I do not see fit into any standard generated extension. How should I approach it, any examples?
Thanks
I would like to extend some of the files under aimeos-core, e.g. vendor/aimeos/aimeos-core/lib/mshoplib/src/MShop/Attribute/Manager/Standard.php. I do not see fit into any standard generated extension. How should I approach it, any examples?
Thanks
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Extending aimeos-core
I think it should be here, but not certain:
ext/small-ext/lib/custom/src/MShop/Attribute/Manager
ext/small-ext/lib/custom/src/MShop/Attribute/Manager
Re: Extending aimeos-core
This is the right location:
If you want to extend the attribute manager, please read the article about extending managers in the docs:
https://aimeos.org/docs/latest/models/extend-managers/
Code: Select all
ext/small-ext/lib/custom/src/MShop/Attribute/Manager
https://aimeos.org/docs/latest/models/extend-managers/
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
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Extending aimeos-core
Thanks.
Another related question please.
Where should extension for vendor/aimeos/aimeos-laravel/src/helpers.php go?
Regards,
Another related question please.
Where should extension for vendor/aimeos/aimeos-laravel/src/helpers.php go?
Regards,
-
- Posts: 56
- Joined: 15 Mar 2021, 01:03
Re: Extending aimeos-core
Seems here:
ext/small-ext/lib/custom/src/helpers.php
ext/small-ext/lib/custom/src/helpers.php