Guest User

Untitled

a guest
Jan 18th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. %%[VAR @country
  2.  
  3. IF Empty(Country) THEN
  4. SET @country = 'US'
  5. ELSEIF RowCount(LookupRows('international_footer_specs', 'Country Code', Country)) > 0 THEN
  6. SET @country = Lookup('international_footer_specs', 'Country Code', 'Country Code', Country)
  7. ELSEIF RowCount(LookupRows('international_footer_specs', 'Country Name', Country)) > 0 THEN
  8. SET @country = Lookup('international_footer_specs', 'Country Code', 'Country Name', Country)
  9. ELSE
  10. SET @country = 'US'
  11. ENDIF
  12.  
  13. ]%%
Add Comment
Please, Sign In to add comment