Hi,
Just wondering if someone could point me in the right direction - I'm attempting to include usergroup data in the subject of the order confirmation emails that get sent to the orders department so Wholesale orders can be easily separated from regular consumer orders. Has anyone been successful in pulling up the right variable in order_notification.tpl? Something similar to using either
{if $user_data.usergroups[$usergroup.usergroup_id] == "10"}Wholesale{/if}
or
{if $smarty.session.auth.usergroup_Ids && $smarty.session.auth.usergroup_Ids|in_array:10}Wholesale{/if}
… however neither of these solutions return the correct results.
Any pointers would be greatly appreciated.
Thanks!