Order Email Template Change

  • Posts: 15
  • Thank you received: 0
10 years 7 months ago #165390

-- url of the page with the problem -- : www.iconpics.co.za/index.php/event/randh...2014/graad-3/klas-3n
-- HikaShop version -- : latest
-- Joomla version -- : latest
-- PHP version -- : 5.4.4


Hey there I want to change the order Email , layout and insert my logo and so on ?

How will I be able to do this ?

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #165395

Hi,

Thanks to the business edition, you can edit the emails via the menu System > Emails.

Else, you can edit them via FTP in media/com_hikashop/mail. But via FTP, when updating HikaShop you will loose your data.
Don't forget to backup.

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

  • Posts: 112
  • Thank you received: 3
9 years 10 months ago #201812

Xavier,

Is the icon-48-order.png that is used for the customer email also used as the Order icon in the HS dashboard? If so, how can I get two different icons used. I want the standard Order icon in the dashboard to be used. I want the custom icon used for the customer's email.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
9 years 10 months ago #201880

Hi,

The image is directly used in the HTML of the email.
So if you edit the email as Xavier said, you can just change the code:
<img src="{VAR:LIVE_SITE}/media/com_hikashop/images/icons/icon-48-order.png" border="0" alt="" style="float:left;margin-right:4px;"/>
in order to change the path of the image and thus use another image in the email.

The following user(s) said Thank You: tbroderick

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

  • Posts: 112
  • Thank you received: 3
9 years 9 months ago #202334

I made the update that Xavier provided. I have not been able to test it yet. But, I am sure it will work fine.

When I update Hikashop, will this new file and/or the code that I added "-email" to the end of the prefix be overwritten?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
9 years 9 months ago #202355

If you did your modifications via the menu System>Emails, you won't loose your changes when you update. Otherwise, if you did them directly in the files via FTP, you'll loose them.

The following user(s) said Thank You: tbroderick

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

  • Posts: 112
  • Thank you received: 3
9 years 9 months ago #202457

I added a new icon image for the order confirmation emails. Will it get overwritten or deleted with a new install?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
9 years 9 months ago #202460

Hi,

As long as it's not a default image, you won't loose it. Only images that are there by default are overwritten during the updates.

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

  • Posts: 9
  • Thank you received: 0
9 years 7 months ago #208902

Hi Nicolas,
sorry, I am new with HikaShop (very nice Component ;) ) but I'm not new with Joomla...
I need to change the Notify / Confirmation / and so on template mails and with other variables too.
I see that you wrote: "You can change it by: System -> Mail" ... but why I have NOT this menu?

Thank you in advance.
Best Regards

Joomla 3.4.3
HikaShop Essential 2.5.0
PHP: 5.5.26

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
9 years 7 months ago #208903

Hi,

The menu System>Emails where you can customize emails is only available with the Business edition of HikaShop:
www.hikashop.com/extensions/hika-business.html

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

  • Posts: 32
  • Thank you received: 0
  • Hikashop Business
4 years 9 months ago #320446

Hi,
Where to modify header / footer of the emails?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 9 months ago #320451

Hi,

When you edit an email in the System>Emails menu, you'll find a "template" option with an edit icon. If you click on it, it will open a popup where you can edit the header/footer around the content of the email.

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

  • Posts: 32
  • Thank you received: 0
  • Hikashop Business
4 years 9 months ago #320470

I see, thanks.
Janos

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

  • Posts: 42
  • Thank you received: 2
4 years 9 months ago #320538

But when you do this, you see

{TXT:TPL_HEADER_TEXT}
&
{TXT:TPL_FOOTER_TEXT}

Is it somewhere in the Language file ?

Thanks.

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 9 months ago #320554

Hi,

The tag {TXT:TPL_FOOTER_TEXT} is not used for now. So it will be replaced by nothing.

The tag {TXT:TPL_HEADER_TEXT} is set in the "preload" section of the emails. If, you check there, you'll see that there is usually this line:
'TPL_HEADER_TEXT' => JText::_('HIKASHOP_MAIL_HEADER'),
which sets that tag variable to the translation of the translation key HIKASHOP_MAIL_HEADER
So if you want to change the text of the header, you want to do an override of that translation key.

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

Time to create page: 0.121 seconds
Powered by Kunena Forum