Send TWO seperate emails on order/payment CONFIRMED (paypal)

  • Posts: 36
  • Thank you received: 2
8 years 3 weeks ago #254318

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0.11
-- Browser(s) name and version -- : na
-- Error-message(debug-mod must be tuned on) -- : NA

I have situation where:

On new purchase (WHEN PAYMENT IS MADE AND ORDER IS NOW CONFIRMED STATUS)

I must send two emails as follows:
1) Email to Customer advising we have recieved payment

2) Email to manufacturer to tell them to ship product.

These emails must be different, I cant just use BCC like you telling all others to do. How can I do this?

For example email 1 would have:
Customer details, shipping, order details and message for customer.

Email 2 would have:
Customer Shipping details, customer order details, specific instructions for manufacturer.

Please advise how I can achieve this, i am using paypal and i see no possible way to do something that I would figure would be simple?

Note: These emails MUST only send after payment is received!

Last edit: 8 years 3 weeks ago by edzz83.

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

  • Posts: 82867
  • Thank you received: 13373
  • MODERATOR
8 years 3 weeks ago #254331

Hi,

If you use HikarMarket Multivendor, you could have your manufacturers as vendors and they would automatically be notified of the confirmation of the orders with only the products attached to them.
So you could even sell products from different manufacturers in the same orders and have them receive the order notification for their part only.

Now if you just have one manufacturer, and just want another email to be sent, you could create a small HikaShop plugin implementing the onAfterOrderUpdate trigger to send your email to the manufacturer. But it would require a developer to work on that.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum