how to notify all registered members of an approved product

  • Posts: 490
  • Thank you received: 2
7 years 2 months ago #262470

-- HikaShop version -- : 2.6.3
-- HikaMarket version -- : 1.7.0
-- Joomla version -- : 3.4.5
-- PHP version -- : 5.5
-- Error-message(debug-mod must be tuned on) -- : none

hi

how do i send a notification email to all registered members if a product has been approved by the admin?

thanks

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
7 years 2 months ago #262474

Hi,

It will require a custom plugin to perform such kind of task.
My advice would be to integrate with a component made for send newsletter (so I think about Acymailing) because if you have a lot of users, it can be a lot of emails to send.
The idea is to catch the event when a product is approved (onAfterProductUpdate) and then create a Acymailing newsletter.
Otherwise you can see to send directly the emails but depending the quantity, you will probably timeout and the approval in the backend (or in the frontend) will need a lot of time !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.054 seconds
Powered by Kunena Forum