Ubercart is sending customers invoice email but it does not seem to be parsing the template tokens correctly?
Specifically it's not converting order_first_name or order_last_name.
In uc_order/uc_order-customer.tpl.php there is this line:
<p><b><?php echo t('Thanks for your order, !order_first_name!', array('!order_first_name' => $order_first_name)); ?></b></p>
However when the mails are sent they don't have any first names, only this:
Thanks for your order, !
I'm wondering if the new templating system as anything to do with it?
Comments
Comment #1
essbee commentedSubscribing, I have a new site also displaying this behaviour for first-name and last-name
Comment #2
longwaveThis token works fine for me in the invoice emails. If you do not collect delivery addresses at checkout, you may want to check that "Primary customer address" at /admin/store/settings/store/edit/display is set to "Billing address", this setting determines which address pane the first and last name fields are taken from.
Comment #3
Anonymous (not verified) commentedLongwave, thanks for the post. I've checked and my settings are set to use 'Billing Address' ...
Comment #4
longwaveStill unable to reproduce this. Please reopen with more info if you are able to reliably show this problem.
Comment #5
Anandyrh commentedI have the same issue, here: http://drupal.org/node/1490662
Comment #6
Anandyrh commentedThis is fixed now,
please refer: http://drupal.org/node/1490662#comment-6697136
Cheers..!