cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to delete cart items from specific customer

Highlighted

Unable to delete cart items from specific customer

We have a really weird issue.

 

Customer claims he cannot remove items from cart. It appears the customer is right because we can't even delete items from his shopping cart in the admin panel! No error or nothing, just jumps back to the customer list overview, and then when you re-view the customer's shopping cart all the items are still there.

2 REPLIES 2
Highlighted

Re: Unable to delete cart items from specific customer

Hi @matthiasveec94 

Please check with following controller first:

/vendor/magento/module-checkout/Controller/Cart/Delete.php

After click on delete button of cart item, try to debug with execute function is working or not of this controller. This file use for delete item from customer cart.
You can  debug with this controller and resolve issue.


If issue resolve, please click on 'Kudos' & Accept as Solution!

Highlighted

Re: Unable to delete cart items from specific customer

@matthiasveec94 

 

There might be following possible reasons :

  1. Customer Group : Please check if any group is assigned to that customer and that is occurring issue, if it is associated to any group, check for other customers linked to that group.
  2. Check log files if there is any exception/error which is not displaying on production mode
  3. Cart Items : It can be issue of Items added in cart, try to add those products in different customer account.
Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !