Patrick's Programming Blog

Disable WooCommerce From: $$ Price

woocommerce banner

One of the requests I hear all the time is how to remove the WooCommerce “From: $$” price on the variable product page. Some people feel that it adds unnecessary clutter to the page. The good news here is that WooCommerce is incredibly flexible. With a simple filter you can modify that price however you want or remove it entirely.

Disable From Price Plugin

I've created a small plugin that you should be able to drop into your wp-content/plugins folder, activate it, and you're done!

Gotcha's

The only gotcha for this plugin is that it will always hide the from price. This includes the case where all of the variation prices are the same so the price right above the add to cart button is hidden and now you're hiding the top price. To mitigate this you would have to modify this filter to check to see if the prices are different and then return an empty string.

Exit mobile version