Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter flankers

    (@flankers)

    Hello,

    Thanks for your prompt reply.
    I have tried to change the priority of my hook but it was not working. Also, CSS seems not to be a viable alternative.

    I decided to take a further look at the plugin file and find the related hook. I was then able to solve my problem with this snippet:

    add_filter('eha_variable_sale_price_html','from_variation_price_format',4,999);
       function from_variation_price_format($price, $min_sale_price,$max_sale_price ,$min_reg_price)
       {
           return "From: ".wc_price($min_sale_price);
       }

    Maybe this will be helpful for other people that encounter the same behavior. 🙂

Viewing 1 replies (of 1 total)