How to append extra content to email and send it bith customer and admin

  • Posts: 21
  • Thank you received: 0
4 years 4 months ago #321935

-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.19
-- PHP version -- : 7.3

Hi,

I want to append my custom content to every email that is sent to admin and customer with any order update.

Also is there any way to get admin email in my plugin ?

Thanks

Last edit: 4 years 4 months ago by ajdev33.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 4 months ago #321944

Hi,

Where does the extra content comes from ? The customer enters it somewhere ? Or you enter it ? Is it static for everyone for all the products or dynamic ?

If it's a static text you want to add to the emails, you could use translation overrides to add your text to the text already in the email:
www.hikashop.com/download/languages.html#modify

If it's more dynamic, then it will probably require editing the email via the menu System>Emails (Business edition only) to add some code to the email based on what you need exactly.

Also, I don't understand what you mean by " is there any way to get admin email in my plugin". You want to send an email from a plugin ? An email already in HikaShop ? Or you mean you want the email address of a super account user ? Or something else ?

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

Time to create page: 0.058 seconds
Powered by Kunena Forum