How to specify a default “From” email field in Wishlist sharing emails?

The Wishlist Sharing on Smart Wishlist is currently handled using a 3rd party service known as Addthis.

Here, the “from” is an editable field and is not set to anything by default. It is upto the sender to specify the “from” email address.

If you want, we can set the default “from” email address to anything you want. But it would still be editable and the users would have the option to change it.

Add the below code towards the closing </body> tag in layout/theme.liquid. Make sure to replace with appropriate email id.

{% unless template %}
<script type="text/javascript">
var addthis_config = addthis_config||{};
    addthis_config.ui_email_from = '';
{% endunless %}

Leave a Reply

Your email address will not be published. Required fields are marked *