Jump to content

Edit History

andtrx

andtrx

I have the exactly same issue, any ideas?

I found out that this is related to OrderDetail . The products in the order details are not getting updated.

 

$orderDetail = OrderDetail::getList((int)$order->NumarComanda);
$detailedOrder = (object)$orderDetail[0];
$products = $cart->getProducts(); $id_order_state = 4; // hardcoded 4 for testing purposes.
$detailedOrder->createList($prestashopOrder, $cart, $id_order_state, $products);

Currently this returns an error, I am trying to update the orderdetail.

andtrx

andtrx

I have the exactly same issue, any ideas?

×
×
  • Create New...