On Product Overview Change/Translate "Out of Stock"

This topic has 2 replies, 2 voices, and was last updated 7 years, 2 months ago ago by Rose Tyler

  • Avatar: mbertram
    mbertram
    Participant
    February 18, 2017 at 22:47

    If a product is out of stock, it shows (in the product overview) “Out of Stock” in a white circle. Is this an image? Where is it located and if not, how can I change & translate the string?
    Many thanks,
    Matthias

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 20, 2017 at 11:15

    Hello,

    It is not image, you can add this code in Custom CSS to change some style

    .product .product-image-wrapper .out-stock {
        background-color: green;
        color: white;
    }

    and translate “Out of stock” in wp-content/themes/classico/woocommerce/loop/sale-flash.php file.
    Read more here how to translate:
    https://www.8theme.com/classico-theme-documentation/ (10.Translation)

    Regards,
    Rose Tyler.

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

You must be logged in to reply to this topic.Log in/Sign up

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