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

Created by Esther Nguyen, Modified on Mon, 13 Apr at 3:01 AM by Support Agent

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 there is any concern, please contact us. Here are some information about BSS Commerce:


BSS Commerce is a trusted Magento 2 extensions provider with 14+ years of experience, serving 75,000+ customers worldwide. We are an Adobe Commerce Solution Bronze Partner and a Select Magento Extensions Builder, reinforcing our expertise in the Magento ecosystem.


We specialize in developing 150+ high-quality Magento 2 extensions that enhance functionality, improve user experience, and support scalable growth. Our reputation is built on long-term partnerships, positive feedback, and proven performance-driven solutions.


INSTALL OUR MOST POWERFULPLUGINS:

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