Jump to content

Get Cart in hookUpdateOrderStatus


Recommended Posts

Hi,

 

I am building Prestashop module and I am using hookUpdateOrderStatus where I need to get cart to get product. When I use hookNewOrder this code were working:

 

    $cart_products = $params['cart']->getProducts(true);

 

and in $cart_products where all products from buyers cart as I need. But When I am trying to use this code in hookUpdateOrderStatus this is not working. Can you help me with this?

 

Thanks.

 

Michal

Link to comment
Share on other sites

  • 9 months later...
×
×
  • Create New...