"From :" text in product_price_html dynamic content

Hi,

When I use product_price_html dynamic content on a product with a custom pricing rule, a “From :” text appears in front of the product price. I want to get rid of this text and tried to do it with element CSS, but no success so far. Is it possible to make it display:none?

Thanks

Gunes

Hi Gunes,

Thanks for reaching out. I’ve taken a look and I’m not quite sure where that’s coming from. The Dynamic Content for product_price_html simply calls the WooCommerce pricing function directly like:

$product->get_price_html();

That means all the WooCommerce filters, hooks, customizations, etc. will be run on that output. Do you have any plugins that customize the shop experience? Maybe something is inserting the From text in that case.

Hi Alexander,
Thank you so much for your response. I was thinking that product_price_html is a theme property. I use a WC appointment plugin and now realized that the “from” text disappears when I disable that plugin. Thanks again for the response!

You are most welcome.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.