Sunnysideup\Ecommerce\Api\ShoppingCart::current_order
Allows access to the current order from anywhere in the code..
if you do not like the session Order then you can set it here ...
Signature
public function current_order([Order
$order = NULL] )
Parameters
$order
— Sunnysideup\Ecommerce\Model\Order- (optional)
Returns
- Order