cancel
Showing results for 
Search instead for 
Did you mean: 

cart is blank in Magento 2

SOLVED
   Did you know you can see the translated content as per your choice?

cart is blank in Magento 2

Hi,

@Manthan Dave@damian
I added a product in cart. After click on Proceed to Checkout button, It should go on checkout page but it is showing cart is empty. It is working fine in Desktop view but cart is empty when I open this in Mobile view.

 

 
If any one have an idea please let me know
Any help would be Appreciable.
 
Thanks
1 ACCEPTED SOLUTION

Accepted Solutions

Re: cart is blank in Magento 2

Hello @Neeraj02381

 

There is one bug in magento2

 

https://github.com/magento/magento2/issues/12362

 

please apply gewaechshaus solution and check it.

If works then mark as solution


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

View solution in original post

6 REPLIES 6

Re: cart is blank in Magento 2

Hi @Neeraj02381

 

Well i have seen the website link you have shared with us - and it looks like you have theme issue - because on the mobile view - your checkout page seems broken and not functioning properly !

 

So good option here is to ask theme developer to resolve the issue on the same !

 

Hope it helps 

if issue solved,Click Kudos & Accept as Solution

Re: cart is blank in Magento 2

@Manthan Dave

Yes, I created a custom theme to override views, But I didn't understand what's the issue behind this.

I didn't any change in block, Controller and model. Then why this problem is happening. or how can I resolve this issue.

Re: cart is blank in Magento 2

@Neeraj02381

 

Actually need to debug this theme code in details.

 

Still if you wanted to confirm the exact step of issue , as of now just for testing purpose change a theme to Luma theme and then check , checkout will work !

 

so something is missing at theme level - also you can check browser console on mobile view few error is also showing there 

 

Hope it helps

if issue solved,Click Kudos & Accept as Solution

Re: cart is blank in Magento 2

Hello @Neeraj02381

 

There is one bug in magento2

 

https://github.com/magento/magento2/issues/12362

 

please apply gewaechshaus solution and check it.

If works then mark as solution


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: cart is blank in Magento 2

Thanks for your help

Re: cart is blank in Magento 2

hi

i use magento 2.3.2 and i have the same probem.  cart empty when i add a product to the cart

can you help me please ?