Sometimes a quote can be linked with product id’s which doesn’t exists anymore. In some cases it can cause broken MySQL joins. Here is how you can flush the quote for a specific customer in Magento2.
1 |
mysql> DELETE FROM quote WHERE customer_email = 'customer@gmail.com'; |
Remove the WHERE clause to flush the quote for all customers.