Skip to main content
Tweeted twitter.com/StackMagento/status/1050174151598768129
fix mistake that could lead to wrong interpretation
Source Link
Greg
  • 2.7k
  • 5
  • 42
  • 89

I have a weird problem where my mini-cart is showing that there are products in the cart, however, cart is showing empty.

Also, when refreshing the checkout a few times, it redirects to the cart with a message of:

You have no items in your shopping cart.

Click here to continue shopping.

I have set my cookie life time to 1 year but that didn't solve my problem. Could the problem be related to customer session? Not sure how to debug this.

UPDATE:

When logged in - double click on "Proceed To Checkout" - This clears the cart and "logges out". However, the "Welcome message" still displays the customer name and mini-cart seems to have items inside.

UPDATE 2: After applying this commit: https://github.com/magento/magento2/commit/9a799f130a0a8b64028de6258e7cf1378bc9bc8f the problem with "Double clicking the 'Proceed to Checkout' button" is now fixed. All it does is disabling the button once it's clicked.

However, when refreshing the cartcheckout twice still redirects to the empty cart with mini-cart still showing items.

I have a weird problem where my mini-cart is showing that there are products in the cart, however, cart is showing empty.

Also, when refreshing the checkout a few times, it redirects to the cart with a message of:

You have no items in your shopping cart.

Click here to continue shopping.

I have set my cookie life time to 1 year but that didn't solve my problem. Could the problem be related to customer session? Not sure how to debug this.

UPDATE:

When logged in - double click on "Proceed To Checkout" - This clears the cart and "logges out". However, the "Welcome message" still displays the customer name and mini-cart seems to have items inside.

UPDATE 2: After applying this commit: https://github.com/magento/magento2/commit/9a799f130a0a8b64028de6258e7cf1378bc9bc8f the problem with "Double clicking the 'Proceed to Checkout' button" is now fixed. All it does is disabling the button once it's clicked.

However, when refreshing the cart twice still redirects to the empty cart with mini-cart still showing items.

I have a weird problem where my mini-cart is showing that there are products in the cart, however, cart is showing empty.

Also, when refreshing the checkout a few times, it redirects to the cart with a message of:

You have no items in your shopping cart.

Click here to continue shopping.

I have set my cookie life time to 1 year but that didn't solve my problem. Could the problem be related to customer session? Not sure how to debug this.

UPDATE:

When logged in - double click on "Proceed To Checkout" - This clears the cart and "logges out". However, the "Welcome message" still displays the customer name and mini-cart seems to have items inside.

UPDATE 2: After applying this commit: https://github.com/magento/magento2/commit/9a799f130a0a8b64028de6258e7cf1378bc9bc8f the problem with "Double clicking the 'Proceed to Checkout' button" is now fixed. All it does is disabling the button once it's clicked.

However, when refreshing the checkout twice still redirects to the empty cart with mini-cart still showing items.

New information
Source Link
Greg
  • 2.7k
  • 5
  • 42
  • 89

I have a weird problem where my mini-cart is showing that there are products in the cart, however, cart is showing empty.

Also, when refreshing the checkout a few times, it redirects to the cart with a message of:

You have no items in your shopping cart.

Click here to continue shopping.

I have set my cookie life time to 1 year but that didn't solve my problem. Could the problem be related to customer session? Not sure how to debug this.

UPDATE:

When logged in - double click on "Proceed To Checkout" - This clears the cart and "logges out". However, the "Welcome message" still displays the customer name and mini-cart seems to have items inside.

UPDATE 2: After applying this commit: https://github.com/magento/magento2/commit/9a799f130a0a8b64028de6258e7cf1378bc9bc8f the problem with "Double clicking the 'Proceed to Checkout' button" is now fixed. All it does is disabling the button once it's clicked.

However, when refreshing the cart twice still redirects to the empty cart with mini-cart still showing items.

I have a weird problem where my mini-cart is showing that there are products in the cart, however, cart is showing empty.

Also, when refreshing the checkout a few times, it redirects to the cart with a message of:

You have no items in your shopping cart.

Click here to continue shopping.

I have set my cookie life time to 1 year but that didn't solve my problem. Could the problem be related to customer session? Not sure how to debug this.

UPDATE:

When logged in - double click on "Proceed To Checkout" - This clears the cart and "logges out". However, the "Welcome message" still displays the customer name and mini-cart seems to have items inside.

I have a weird problem where my mini-cart is showing that there are products in the cart, however, cart is showing empty.

Also, when refreshing the checkout a few times, it redirects to the cart with a message of:

You have no items in your shopping cart.

Click here to continue shopping.

I have set my cookie life time to 1 year but that didn't solve my problem. Could the problem be related to customer session? Not sure how to debug this.

UPDATE:

When logged in - double click on "Proceed To Checkout" - This clears the cart and "logges out". However, the "Welcome message" still displays the customer name and mini-cart seems to have items inside.

UPDATE 2: After applying this commit: https://github.com/magento/magento2/commit/9a799f130a0a8b64028de6258e7cf1378bc9bc8f the problem with "Double clicking the 'Proceed to Checkout' button" is now fixed. All it does is disabling the button once it's clicked.

However, when refreshing the cart twice still redirects to the empty cart with mini-cart still showing items.

edited title
Link
Greg
  • 2.7k
  • 5
  • 42
  • 89

Magento 2 | Mini Cart has items but cart is empty | Session problem? | Double clicking on "Proceed To Checkout" redirects to an empty cart

edited title
Link
Greg
  • 2.7k
  • 5
  • 42
  • 89
Loading
added 221 characters in body
Source Link
Greg
  • 2.7k
  • 5
  • 42
  • 89
Loading
Source Link
Greg
  • 2.7k
  • 5
  • 42
  • 89
Loading