• Resolved bieke81

    (@bieke81)


    Hi,

    We installed the free version of the YITH woocommerce wishlist plugin and are loving it so far. We are encoutering one small issue though. When people created a wishlist and want to send it via email, we noticed that the email title that gets created has plusses between the words instead of spaces. Is this something we can fix easily?

    Thanks in advance for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    thanks for contacting us!

    To achieve what you need, please add the following code in the functions.php file of your active theme:

    if (!function_exists('yith_wcwl_email_share_subject_custom')) {
    function yith_wcwl_email_share_subject_custom( $subject ) {
    $subject = str_replace( '+', ' ', $subject );
    return $subject;
    }
    add_filter( 'yith_wcwl_email_share_subject', 'yith_wcwl_email_share_subject_custom', 99 );
    }

    Could you check it, please?

    Best regards.

    Thread Starter bieke81

    (@bieke81)

    Hi,

    This code works. Thank you very much.

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