I'm trying to add a word, as well as a comma but only if the next field isn't empty. If it is empty then I just want to add a word because it's the end of a list. My problem is if the field is empty, it won't show my word and Product1.
I'm sure I'm missing something simple but I can't figure it out. I had it as an Else but it kept showing the word and not the product1.
%%[ if not empty(@Product2) then ]%%
not empty
%%= v(@Product1) =%%,
%%[ if empty(@Product2) then ]%%
empty
%%= v(@Product1) =%%%%[ENDIF]%%%%[ENDIF]%%
What am I missing?