Removing /media/com_hikashop/images/mail/header.png from all emails

  • Posts: 220
  • Thank you received: 12
4 years 6 months ago #311729

-- HikaShop version -- : 4.0.3
-- Joomla version -- : 3.9.8
-- PHP version -- : 5.6.38

Hello,

I am trying to remove some of the graphical PNGs from the emails.

I can't see "/media/com_hikashop/images/mail/header.png" in any of the Email PHP files. Could I please have some help.

Merci

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 6 months ago #311758

Hi,

Edit any of the email using that image via the System>Emails menu, and click on the "edit" icon of the "template" option. There, you'll see the code of the template of the Email which will contain that image URL.

Last edit: 4 years 6 months ago by nicolas.
The following user(s) said Thank You: joshualdouglas

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

  • Posts: 220
  • Thank you received: 12
4 years 6 months ago #311783

Hi,

I went to System -> Emails -> Order status notification

"/media/com_hikashop/images/mail/header.png" is not in this file.

I can't see it in any others too. I also can't find "header_black.png".

Thanks,
Josh

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 6 months ago #311788

Hi,

Did you click on the "edit" icon of the "template" option of the email as I told you in my previous message ?
Here is a screenshot:
monosnap.com/file/XaUPWV5Mh7AX1JImNiPW1XvSxF3jgm

The following user(s) said Thank You: joshualdouglas

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

  • Posts: 220
  • Thank you received: 12
4 years 6 months ago #311840

Hi,

Ah sorry. I have this working :) Thank you so much.

What is the difference between this file and the PHP below?

Thanks

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

  • Posts: 81515
  • Thank you received: 13069
  • MODERATOR
4 years 6 months ago #311841

Hi,

The "preload" section where you have the PHP code of the email loads all the data used to display the tags in the HTML section of the email.
The template is what contains the CSS, the images and the frame around the email content.
So normally, if you want to change the content, you'll want to edit the HTML/preload areas.
And if you want the change the style / frame of the email, you'll want to change the template. Also, the template is generic so it can be used for several emails.
It's like on a Joomle website: the pages are basically a combination of :
- the content, which comes from the current component and modules
- the layout / style of the page, which comes from the Joomla template

The following user(s) said Thank You: joshualdouglas

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

  • Posts: 220
  • Thank you received: 12
4 years 6 months ago #311877

Thanks Nicolas. You are very helpful :)

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

Time to create page: 0.069 seconds
Powered by Kunena Forum