Merge pull request #2516 from rahulshukla-webkul/development
Issue #2468
This commit is contained in:
commit
d4876d0148
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue