How to return the "default" woocommerce displaying prices of goods if price is not listed?

Warning: count(): Parameter must be an array or an object that implements Countable in /home/styllloz/public_html/qa-theme/donut-theme/qa-donut-layer.php on line 274
0 like 0 dislike
There are current Internet-shop, in which case the prices of the goods displayed button "custom"
In functinon.php my daughter found:
add_filter('woocommerce_empty_price_html', 'empty_price_message'); empty_price_message function() { return 'on order'; }

Most likely this code and practiced. So now have stopped working. As a result, now the products have no prices that show the price of 0 roubles, and the message "on order" and at all is not present. There is again a custom shop, it has all the rules. Ie, if the price is not specified, no not the price nor the customer service...

Understand that little of the incoming data, but you never know. Maybe just tell me where to look?

woocommerc, wordpress and all plugins to the latest versions.
by | 108 views

1 Answer

0 like 0 dislike
Myself found. Plugin - Woo Discount Rules byaku brings in the upgrade.
110,608 questions
257,186 answers
35,389 users