Sunnysideup\Ecommerce\Api\ShoppingCart::copyOrder
NOTE: tried to copy part to the Order Class - but that was not much of a go-er.
returns null if the current user does not allow order manipulation or saving (e.g. session disabled)
Signature
public function copyOrder(int|Order
$oldOrder )
Parameters
$oldOrder
— object
Returns
- null|false|Order