Hi,
Like this module. I have one problem tho. I have some profile fields which are selects. Through a custom hook_form_alter I load a list of available states/countries into these selects so a new user can only select countries which are enabled in ubercart.
When printing !profile data in the notification email it will print these values, but the values given by ubercart are integers.
If your module would allow theming through and somehow created tokens for each available profile field I could run these values through uc_zone_get_by_id() and uc_country_get_by_id().
I know my case is rather specific but I could imagine being able to use specific profile tokens and a tpl.php would improve the module for others too!?
Cheers
Comments
Comment #1
bartezz commentedOops, I stated incorrect version...
Comment #2
rmiddle commentedTheme'ng doesn't always work will with emails. It inserts html codes into the email making a mess of things. I guess I could insert a hook to allow you to over-ride the field. I will need to think about this.
Thanks
Robert
Comment #3
bartezz commentedThanx! That would be great...
Either a hook to overwrite or providing tokens would improve functionality very much!
Cheers
Comment #4
bartezz commentedHey Robert,
Don't want to be pushy but have you thought about it yet?
Hope you can provide some kind of hook!
Cheers
Comment #5
hass commentedPlease use the existing tokens or create your own.