最近搜索


没有最近搜索

How to use your Brand's logo on Mutibrand email template



已于 2015年6月04日 发布

If you're using the new Multibrand, I'm sure you're disappointed with the fact that each brand don't have their own email template and you need to make do with only one.

Good news is: there's a workaround for that!

With Liquid Markup, you can insert your logo or important links that are related to a single brand.

All you have to do is edit your Triggers and Automations that notify users and add in them a "case" statement according to each brand.

Let's say I have 5 brands, and I want to show a certain logo for 2 of them. Here's what I would add to the end of each trigger and automation:

 

% case ticket.brand.name %}  
{% when 'Brand 1' %}  

<a href="http://brand1.com" target="_blank" border="0"><img src="http://link.to/brand1.jpg" alt="brand1" border="0" /></a>  

{% when 'Brand 2' %}  

<a href="http://brand2.com" target="_blank" border="0"><img src="http://link.to/brand2.jpg" alt="brand2" border="0" /></a>  

{% else %}  

<a href="http://nobrand.com" target="_blank" border="0"><img src="http://link.to/nobrand.jpg" alt="nobrand" border="0" /></a>  

{% endcase %}

 

This will show a different image according to your brand. You can go crazy and add tablet, links and whatever you need. Just make sure you test it well, as getting the layout right can get a bit tricky.

Important: when you create your base email template for all brands, build it in a way that if you replace the {{content}} tag with the HTML code for each brand the layout still looks good, because that's where the images will show up.

Have fun!


1

5

5 条评论

image avatar

Jessie Schutz

Zendesk Customer Care

Thanks for the awesome tip, Suzana!

0


image avatar

Jennifer Rowe

Zendesk Documentation Team

How did I miss this!? I always love your tips, Suzana. Thanks for sharing!

0


Thanks Suzana.

0


That's cool Suzana!

0


Thank you Jennifer!

0


请先登录再写评论。

找不到所需的内容?

新建帖子