Change wording of 'out of stock'

This topic has 10 replies, 5 voices, and was last updated 8 years, 3 months ago ago by Robert Hall

  • Avatar: Lily
    Lily
    Participant
    December 11, 2015 at 09:45

    Hi,

    Can you let me know which file to change the wording for ‘Out of Stock’ to ‘Sold Out’?

    Many thanks

    9 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 11, 2015 at 09:53

    Hello,

    You can change it in \wp-content\themes\legenda\woocommerce\content-product.php file.
    Please find this code <span class="out-of-stock"><?php _e('Out of stock', ETHEME_DOMAIN) ?></span>

    Regards,
    Robert Hall.

    Avatar: Lily
    Lily
    Participant
    December 16, 2015 at 11:30

    Hi,

    I have changed the line to ‘Sold Out’ but on this page see below as an example the old message is still showing.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 16, 2015 at 14:08
    Avatar: Lily
    Lily
    Participant
    December 16, 2015 at 15:15

    Many thanks, so I could add this to child theme?

    Avatar: Eva
    Eva Kemp
    Support staff
    December 16, 2015 at 16:06

    Hello,

    Yes, you can add that code child theme functions.php file.

    Regards,
    Eva Kemp.

    Avatar: DoubleHapp
    Renee
    Participant
    August 1, 2016 at 02:52

    #104558 post – this link comes up… https://docs.woocommerce.com/external-document/?author=WP%20Tribe

    1. Only 1 left in stock – changed to 1 IN STOCK + can this be also changed to GREEN?
    2. OUT OF STOCK (contact us to order) – still need this resolved

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    August 1, 2016 at 10:02

    Hello @DoubleHapp,

    You have been answered in this topic https://www.8theme.com/topic/out-of-stock-text/#post-135169
    As for

    Only 1 left in stock – changed to 1 IN STOCK + can this be also changed to GREEN?

    please give us a link to such product. Also clarify if you want to change that text color to green.

    Best regards,
    Jack Richardson.

    Avatar: DoubleHapp
    Renee
    Participant
    August 1, 2016 at 10:25

    Hi Jack

    Everything is working as I want now. Thank you!

    You can close this ticket 🙂

    Avatar: Robert Hall
    Robert Hall
    Support staff
    August 1, 2016 at 10:30

    Hello,

    You’re welcome!

    Regards,
    Robert Hall

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

The issue related to '‘Change wording of '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.