Send additional email after checkout?

  • Posts: 175
  • Thank you received: 0
9 years 6 months ago #228699

-- 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.

  • Posts: 84233
  • Thank you received: 13674
  • MODERATOR
9 years 6 months ago #228705

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.054 seconds
Powered by Kunena Forum