Currently, when adding too much stock, a plugin of ours displays an error message on the product page. But it is at the bottom of the page and you have to scroll all the way down to see it. I was wondering if you could give me a snippet to make it would display at the bottom of the current view and not the bottom of the page past the footer (so people can actually see it).
<ul class=”woocommerce-error” role=”alert”>
The error cannot be seen when triggered and makes it creates an issue where customers don’t understand what is going on because they cannot see the notification in their current view.
After adding more stock than is available, the notice should popup in view to explain why.
Attachments:
You must be
logged in to view attached files.