- Posts: 21
- Thank you received: 0
How to append extra content to email and send it bith customer and admin
6 years 2 months ago - 6 years 2 months ago #321935
by ajdev33
-- 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
-- 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: 6 years 2 months ago by ajdev33.
Please Log in or Create an account to join the conversation.
6 years 2 months ago #321944
by nicolas
Replied by nicolas on topic How to append extra content to email and send it bith customer and admin
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 ?
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.160 seconds