Sunnysideup\Ecommerce\Api\ShoppingCart::current_order_id
looks up current order id.
you may supply an ID here, so that it looks up the current order ID only when none is supplied.
Signature
public function current_order_id([integer
$orderOrOrderID = 0] )
Parameters
$orderOrOrderID
— integer
Returns
- int;