Changing mailto and subject line when sharing wishlist
-
When you share wishlist by email I want to have already in the email window popup the email it will send to and the subject to not be “I wanted you to see this site”.
I went into the share.php file and changed
<?php if( $share_email_enabled ): ?>
<li style=”list-style-type: none; display: inline-block;”>
mailto:info@whitetailcollections.com?subject=My%20Wishlist&body=<?php echo $share_link_url ?>&title=<?php echo $share_link_title ?>” title=”<?php _e( ‘Email’, ‘yith-woocommerce-wishlist’ ) ?>”><?php endif; ?>
also changed in the class.yith-wcwl-ui.php
if( get_option( ‘yith_wcwl_share_email’ ) == ‘yes’ )
{ $html .= ‘<li style=”list-style-type: none; display: inline-block;”>info@whitetailcollections.com?subject=My Wishlist&body= ‘ . $url . ‘&title=’ . __(’email’, ‘yith-woocommerce-wishlist’) . ‘” title=”‘ . $title . ‘” >‘; }After doing this it still doesn’t change, any way to do this?
- The topic ‘Changing mailto and subject line when sharing wishlist’ is closed to new replies.