nimonogi Posted January 14, 2016 Share Posted January 14, 2016 Hello, How can I show a message in Email Templates, only when related service is in a specific Product Group. {if Product.Group eq "Hosting"}Hi{/if} Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted January 14, 2016 Share Posted January 14, 2016 if the mergefield you want to use doesn't exist in your template, then you'll either have to write a hook to get the value you want and pass it to the template, or find a workaround using an existing mergefield. e.g, if this was a product email template, you could use $service_product_name if you if statements - but I think that would only work if your product names were unique. {if $service_product_name eq "product1" or $service_product_name eq "product2"}Hi{/if} alternatively, you could use the email marketer as that allows you to specify which products are required to receive the emails... and the products in there are already listed in group order anyway. [TABLE] [TR] [TD][/TD] [TD][/TD] [/TR] [/TABLE] 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.