0

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!

Mauricio Scheffer
  • 98,863
  • 23
  • 192
  • 275
Joe
  • 633
  • 4
  • 11
  • 18
  • This is a very ablecommerce-specific question and since it's a commercial product I'd try asking them for support, you'll probably get a better response directly from them. – Mauricio Scheffer Mar 22 '10 at 16:06
  • Mauricio, thanks. I also have a post on the ablecommerce forums, but need a answer urgently. Because they use NVelocity which is widely accepted, I was hoping I could get an answer here faster. Anyone know how? – Joe Mar 22 '10 at 16:30
  • the thing is, this is not related to NVelocity itself. I'm familiar with NVelocity but not Able Commerce, I can't possibly know what values Able passes to the NVelocity context. – Mauricio Scheffer Mar 22 '10 at 22:14

1 Answers1

0

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
  • 633
  • 4
  • 11
  • 18