Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // code goes in functions.php for your child theme
- // output a message if the product price is nil
- add_filter('woocommerce_empty_price_html', 'nil_price_message');
- function nil_price_message() {
- return 'Ring for price';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement