How to change button message if product is out of stock?

This topic has 7 replies, 3 voices, and was last updated 9 months, 1 weeks ago ago by Andrew Mitchell

  • Avatar: atipikall
    atipikall
    Participant
    February 15, 2024 at 15:16

    Currently if a product it’s out of stock the text changes from “Add to cart” to “Read more”.

    How to change button message if product is out of stock?

    Also can i disable the button the button if product is out of stock?

    6 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 15, 2024 at 15:42

    Hello, Atipikall,

    Thank you for reaching out to us with your query.

    Install the Loco Translate plugin > create English translation for WooCommerce plugin > change text and disable the Loco plugin.

    Do you want to disable the same “Read more” button?

    Best Regards,
    8Theme’s Team

    Avatar: atipikall
    atipikall
    Participant
    February 15, 2024 at 15:47

    Yes, i want to disable the same read more button

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 15, 2024 at 15:57

    Hello, Atipikall,

    We kindly request that you insert the following code into the “Theme Custom CSS” section, which can be found under “Theme Options”:

    .outofstock .button {
        display: none;
    }

    Best Regards,
    8Theme’s Team

    Avatar: atipikall
    atipikall
    Participant
    February 15, 2024 at 16:02

    Is there a way to change text of a sold out item without installing Loco Translate plugin?

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 15, 2024 at 16:14

    Hello,

    We would like to inform you that the method we have outlined is the most straightforward approach. Upon completion of the necessary adjustments, you have the option to deactivate and remove the Loco Translate plugin. Alternatively, modifications can be made through a child theme, as the translations originate from the WooCommerce plugin itself.

    Should you require further assistance with the WooCommerce plugin, we recommend reaching out to their dedicated support team for specialized guidance – https://wordpress.org/support/plugin/woocommerce/

    We appreciate your attention to this matter and are here to assist with any additional inquiries you may have.

    Best Regards,
    8Theme’s Team

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    February 15, 2024 at 16:14

    Dear atipikall,

    Choosing our theme reflects your commitment to quality, and for that, we’re genuinely grateful. As we constantly strive to elevate your experience, your feedback is an invaluable gift. Could you kindly take a moment to rate our product with 5 stars on ThemeForest?

    Click here to share your insights: https://themeforest.net/downloads

    Your support fuels our journey, and we appreciate it more than words can express.

    Best Regards,
    The 8Theme Team

  • Viewing 7 results - 1 through 7 (of 7 total)

The issue related to '‘How to change button message if product is out of stock?’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.