Skip to main content

Vendor registration mail question

5 years 11 months ago #327368 by liaskas
-- HikaShop version -- : 4.4.0
-- HikaMarket version -- : 3.1.1
-- Joomla version -- : 3.9.23
-- PHP version -- : 7.4.13

Hello

we have configured our HikaMarket to manually validate new vendors.

Currently... users that apply to be vendors receive an e-mail that says:

Hi [username],
You vendor account has been created.


but their vendor account has not yet been validated so it makes no sense to tell them that their vendor account has been created. They are not vendors yet!

Supposing that we approve this vendor, then after approval he gets exactly te same message again!

Hi [username],
You vendor account has been created.


What would be perfect is to have 2 different mails. One to notify the user that he will be validated and then one to tell them the results of the validation and if they became vendors or not.

If this is not possible, how can we set things so that the vendor receives an email only when the administrator activates the new vendor account?

Thank you
Katerina

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

5 years 11 months ago #327400 by Jerome
Hello,

Thank you for your feedback.
It is indeed an unwanted behavior ; we wanted to delay the registration email when the vendor is approved (if the approval is enabled in the website).
But we removed the filter during the registration because some vendors did not received an email telling them that their vendor account was created.
Thus, it is a good idea to create a new email for the approval process.

In the HikaMarket vendor class, you would find two time that line of code
Code:
$mail = $mailClass->get('market.vendor_registration', $infos);
For the one in the function "save", you can replace it with
Code:
$mail = $mailClass->get('market.vendor_approval', $infos);
And then duplicate the "vendor_registration" email files to "vendor_approval" and customize them for your needs.
We will do the same in HikaMarket for the next release.

Regards,

Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
The following user(s) said Thank You: liaskas

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

5 years 11 months ago #327443 by liaskas
Yes this worked Jerome... thank you for your help!

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

5 years 11 months ago #327493 by Jerome
You're welcome :)

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

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

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