Home Forums Technical Support how to make woocommerce product free instead of 0

Topic Resolution: Resolved

This topic contains 9 replies, has 2 voices, and was last updated by  Nitro Support 2 years, 1 month ago.

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
  • #1465

    Currently Digibits freebies  is displayed as 0 dollar .  I want to make it free instead of 0 .. Currently i am unable to add words and only numbers are allowed in woocommerce products .




    Could you please provide some screenshots and url about this issue?

    Thank you 🙂


    First of all i would like to say that it is not a issue .. It is how woo commerce currently provides. ..

    I want to make as i have highlighted in image . Instead of setting price as 0 i want to add letters free ..

    <h3 class=”r”></h3>



    Please provide the page url, maybe we can use a Custom JS to sort it.

    This reply has been marked as private.


    You can try the JS below (add to Customize > System > Custom JS at the first line):

    jQuery(“span.woocommerce-Price-amount.amount”).text(function () {
    return jQuery(this).text().replace(“0.00”, “FREE”);

    Actually, I added it for you to make sure it’s working, please kindly clear browser cache then recheck your page now, thank you


    Thanks for code .. Is there  a way to remove  rupee (currency) symbol also for free content



    I tried that but the problem here is there isn’t have any special class or a way to detect which product has 0 price so we can remove the currency on that product only.

    If we just remove the currency, it will remove this for all products.


    ok no problem .. thanks for help ..



    Thanks for your update, if you need any assistance, please let me know

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘how to make woocommerce product free instead of 0’ is closed to new replies.