Site stopped working
-
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-5038After 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
The topic ‘Site stopped working’ is closed to new replies.