Search Knowledge Base by Keyword

Integrate Share wishlist email with Klaviyo

Note: This document is a work in progress. We appreciate your feedback, please do drop your feedback at support@swymcorp.com

To setup the share wishlist email template, you can create a new template using the Klaviyo template editor and include the Swym product/template blocks where you want it. Once done, you can preview/test email and share the template id with us.

Here is a themed Klaviyo email template that is transformed to include Swym data tags
Before adding Swym data tags

After adding Swym data tags

Template blocks to insert

  1. From Address – This can be pasted inside existing or new text block
Hi there! {{from_address}} has shared their wishlist with you.

ShellCopy

  1. Share Wishlist Message – This can be pasted inside existing or new text block
{% if note %} {{note|safe}} {% endif %}

ShellCopy

  1. Products – 4 column block – insert a text block > open “Source” section and paste the below code
<div class="devicewidth kmMobileAutoWidth" style="max-width: 570px;margin:auto;width:100%">{% for item in products %}
<table align="left" border="0" cellpadding="0" cellspacing="0" class="devicewidth kmMobileAutoWidth" height="320" style="margin-bottom: 10px;" width="140">
	<tbody>
		<tr>
			<td>
			<table align="center" height="200" style="width:100%">
				<tbody>
					<tr>
						<td valign="middle">
              <a class="maxxheight" href="{{ item.du }}" style="display:block;max-height:200px">
                {% if "https:" in item.iu %}
                <img alt="" border="0" class="" src="{{ item.iu }}" style="display:block; margin:auto; border:none; outline:none; text-decoration:none;padding-right:2px;" width="140" />
                {% else %}
                <img alt="" border="0" class="" src="https:{{ item.iu }}" style="display:block; margin:auto; border:none; outline:none; text-decoration:none;padding-right:2px;" width="140" />
                {% endif %}
              </a>
            </td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
		<tr>
			<td>
			<table align="center" height="100" style="width:100%">
				<tbody>
					<tr>
						<td align="center" valign="bottom">
						<p><a class="deviceheight" href="{{ item.du }}" style="max-height:30px;overflow:hidden;display:block;color:#282828;font-size:13px;line-height:16px;padding-top:3px;"><span>{{ item.dt }}</span><span>{% if item.variantInfo %} - {{ item.variantInfo }} {% endif %} </span> </a> <span style="display:block;font-size:13px;padding-top:2px;">$ {{ item.pr |floatformat:2 }}</span> <a class="mcnButton " href="{{ item.du }}" style="font-weight:bold;letter-spacing:normal;line-height:30px;text-align:center;background-color:#2baadf;width:100px;height:30px;text-decoration:none;color:#FFFFFF;mso-line-height-rule:exactly;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;display:block; margin:10px auto 0px auto;" target="_blank" title="View Now">View Now</a></p>
						</td>
					</tr>
				</tbody>
			</table>
			</td>
		</tr>
	</tbody>
</table>
{% endfor %}</div>

ShellCopy

Preview Data

Use below data in case you want to run a preview before saving and integrating the template to Swym

{"from_address":"example@example.com","note":"Check out my wishlist","products":[{"variantInfo":"Small Pink","dt":"Silk Drop Crotch Pant","empi":8066813707,"du":"https://demo.swym.it/products/silk-drop-crotch-pant-pink?variant=26450339787","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26450339787,"iu":"//cdn.shopify.com/s/files/1/1751/1833/products/2015-03-26_Ashley_Look_22_23685_16221_9854e2de-3634-44bd-bc05-c68475f99d2b_1024x1024.jpg?v=1485853700","pr":299.6},{"variantInfo":"38 Blue","dt":"Side Ruche Skirt","empi":8066808587,"du":"https://demo.swym.it/products/side-ruche-skirt-blue?variant=26450259659","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26450259659,"iu":"//cdn.shopify.com/s/files/1/1751/1833/products/2015-03-20_Ashley_Look_02_23541_15303_1024x1024.jpg?v=1485853457","pr":180.6},{"variantInfo":"12 Yellow","dt":"Buttercup Dress","empi":8066807499,"du":"https://demo.swym.it/collections/antoni-alison/products/buttercup-dress-yellow?variant=26450222283","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26450222283,"iu":"https://cdn.shopify.com/s/files/1/1751/1833/products/2015-03-20_Ashley_Look_23_23505_15633_1024x1024.jpg?v=1485853389","pr":523.6},{"variantInfo":"12 Green Multi","dt":"Floral Sleeveless Dress","empi":8066807755,"du":"https://demo.swym.it/collections/antoni-alison/products/floral-sleeveless-dress-green-multi?variant=26450229259","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26450229259,"iu":"https://cdn.shopify.com/s/files/1/1751/1833/products/2015-03-20_Ashley_Look_18_23512_15535_1024x1024.jpg?v=1485853404","pr":383.6},{"variantInfo":"One Size Blue/Red","dt":"Amsterdam Stripe Sock","empi":8066776331,"du":"https://demo.swym.it/products/amsterdam-stripe-sock?variant=26449571851","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26449571851,"iu":"https://cdn.shopify.com/s/files/1/1751/1833/products/2015-07-08_Laydown_30574_24570_1024x1024.jpg?v=1485851946","pr":28},{"variantInfo":"Mariner 29","dt":"Alex Twill Pant in Mariner","empi":8066685963,"du":"https://demo.swym.it/products/alex-twill-pant-mariner?variant=26448201547","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26448201547,"iu":"https://cdn.shopify.com/s/files/1/1751/1833/products/2014-09-04_Addis_Look_05_33_e5bd1ec6-f6f0-41b1-b0b1-afd6f0e527be_1024x1024.jpg?v=1485849026","pr":198},{"variantInfo":"Blue 38","dt":"Adania Pant","empi":8066825739,"du":"https://demo.swym.it/products/adania-pant?variant=26450424587","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26450424587,"iu":"//cdn.shopify.com/s/files/1/1751/1833/products/2015-06-11-Ashley_Look10_50102_23612_1024x1024.jpg?v=1485854416","pr":368},{"variantInfo":"8 Clear Amethyst","dt":"Ally Ring","empi":8066806475,"du":"https://demo.swym.it/products/ally-ring-amythest?variant=26450206923","pid":"LbF6qXFRbNoHhuhXgPs7SjL8MeMDoCxl9BIk7xMXh5g=","epi":26450206923,"iu":"//cdn.shopify.com/s/files/1/1751/1833/products/2015-05-01_Accessories_03_23488_21508_1024x1024.jpg?v=1485853351","pr":218}]}

ShellCopy

Let's discuss your needs!

Let's discuss your needs!