• Resolved helpvi

    (@helpvi)


    The product price in the wishlist shows “Free!” if the product is made with a empty price. How can I change the “Free!” to something like “Sold”?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    Please, try to add the following snippet of code at the end of functions.php file of your theme or child theme

    if ( ! function_exists( 'yith_wcwl_change_free_text' ) ) {
    	function yith_wcwl_change_free_text() {
    		return 'Sold';
    	}
    	add_filter( 'yith_free_text', 'yith_wcwl_change_free_text' );
    }
    
    Thread Starter helpvi

    (@helpvi)

    Thanks a lot! This worked for me.

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome

    If you enjoy our plugin, don’t forget to leave us a 5 star review, to support us and help our work
    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Free! in product price’ is closed to new replies.