Encountering an issue where the out of stock messa...
# suitecommerce
m
Encountering an issue where the out of stock messaging during checkout is not appearing when the requested quantity exceeds the in stock quantity. The code is sending a proper error and preventing order completion as it should, however customers do not know what the issue as the error message does not appear. This item's out of stock behavior is set to "Disallow back orders but display out-of-stock message", and in the screenshot you can see that I requested 10 for an item that has 3 in stock, so checkout was prevented. Any idea on what might be going wrong here? https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_0304044915.html
s
What version of SC/A are you using?
SCA versions prior to 23.2 don't have detailed error messages.
(You should still get some sort of error message.)
m
The Sandbox SC version is 2023.2.1
s
It was added in specifically 2023.2.4 🙃
You should still see something like this, however
m
Ok confirmed the same behavior from sandbox in production, however production is on SC 2025.1.2
s
OK, no error message like the above?
m
Correct, no error message, but the checkout is properly prevented
Probably time for a support case?
s
I think so. I don't know why it won't show at least a generic error message.
Small possibility that it's a theme issue
You haven't deleted the notifications placeholder sections, have you?
m
ahh that seems to be it. The notifications.tpl was missing the out of stock items data view. I did check the theme files, but not that far down! div data-view="OutOfStockItems.Notifications"/div Recent Base theme
Vs their theme
image.png
s
That'll do it. If there's nowhere to put the error message, it won't show.