View Single Post
  #1  
Old 05-07-2004, 03:18 PM
 
xcell67 xcell67 is offline
 

Senior Member
  
Join Date: Dec 2003
Posts: 149
 

Default Give Customer Choice of HTML or TEXT email

Would this be possible?
-Create a new db field, "htmltext" with Y/N values Y-HTML, N-TEXT
-add this to register.php and register.tpl giving the customer the choice of what format they want their email to be.
-this is where im having trouble, i found it easy to create if statments in tpls but for the register.php and orders.php, i cant find the proper code to be along the lines of "If userinfo html text eq Y then send profileHTML.tpl else send profile.tpl

I tried putting the if statements before the func_processed send mail lines but no luck, can someone help me out?

Thank you.
Reply With Quote