Support » Plugin: Wishlist and Waitlist for WooCommerce » File to edit email

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

    (@dholovnia)

    Hi,

    Please open for edit file wish-list.php line 420. You will see there function send_email. You can edit there text as needed and you need to change a line of code:
    wp_mail( $user->user_email, $subject, $message );
    to

    
    wp_mail( $user->user_email, $subject, $message, array('content-type: text/html') );
    

    With code change it will use email as html and it will look nicer.

    Regards,
    Dima

    Thread Starter Rafa Carvalhido

    (@rafacarvalhido)

    Hi Dima! I will check on that.

    This is also happening to me: https://www.screencast.com/t/CtfEHuOFHw2
    The products on waiting list are showing in 3 different spots.

    I don´t know if you agree, but I think I should reset the plugin. Do you have special instructions to remove the plugin and all entrances from database? I tried deleting and reinstalling, but the settings came back all the same and no new page for ‘ww list’ was created.

    Should I open another ticket for this? And where can I give idea for next release (like deleting the itens from users list after email has been sent)?

    Thread Starter Rafa Carvalhido

    (@rafacarvalhido)

    As for the email, your solution did solve the showing html tags.

    As for the wrong list showing, I looked around and it seems to me like the contents of wait.php is only called by the filter ‘the_content’ . I also tried installing the plugin on another website residing in a different server and a bug also showed, but diferently: only showed twice and below content… Kind of frustrating.

    So far, I´m doing this to hide the extra lists:
    article#post-3697 .berocket_ww_container {//post id
    display: block;
    }
    .berocket_ww_container {
    display: none;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘File to edit email’ is closed to new replies.