How to make new services in aimeos
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: 86
- Joined: 12 Jan 2019, 15:17
How to make new services in aimeos
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
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
Re: How to make new services in aimeos
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/
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, give us a star
If you like Aimeos, give us a star