Jump to content

Edit History

Florian644

Florian644

6 minutes ago, 4you.software said:

So try what returns.

print_r($params['order']->getOrderDetailList()[0]);

 

Yeah I tried this.

It returns this

Capture d’écran 2022-09-22 à 12.50.01.png

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);

 

Florian644

Florian644

1 minute ago, 4you.software said:

So try what returns.

print_r($params['order']->getOrderDetailList()[0]);

 

Yeah I tried this.

It returns this

Capture d’écran 2022-09-22 à 12.50.01.png

×
×
  • Create New...