How to change the default notice with a custom notice on a single product page, when the input quantity exceeds the stock quantity? I tried with different woocommerce hooks nothing works. Can you help me to resolve this? At least the file location to alter the default notice is also fine.
Please check the attached screenshot for your reference.
+ In order to change / translate words. Please make sure you synced the strings first before translating WooCommerce, WoodMart Core plugins and WoodMart theme. You can refer to article https://xtemos.com/docs-topic/theme-translation/
+ You are also need to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend.
Also, I want to change the notice message without translation or any additional plugin.
I’ve made some changes to some notices using hooks or templates. Here I don’t know which hook to use or where the file is located to override the changes.
Do you know where is the file located, that is also fine.
The strings placed in JS file of WooCommerce plugin, in this case, I recommend reaching out to WooCommerce support for further assistance in this matter https://wordpress.org/support/plugin/woocommerce/