Order notification Mail

  • Posts: 48
  • Thank you received: 1
12 years 7 months ago #46471

Hi Nicolas,
I am using Hikashop enterprise with Dutch translation.

I notice that when I depublish the "order status notification" in the system/emails, the mails get send regardless. Also, the mail does not pick the changed subject line in the language file/override and sends the mail from the site's name global administrator instead of the name I enter in the sender information in the system/emails.

Could there be a mispelled database name in the email? But why does it then keeps sending this mail regardless of status published/depublished?

hope you can help out,
Damiaan

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 7 months ago #46650

Hi,

Are you sure that you're looking at the correct email ?
There are two emails sent by HikaShop:
the order creation notification which is sent when the order is created
the order status notification which is sent when the order is confirmed later on

I would say that you're editing the order status notification while you're still receiving the order creation notification and that's why you think it's not working.

Please Log in or Create an account to join the conversation.

  • Posts: 62
  • Thank you received: 0
11 years 9 months ago #88381

I have this same problem.

The language file seems to be ignored for just the one template "Order status notification'. Changes to the template work but the language file changes are not picked up.

For example here are some language file overrides.
VAT="GST"
TOTAL_WITH_VAT="TOTAL : %s"

Here is the lines in the template that use these paraemeters.
echo '<tr><td colspan="4" style="text-align:right;font-weight:bold;">'.JText::sprintf('TOTAL_WITH_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id)).'</td></tr>';

echo '<tr><td colspan="4" style="text-align:right">'.JText::_('VAT').' Included in Total: '.$currencyHelper->format(($data->cart->full_total->prices[0]->price_value_with_tax)/11,$data->order_currency_id).'</td></tr>';

And here is the resulting output.
<tr><td colspan="4" style="text-align:right;font-weight:bold;">TOTAL with VAT : AUD 1,495.00</td>
</tr><tr><td colspan="4" style="text-align:right">VAT Included in Total: AUD 135.91</td></tr>

I was just about to ignore the language file all together and hard code the changes in the templates but I found this post and thought I would at least ask the question.Is there something I am missing. It certainly seems strange that this same lines of code are identical in other templates and it works but does not on the Order status notification.

Just to clarify I am using this template for when I change the status of an order in the back end and it prompts if I want to notify the customer. This is when I get this problem.

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
11 years 9 months ago #88523

Hi,

Due to the way Joomla 2.5 and later implemented the language override system, it was not possible to override translation in emails until the HikaShop 2.0 release where we found a way to do it with some convoluted code.

So I guess that you're not using the latest version, right ?

Please Log in or Create an account to join the conversation.

  • Posts: 62
  • Thank you received: 0
11 years 9 months ago #88542

No I am using 2.0.0.

The other email templates with the same lines of code are working fine. It is just "Order status notification", which is why I posed the question.

Anyway I am too concerned, as I will be happy to just hard code the changes to the template. It does however seem strange that the problem only occurs on one template.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 9 months ago #88783

Hi,

Can you try with the latest HikaShop version 2.1.0 available from our website ?

Please Log in or Create an account to join the conversation.

Time to create page: 0.082 seconds
Powered by Kunena Forum