• Hi,
    I was trying to remove the out of stock label as described in this link http://wpdecoder.com/php/woocommerce-change-out-of-stock-text/#comment-5038

    After insterting the code into my site using the code snippet pluggin my site stopped working.

    Error message: “”websitename.net is currently unable to handle this request””

    I have disabled and removed the codes but still my site wont work.
    Here is the code used.

    add_filter(‘woocommerce_get_availability’, ‘availability_filter_func’);
    function availability_filter_func($availability)
    {
    $availability[‘availability’] = str_ireplace(‘Out of stock’, ‘Coming Soon!’, $availability[‘availability’]);
    return $availability;
    }

    Your kind assistance and suggestions would be appreciated.

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    Hello,

    It sounds like this might be a problem with your server. I can’t say for sure what might be going wrong, but I would check your resource usage with your web host.

Viewing 1 replies (of 1 total)

The topic ‘Site stopped working’ is closed to new replies.