Title: price Free
Last modified: August 31, 2016

---

# price Free

 *  [msbazilio](https://wordpress.org/support/users/msbazilio/)
 * (@msbazilio)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/)
 * Hello, which is assigned the “Free” when you put zero in the value of the product?
   If you want to change where I do?
 * [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [Prasad Nevase](https://wordpress.org/support/users/prasad-nevase/)
 * (@prasad-nevase)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311160)
 * I believe you are talking about changing the text “Free” to something else when
   product regular price is set to 0. If so, then you may use following code. Place
   this in your theme’s functions.php file:
 *     ```
       add_filter( 'woocommerce_free_price_html', 'my_custom_woocommerce_free_text', 10, 2 );
       function my_custom_woocommerce_free_text( $price, $product_instance ){
       	$price = '<span class="amount">' . __( 'Thats Free Hurry!', 'woocommerce' ) . '</span>';
       	return $price;
       }
       ```
   
 * Where I have said **Thats Free Hurry!** needs to be changed as per your requirement.
   I hope this helps.
 *  Thread Starter [msbazilio](https://wordpress.org/support/users/msbazilio/)
 * (@msbazilio)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311319)
 * Sorry, but it did not work.
    I’m using this function, but the shopping trolley
   listed as 0
 * > “add_filter( ‘woocommerce_variable_free_price_html’, ‘hide_free_price_notice’);
   > add_filter( ‘woocommerce_free_price_html’, ‘hide_free_price_notice’ );
   > add_filter( ‘woocommerce_variation_free_price_html’, ‘hide_free_price_notice’);
   > function hide_free_price_notice( $price)
   >  { return ‘Sob Consulta’; }”
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311333)
 * > I’m using this function, but the shopping trolley listed as 0
 * The code snippet does product prices, The cart values should be numeric.
 *  Thread Starter [msbazilio](https://wordpress.org/support/users/msbazilio/)
 * (@msbazilio)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311336)
 * ok!
    You have no way to leave a string then?
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311350)
 * Can you screenshot me where you want the free to appear?
 *  Thread Starter [msbazilio](https://wordpress.org/support/users/msbazilio/)
 * (@msbazilio)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311351)
 * Hello, when the purchase is made and the item goes to the basket, the demonstration
   of the product is ok! But in the cart item appears $0.00.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311352)
 * I need a screenshot or link so I know if its coming from WC or your theme.
 *  Thread Starter [msbazilio](https://wordpress.org/support/users/msbazilio/)
 * (@msbazilio)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311354)
 * When you purchase this product
    [http://mkmdecoracoes.com.br/produto/garrafa-wisky/](http://mkmdecoracoes.com.br/produto/garrafa-wisky/)
   Note that the shopping trolley value will be 0.00 and not on request.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311360)
 * Ah yes of course, because regardless of those products being in the cart, the
   cart total is still 0.
 * You could use a contact form plugin or something on this page instead if it’s
   simply to get interest from customers.
 *  Thread Starter [msbazilio](https://wordpress.org/support/users/msbazilio/)
 * (@msbazilio)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311364)
 * Thank you for your attention, I would like to insert the “on request” in the 
   application, but will study other alternative.
    Thanks again.
 *  [Prasad Nevase](https://wordpress.org/support/users/prasad-nevase/)
 * (@prasad-nevase)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311365)
 * You may like to take a look at WooCommerce “[Catalog Visibility Options](https://www.woothemes.com/products/catalog-visibility-options/)”
   plugin which allows you to disable prices, purchase and customize “Add to cart”
   button text. Please [read the documentation](https://docs.woothemes.com/document/catalog-visibility-options/)
   to confirm before you purchase.
 *  Plugin Contributor [Mike Jolley](https://wordpress.org/support/users/mikejolley/)
 * (@mikejolley)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311366)
 * I was thinking of something like [https://www.woothemes.com/products/product-enquiry-form/](https://www.woothemes.com/products/product-enquiry-form/)
 *  [Prasad Nevase](https://wordpress.org/support/users/prasad-nevase/)
 * (@prasad-nevase)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311367)
 * That is also one good option if [@msbazilio](https://wordpress.org/support/users/msbazilio/)
   wants to allow selling products as well as ‘pre purchase enquiry’ through his
   site. With “Catalog Visibility Options” plugin however, he can disable purchase
   completely and disable showing prices as well. So I will say, it will be upto
   [@msbazilio](https://wordpress.org/support/users/msbazilio/) to check what suits
   his requirement and go ahead accordingly 🙂

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘price Free’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3640790)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [Prasad Nevase](https://wordpress.org/support/users/prasad-nevase/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/price-free/#post-7311367)
 * Status: not resolved