Page 1 of 1

Different Order Emails for Anonymous?

Posted: Mon Nov 21, 2011 10:33 am
by sweeperq
Is there a way to send a different Order Confirmation email for users that decided to place their orders anonymously (choose not to provide a password)? We've had a couple of people place anonymous orders, then try to view the order status online using the link in the email. Well, they don't have an account so there is no way for them to check the order status online. We'd like to simply omit the order status row from the email for anonymous users.

Re: Different Order Emails for Anonymous?

Posted: Tue Nov 29, 2011 11:16 pm
by AbleMods
Wow old post and should have been answered long ago.

Just edit the email template and add a #IF (!$user.IsAnonymous) section that encloses the order-status row. That should prevent the row from rendering in the email if the user is anonymous.

Check out other email templates to see examples of how IF statements are handled. If the syntax is off by a single character, it'll blow up the whole email.

You can test email templates by clicking the address on the View Order page of any order. There's a Preview and Send button that let's you render the email to the screen before it ever gets emailed.

Don't use the AC7 HTML editor to edit email templates either. Tends to mess them up. Use a regular text editor and copy/paste to get done what you need.

Re: Different Order Emails for Anonymous?

Posted: Thu Dec 01, 2011 3:44 pm
by sweeperq
Don't know how I overlooked that one. Thanks Joe.

Re: Different Order Emails for Anonymous?

Posted: Thu Dec 01, 2011 3:51 pm
by AbleMods
If I had but only a nickel every time I said that to myself........