Skip to main content

Send additional email after checkout?

More
10 years 8 months ago #228699 by veeco
-- url of the page with the problem -- : localhost
-- HikaShop version -- : 1.6.0

Hello
is it possible to send another email other than admin and user after checkout?

It have it's own template and able to load all the data in the order

If yes, where should i start?

Thank you

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

More
10 years 8 months ago #228705 by nicolas
Hi,

In that case, you should create your own HikaShop plugin and implement the onAfterOrderCreate (for when the order is created) or the onAfterOrderUpdate (for when the order is modified) triggers in your plugin.
In there, you first want to check the order_status of the order so that it is correct and then you can send an email with the Joomla library: docs.joomla.org/Sending_email_from_extensions

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

Time to create page: 0.203 seconds
Powered by Kunena Forum