This code snippet allows you to change the price of a WooCommerce product to a text value such as “Free”.
Matt Geri