Home Forums WoodMart support forum woocommerce_empty_price_html hook not working as expected

woocommerce_empty_price_html hook not working as expected

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #52084

    digitalka
    Participant

    Hi,
    I would like to return text when price of a product is set to zero. I was able to do this by implementing woocommerce_empty_price_html hook in my functions file. It looks like this

    add_filter('woocommerce_empty_price_html', 'custom_call_for_price');
    
    function custom_call_for_price() {
         return 'Cena na dotaz';
    }
    

    This works on widgets (homepage widget called “Doporučené produkty”), but it isn’t working while I’m in shop page, for example here http://redled.cz/kategorie-produktu/led-prumyslove-osvetleni/

    Could you help me with this issue?

    #52112

    Hello,

    Thank you very much for choosing our theme and contacting us.

    We provide support for our theme settings and configuration as well provide custom CSS for minor changes. Also, we guarantee compatibility of the plugins which are supplied with the theme. At the same time, our support does not cover customization of plugins. You are trying to customize WooComerce and it does not work on shop page which is the WooCommerce template. Our theme does not influence on functionality or templates of WooCommerce.

    If you have any questions related to our theme feel free to contact us.

    Best regards

Viewing 2 posts - 1 through 2 (of 2 total)