Answer the question
In order to leave comments, you need to log in
How to return the "default" woocommerce display of the product price in case the price is not specified?
There is an active online store, in which, in the absence of a price for the goods, the button "ON ORDER" was displayed.
In functinon.php, my daughter found:
add_filter('woocommerce_empty_price_html', 'empty_price_message');
function empty_price_message() {
return 'Под заказ';
}
Answer the question
In order to leave comments, you need to log in
I found it myself. The plugin - Woo Discount Rules introduced such a bug when updating.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question