How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#6022 by mohal_04
12 Apr 2018, 09:38
aimeos wrote:No, it's the same as for the managers: You have to extend from the standard class and create e.g.


which contains:

Code: Select allclass MyStandard extends Standard
    protected function fromArray( \Aimeos\MShop\Product\Item\Iface $item, array $data )
        // your modified code

and configure your new class using:

Code: Select alladmin/jqadm/product/price/name = Mystandard

e.g. for Laravel in config/shop.php:

Code: Select all'admin' => [
    'jqadm' => [
        'product' => [
            'price' => [
                'name' => 'Mystandard'


Thanks Sir!!! Your help is too much appreciated. I have resolved the issue with your help. I wonder why I didn't have to overwrite fromArray() method from Standard class when I was adding custom field in Basic tab.


#6027 by mohal_04
12 Apr 2018, 11:38
aimeos wrote:Because it uses fromArray() of the item without any special handling. We will try to use that in the subpanel classes too if possible in the next version.

OK thanks for all the help!!! :) :) :) :) :)