do aimeos-core changes in own distribution

Questions around the TYPO3 integration and plugins as well as Flow and NeosCMS
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
pheeb
Posts: 10
Joined: 19 May 2017, 16:21
Location: Chur
Contact:

do aimeos-core changes in own distribution

Post by pheeb » 17 Aug 2017, 07:19

Hi aimeos!

I want to change the aimeos the ServiceUpdate.php file but I have an own distribution in Typo3 and wan't to know how I can change this file in there, because when I directly change it in the aimeos-core it will be lost in a update. Can you please help me?

here is the path to the ServiceUpdate.php file:
typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/lib/mshoplib/src/MShop/Plugin/Provider/Order/ServicesUpdate.php

thanks for helping!

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

Re: do aimeos-core changes in own distribution

Post by aimeos » 17 Aug 2017, 10:10

We will add the fix for the ServicesUpdate plugin to the Aimeos core so you will get it with the next update.

Generally speaking, if you want to overwrite a class in Aimeos create a new one, extend from the existing, overwrite the method you want to change and configure your new class (either via the factory config or like in this case by using the name of the new class instead of the existing in the plugin tab).
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply