views:

45

answers:

1

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 Non-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!

A: 

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

Joe