- Posts: 98
- Thank you received: 3
Not seeing serial data in order confirmation email
13 years 11 months ago - 13 years 11 months ago #79852
by cpreen
Not seeing serial data in order confirmation email was created by cpreen
I am on HikaShop 2.0 and Hika Serial 1.5 upgrade today.
When I do a test order with a coupon to reduce the cost to zero I get no serial data in the order confirmation email.
Serial is visible in front end order display
Looking at other threads on this subject I see that this code
should be in the order_status_notification email but it is not. I remember all this working when I first tested it some months back now it's broken.
What to do? If I need that code snippet in there can you give me a clue WHERE it should go.
Please help this is quite urgent.
Conrad
When I do a test order with a coupon to reduce the cost to zero I get no serial data in the order confirmation email.
Serial is visible in front end order display
Looking at other threads on this subject I see that this code
Code:
<?php
JPluginHelper::importPlugin('hikashop');
$dispatcher =& JDispatcher::getInstance();
$dispatcher->trigger('onAfterOrderProductsListingDisplay', array(&$data->cart, 'email_notification_html'));
?>
What to do? If I need that code snippet in there can you give me a clue WHERE it should go.
Please help this is quite urgent.
Conrad
Last edit: 13 years 11 months ago by Jerome.
Please Log in or Create an account to join the conversation.
13 years 11 months ago #79867
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Not seeing serial data in order confirmation email
Hi,
Did you modified your emails using overrides ?
You should find the original content of the "order_status_notification" email in the directory "media/com_hikashop/mail/".
This is a partial part of the email in HikaShop 2.0, as you could see, the trigger call is near the end of the email.
Best regards,
Did you modified your emails using overrides ?
You should find the original content of the "order_status_notification" email in the directory "media/com_hikashop/mail/".
This is a partial part of the email in HikaShop 2.0, as you could see, the trigger call is near the end of the email.
Code:
<tr>
<td>
<?php
$fields = $fieldsClass->getFields('frontcomp',$data,'order','');
foreach($fields as $fieldName => $oneExtraField) {
if(empty($data->$fieldName)) continue;
echo "<br/>".$fieldsClass->trans($oneExtraField->field_realname).' : '.$fieldsClass->show($oneExtraField,$data->$fieldName);
} ?>
</td>
</tr>
<?php
JPluginHelper::importPlugin('hikashop');
$dispatcher = JDispatcher::getInstance();
$dispatcher->trigger('onAfterOrderProductsListingDisplay', array(&$data->cart, 'email_notification_html'));
?>
<tr>
<td height="10">
</td>
</tr>
<tr>
<td>
<?php echo JText::sprintf('THANK_YOU_FOR_YOUR_ORDER',HIKASHOP_LIVE);?>
<br/>
<br/>
<?php echo JText::sprintf('BEST_REGARDS_CUSTOMER',$mail->from_name);?>
</td>
</tr>
Best regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: cpreen
Please Log in or Create an account to join the conversation.
13 years 11 months ago #79904
by cpreen
Replied by cpreen on topic Not seeing serial data in order confirmation email
Thanks Jerome,
That's the weird thing, I didn't find that code snippet in there. But I did put it in and the whole thing works now.
I appreciate your quick reply. Have a good weekend - what's left of it.
Conrad
That's the weird thing, I didn't find that code snippet in there. But I did put it in and the whole thing works now.
I appreciate your quick reply. Have a good weekend - what's left of it.
Conrad
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.093 seconds