Weekly summaries for vendors & buyers

  • Posts: 48
  • Thank you received: 0
9 years 3 months ago #87518


- I would like to set up a multi vendor shop.
- Only registered users, who are organized in buyer groups, can order.
- Buyers can order products in various shops of the vendors during the week.
- Orders are sent to each vendor on a weekly basis. The vendors then need to fullfill the order in the upcoming week.

My questions:

1) Each vendor shall gets a weekly summary mail/notification of all orders FOR HIS SHOP ONLY.

2) Each user gets a summary mail/notification of all orders for the coming week, which he has placed at various vendors.

I don´t think this is a standard feature, but is that a task which can be realized with some reasonable effort of PHP coding adatoption? Or would that be already possible today?

I also thought about a temporary work around solution, where all email order confirmations from a user group is diverted to a dedicated administrator, who then manually produces weekly order reports...

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

  • Posts: 25251
  • Thank you received: 3908
9 years 3 months ago #87566


It is something which can be done using a "cron" plugin.

By unpublishing order emails, you can remove the notification to the administrator and vendors.
(Or using a plugin, you can filter emails to just deactivate emails for the vendors and not the administrator).

You custom "cron" plugin would be triggered every week and would process the emails to the vendors and to the customers.
At this moment, it's not HikaShop which would generate emails but your custom plugin.

There is not need to modify HikaShop or HikaMarket for such plugin, only plugin are required.

You would foud more information in the developper documentation.
And these triggers could be useful for you:
- onHikashopCronTrigger(&$messages)
- onBeforeMailPrepare(&$mail, &$mailer, &$do)
- onBeforeMailSend(&$mail, &$mailer)


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.
The following user(s) said Thank You: PolishedGeek, theweasel68

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

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