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
精彩评论