M2.3.5, v1.3.2: Error when updating items in cart and emptying cart

Created by Esther Nguyen, Modified on Wed, 9 Feb, 2022 at 3:28 PM by Esther Nguyen

ISSUE:

1, Updating product in cart shows "error"

"The product that was requested doesn't exist. Verify the product and try again.": https://i.imgur.com/mDieecL.png 


2, Emptying cart shows "error"

"We can't remove the item.": https://i.imgur.com/NhF4CxJ.png 


SOLUTION:

The module can't get the lastProduct and lastChildProduct from the checkoutSession event at app/code/Bss/Simpledetailconfigurable/Observer/SetAdditionalOptions.php, so getting the product by lastProduct event will cause an error. 


To temporarily resolve the issue, please edit the file: app/code/Bss/Simpledetailconfigurable/Observer/SetAdditionalOptions.php as below:


 

Or download the file attached below to override the current file on your site.


If you need any further assistance, please feel free to contact us. We'd be happy to support you!

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article