Woocommerce – Disable Variable Product Price Range

I had a client want to add From to the Woocommerce variation to remove the default price: $1000 – $3000. Simply add the code below to your function.php page.

You can also find this function.php file under the Appearance > Editor in WordPress admin panel.

In order to remove the larger value of the price, we should add the following code to function.php – before the closing tag ?> to the bottom of the file: