[Skip to main content](#vessel-content)

#   Admin receive e-mail notification on activities

##

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 11 months ago [\#81176](#81176) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  *[Admin receive e-mail notification on activities](/forum/23-market-how-to/76586-admin-receive-e-mail-notification-on-activities#81176 "I would receive an e-mail that inform me that a vendor has registered (not as joomla user but as vendor) and also an e-mail that inform me every time a vendor add a new product, so I can check it before publishing.  Is that already possible or could be a feature?")* was created by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")*

I would receive an e-mail that inform me that a vendor has registered (not as joomla user but as vendor) and also an e-mail that inform me every time a vendor add a new product, so I can check it before publishing.

Is that already possible or could be a feature?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY1ODYtYWRtaW4tcmVjZWl2ZS1lLW1haWwtbm90aWZpY2F0aW9uLW9uLWFjdGl2aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 11 months ago [\#81204](#81204) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Admin receive e-mail notification on activities](/forum/23-market-how-to/76586-admin-receive-e-mail-notification-on-activities#81204 "I would receive an e-mail that inform me that a vendor has registered (not as joomla user but as vendor) and also an e-mail that inform me every time a vendor add a new product, so I can check it before publishing.  Is that already possible or could be a feature?")*

Hi,

Such feature should be integrated in HikaMarket but could be done thanks to plugins.
HikaMarket and HikaShop have a lot of triggers.

HikaMarket have the trigger "onAfterVendorCreate(&amp;$vendor)" for the vendor creation event.
HikaShop have the trigger "onAfterProductCreate(&amp;$product)" for the product creation event.

In order to know if the product is a vendor product or not, it is possible to check the field "$product-&gt;product_vendor_id" and check if the value is superior (and not equal) than 1 ("&gt; 1").

Regards,

---

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

The following user(s) said Thank You: [gabriela](/forum/user/7770-gabriela "View gabriela's Profile"), [likandev](/forum/user/9788-likandev "View likandev's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY1ODYtYWRtaW4tcmVjZWl2ZS1lLW1haWwtbm90aWZpY2F0aW9uLW9uLWFjdGl2aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[likandev](/forum/user/9788-likandev "View likandev's Profile")**
- [![likandev's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar9788.png)](/forum/user/9788-likandev "View likandev's Profile")
- [ Offline](/forum/user/9788-likandev)

Less More

- Posts: 69
- Thank you received: 11
-
- [](http://likandevelopment.com)
-

13 years 10 months ago -  13 years 10 months ago [\#85104](#85104) by [likandev](/forum/user/9788-likandev "View likandev's Profile")  Replied by *[likandev](/forum/user/9788-likandev "View likandev's Profile")* on topic *[Admin receive e-mail notification on activities](/forum/23-market-how-to/76586-admin-receive-e-mail-notification-on-activities#85104 "I would receive an e-mail that inform me that a vendor has registered (not as joomla user but as vendor) and also an e-mail that inform me every time a vendor add a new product, so I can check it before publishing.  Is that already possible or could be a feature?")*

Thanks Jerome!

I also needed the onAfterProductUpdate(&amp;$product) trigger.

One can check most of the availabel triggers at:

plugins/hikashop/market/market.php

Here is what I used to receive a notification when the product is edited as well:
Code:

public function onAfterProductUpdate(&amp;$product) { $app = &amp;JFactory::getApplication(); if ($app-&gt;isAdmin()) return true; if (isset($product-&gt;product_name)) $this-&gt;notify($product, 'update'); else { return true; } }

---

Eduardo Chongkan - Likan Development
[ ](http://likandevelopment.com)[ likandevelopment.com](http://likandevelopment.com)

Last edit: 13 years 10 months ago by [likandev](/forum/user/9788-likandev "View likandev's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY1ODYtYWRtaW4tcmVjZWl2ZS1lLW1haWwtbm90aWZpY2F0aW9uLW9uLWFjdGl2aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 10 months ago [\#85123](#85123) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Admin receive e-mail notification on activities](/forum/23-market-how-to/76586-admin-receive-e-mail-notification-on-activities#85123 "I would receive an e-mail that inform me that a vendor has registered (not as joomla user but as vendor) and also an e-mail that inform me every time a vendor add a new product, so I can check it before publishing.  Is that already possible or could be a feature?")*

Hi,

Yes, for most of triggers, we have a "onBefore", a "onAfter" and if we have "Create" we have "Update" too.
The HikaMarket bridge plugin use a lot of triggers, it's was good idea to look at him.

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY1ODYtYWRtaW4tcmVjZWl2ZS1lLW1haWwtbm90aWZpY2F0aW9uLW9uLWFjdGl2aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")**
- [![deltafidesign's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4846.png)](/forum/user/4846-deltafidesign "View deltafidesign's Profile") Topic Author
- [ Offline](/forum/user/4846-deltafidesign)

Less More

- Posts: 272
- Thank you received: 13
-
-

13 years 2 months ago [\#120340](#120340) by [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")  Replied by *[deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")* on topic *[Admin receive e-mail notification on activities](/forum/23-market-how-to/76586-admin-receive-e-mail-notification-on-activities#120340 "I would receive an e-mail that inform me that a vendor has registered (not as joomla user but as vendor) and also an e-mail that inform me every time a vendor add a new product, so I can check it before publishing.  Is that already possible or could be a feature?")*

Is this feature already integrated or will be in future?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY1ODYtYWRtaW4tcmVjZWl2ZS1lLW1haWwtbm90aWZpY2F0aW9uLW9uLWFjdGl2aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

13 years 2 months ago [\#120350](#120350) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Admin receive e-mail notification on activities](/forum/23-market-how-to/76586-admin-receive-e-mail-notification-on-activities#120350 "I would receive an e-mail that inform me that a vendor has registered (not as joomla user but as vendor) and also an e-mail that inform me every time a vendor add a new product, so I can check it before publishing.  Is that already possible or could be a feature?")*

Hi,

[ www.hikashop.com/support/documentation/1...arket-changelog.html](http://www.hikashop.com/support/documentation/147-hikamarket-changelog.html)
We added a new "product modification" email in HikaMarket 1.3.0

Regards,

---

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

The following user(s) said Thank You: [deltafidesign](/forum/user/4846-deltafidesign "View deltafidesign's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vNzY1ODYtYWRtaW4tcmVjZWl2ZS1lLW1haWwtbm90aWZpY2F0aW9uLW9uLWFjdGl2aXRpZXM/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
