开发者

Target Non-US Customers In Email Template (NVelocity)

I am using Able Commerce and need to customize the Customer Order Notification email template. I believe Able uses NVelocity for its email templates customization.

I would like to display a message to N开发者_运维技巧on-US customers only. In other words, I would like to prevent the US customer from seeing a message not specific to them.

How do I do this?

Thanks!


For anyone interested in the solution, here is what I ended up using:

#if($order.User.PrimaryAddress.CountryCode!="US")
text for international customers
#end

So, I pulled the primary address from the users order and displayed the international customer text if their country code was not US.

Thanks,
Joe

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜