How to make new services in aimeos

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!
awaidqureshi
Posts: 86
Joined: 12 Jan 2019, 15:17

How to make new services in aimeos

Post by awaidqureshi » 25 Jul 2019, 06:56

I wrote a new decorator file and put this in
app/vendor\aimeos\aimeos-core\lib\mshoplib\src\MShop\Service\Provider\Decorator\mydecorator.php.
and its working fine .

Butt when i update aimeos it removes my new created decorator file that i have added in aimeos

it also change the aimeos.js file to defaults which is in
app/public\packages\aimeos\shop\themes\aimeos.js

is there some thing wrong that i m doing

Please guide me about this

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

Re: How to make new services in aimeos

Post by aimeos » 25 Jul 2019, 07:28

Don't touch the core files! You have to create an Aimeos extension for your project: https://aimeos.org/extensions#c139
Put your files there, the directory structures are the same besides ./lib/mshoplib/ becomes ./lib/custom/
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply