• maix

    (@maix)


    hi there, can i know how to change the button ‘added’ text?

    At setting i already change the text, but when i click ‘compare’ then will out the ‘added’ text, and when i refresh the page then just show out i change the text.

Viewing 1 replies (of 1 total)
  • Plugin Support crodriguez1991

    (@crodriguez1991)

    Hello there,

    I hope you’re doing well :D.

    If you want to change the text. You can do it using the following code in the functions.php of your active theme

    if( !function_exists('yith_woocompare_compare_added_label_change_text') ) {
        function yith_woocompare_compare_added_label_change_text($text)
        {
            $text = 'custom text';
            return $text;
        }
    
        add_filter('yith_woocompare_compare_added_label', 'yith_woocompare_compare_added_label_change_text');
    }

    Only you need to change “added text” and add your custom text.

    Note: Seems the compare feature is added by our plugin but the design is from your theme. If doesn’t work, I suggest you to contact theme developers.

    I hope it helps you.

    Have a good day.

Viewing 1 replies (of 1 total)
  • The topic ‘‘added’ text’ is closed to new replies.