Support » Plugin: YITH WooCommerce Wishlist » “Select options” button not translatable

Viewing 1 replies (of 1 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hello there,
    hope you are doing well! 🙂

    We have been checking with different languages and for us, this button is translated properly, so maybe, as you say, the string is missed on the translation.

    Anyway, if you want, you can solve this issue easily adding the next code in the functions.php of your active theme, replacing the string “Select options” by your string translated.

    if ( ! function_exists('variable_add_to_cart_text_custom' ) ) {
        function variable_add_to_cart_text_custom( $text ){
    
            $text = __( "Select options", 'yith-woocommerce-gift-cards' );
            return $text;
        }
    }
    add_filter( 'variable_add_to_cart_text', 'variable_add_to_cart_text_custom', 10, 1 );

    Could you check it and let us know any news, please?

    Have a nice day!

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