QUESTION:
I got this error below when adding a product to the cart.
The error appeared after installing the module Bss_OneStepCheckoutAdvanced v2.2.6 on my site M2.3.5_p2.
1 exception (s):
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with customerId =
Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with customerId =
<pre>#1 Magento\Customer\Model\CustomerRegistry->retrieve() called at [vendor/magento/mdoule-customer/Model/ResourceModel/CustomerRepository .php : 340)...
ANSWER:
With this module error, please edit the file app/code/Bss/OrderAmount/Helper/Data.php as below:

Or please download the file fix I attached below and overrides the current file on your site:
If you need further assistance, please don't hesitate to contact us. Don't forget that BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.
Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.
Our most powerful extensions are BSS Commerce’s Magento 2 B2B Extension & BSS Commerce’s Magento 2 SEO Extension
Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article