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.
|