Change 'Out of stock text' on product page

Solved2 replies2 participantsUpdated by Eva Kemp

  • Avatar: nikk51
    nikk51
    Participant

    Hi,

    I need to change the text on the product page that is shown in place of the ‘add to basket’ button when a product is set to ‘out of stock’.

    Basically instead of showing ‘Out of Stock’ I want it to show ‘Sold Out!’ .

    Could you advise on how to do this?

    Many thanks

    2 Answers

    Avatar: nikk51
    nikk51
    Participant

    Hi – I worked out how to do this, its in the ‘simple.php’ file that can be found in woocommerce> single-product>add-to-cart> simple.php

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    We’re glad you’ve found the solution.

    Have a nice day.
    Regards,
    Eva Kemp.

The issue related to '‘Change 'Out of stock text' on product page’' has been successfully resolved, and the topic is now closed for further responses