client.country_name doesn't show anything

Subscribe to client.country_name doesn't show anything 3 post(s), 2 voice(s)

 
Avatar Heather 8 post(s)

I have this in my template:

{% if client.country_name == ‘United States of America’ }
{
assign intl = false }
{
else }
{
assign intl = true }
{
endif %}

No matter what the country is set to for the client, the display always comes back assigned to true for intl.

If I just list this in my template:

{{ client.country_name }}

Nothing is displayed.

Any ideas?

 
Avatar AdamJ 51 post(s)

@heather – take a look at this thread: http://forum.getcashboard.com/forums/6/topics/310

 
Avatar Heather 8 post(s)

Yes, I saw that thread before I posted and I didn’t find it helpful. But apparently I wasn’t looking hard enough. I tried this and it works!

{% if estimate.client.country_name == ‘United States of America’ }
{ assign intl = false }
{ else }
{ assign intl = true }
{ endif %}

Thank you so much!