Merge pull request #2516 from rahulshukla-webkul/development

Issue #2468
This commit is contained in:
Jitendra Singh 2020-02-20 13:28:26 +05:30 committed by GitHub
commit d4876d0148
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ class OnepageController extends Controller
{
$data = request()->all();
if (! auth()->guard('customer')->check() && ! $cart->hasGuestCheckoutItems()) {
if (! auth()->guard('customer')->check() && ! Cart::getCart()->hasGuestCheckoutItems()) {
return response()->json(['redirect_url' => route('customer.session.index')], 403);
}