diff --git a/packages/Webkul/Checkout/src/Http/helpers.php b/packages/Webkul/Checkout/src/Http/helpers.php index dab85a970..9f80d9e58 100755 --- a/packages/Webkul/Checkout/src/Http/helpers.php +++ b/packages/Webkul/Checkout/src/Http/helpers.php @@ -1,9 +1,13 @@ make(Cart::class); - } - } \ No newline at end of file +if (! function_exists('cart')) { + /** + * Cart helper. + * + * @return \Webkul\Checkout\Cart + */ + function cart() + { + return app()->make('cart'); + } +}