Home Forums WoodMart support forum Change default notice

Change default notice

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #546092

    refa
    Participant

    Hi,

    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.

    Thank you,

    Attachments:
    You must be logged in to view attached files.
    #546191

    Hung Pham
    Participant

    Hi refa,

    Thanks for reaching to us.

    + 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.

    Regards,

    #546216

    refa
    Participant

    I tried it didn’t work for me.

    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.

    Thank you,

    #546602

    Hung Pham
    Participant

    Hi refa,

    Thanks for your patience.

    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/

    Best Regards.

Viewing 4 posts - 1 through 4 (of 4 total)