6 minutes ago, 4you.software said:So try what returns.
print_r($params['order']->getOrderDetailList()[0]);
Yeah I tried this.
It returns this :
Do I need to do something like this ?
$query = "UPDATE `"._DB_PREFIX_."order_detail` SET svgTemplate=". $params['cart']->my_custom_field; Db::getInstance()->Execute($query);