aimeos wrote:No, it's the same as for the managers: You have to extend from the standard class and create e.g.
./ext/myextendsion/admin/jqadm/src/Admin/JQAdm/Product/Price/Mystandard.php
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'
]
]
]
]
Hi,
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.
Thanks!
--
Umer