X
Status In Progress is working on this job.
31535

Ticket #31535 Public

Event Pricing: Change text "Free!" when ticket price set to 0

Greetings EventON support staff,
Thank you for the ongoing assistance! We’ve had a request to change the text that appears when an event ticket price is set to 0, which currently says “Free!” to say “Dana-based” or something of that nature. Where in the theme configuration files would I find the file to edit to change the text that currently says “Free!”?

BY: ESHM - Mar 17,2017 AT 4:05PM - 5 years ago
    • By: infotainerdave Mar 17,2017 AT 6:17PM - Posted 5 years ago - #31542

      I believe it is a woocommerce setting

      these guys say they have a free plugin to remove it

      http://www.businesslegions.com/blog/2014/12/10/woocommerce-remove-free-price-plugin/

      but I have not tested it nor am I endorsing it and I personally don’t recommend installing a plugin from just anyone-(what else is it adding to your site?)  best to contact woocommerce support to find out how to change the word as that display is created by woo it is obviously somewhere in woocommerce files if you have the time to go through each file (who does?)

    • By: infotainerdave Mar 17,2017 AT 6:19PM - Posted 5 years ago - #31543

      found this on a blog

      add this to your functions.php file

      function avf_woocommerce_free_price_html( $price, $instance ) {
           $price = '<span class="amount">TEXT HERE!</span>';
           return $price;
       };
      
       add_filter( 'woocommerce_free_price_html', 'avf_woocommerce_free_price_html', 10, 2 );
    • By: infotainerdave Mar 17,2017 AT 6:19PM - Posted 5 years ago - #31544

      not sure if the above works or does it screw up the site- best to double check with woo

You must login to reply to this ticket

HelpDesk

Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON