Support » Plugin: YITH WooCommerce Wishlist » Change text of “free!”

  • Resolved sdelnevo

    (@sdelnevo)


    Hi Guys

    If a product has not had a price added to it, can the text in the wishlist be changed from “Free!” to “Not Advertised”

    I run a marketplace, and some sellers have placed there products without a price in catalogue mode

    Is that possible

    Steve

Viewing 2 replies - 1 through 2 (of 2 total)
  • answered my own question

    I changed it with Loco translate
    Steve

    Plugin Author YITHEMES

    (@yithemes)

    Hi there,
    if you want however we have just made a code for you:

    if( ! function_exists( 'yith_wcwl_change_free_text' ) ){
        function yith_wcwl_change_free_text(){
            return 'YOUR CUSTOM TEXT';
        }
        add_filter( 'yith_free_text', 'yith_wcwl_change_free_text' );
    }

    You can add this in functions.php of your theme, the only thing that you should do is change the sentence “YOUR CUSTOM TEXT”.

    If you like our plugin, please, leave a review to help it grow!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.