Extending aimeos-core

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!
godadada@yahoo.com
Posts: 56
Joined: 15 Mar 2021, 01:03

Extending aimeos-core

Post by godadada@yahoo.com » 08 Dec 2021, 09:06

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

godadada@yahoo.com
Posts: 56
Joined: 15 Mar 2021, 01:03

Re: Extending aimeos-core

Post by godadada@yahoo.com » 08 Dec 2021, 10:22

I think it should be here, but not certain:

ext/small-ext/lib/custom/src/MShop/Attribute/Manager

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

Re: Extending aimeos-core

Post by aimeos » 09 Dec 2021, 17:55

This is the right location:

Code: Select all

ext/small-ext/lib/custom/src/MShop/Attribute/Manager
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/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

godadada@yahoo.com
Posts: 56
Joined: 15 Mar 2021, 01:03

Re: Extending aimeos-core

Post by godadada@yahoo.com » 10 Dec 2021, 03:30

Thanks.

Another related question please.
Where should extension for vendor/aimeos/aimeos-laravel/src/helpers.php go?

Regards,

godadada@yahoo.com
Posts: 56
Joined: 15 Mar 2021, 01:03

Re: Extending aimeos-core

Post by godadada@yahoo.com » 11 Dec 2021, 05:50

Seems here:

ext/small-ext/lib/custom/src/helpers.php

Post Reply