Cart::get_current_order
Get the current order from the session, if order does not exist create a new one.
Signature
public function get_current_order([boolean
$persist = false] )
Parameters
$persist
— boolean
Returns
- Order
- The current order (cart)