- Posts: 261
- Thank you received: 5
No name at vendor registration
13 years 5 months ago #109284
by Sjaak
No name at vendor registration was created by Sjaak
When a new vendor registers I receive a notification email of the registration.
Great, I want to know about new registrations.
The message however has no subject and shows this:
Hi
The vendor '' has register in your store
Best regards
So I still do not know who registered
How do I set the subject of the notification?
How do I know who registered?
Sjaak
Great, I want to know about new registrations.
The message however has no subject and shows this:
Hi
The vendor '' has register in your store
Best regards
So I still do not know who registered
How do I set the subject of the notification?
How do I know who registered?
Sjaak
Please Log in or Create an account to join the conversation.
13 years 5 months ago #109311
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic No name at vendor registration
Hi,
Please edit the file "administrator/com_hikamarket/classes/vendor.php" and replace the code:
By
About the mail subject, it is stored in the HikaShop database and I see that there is a little problem during the store of this information by HikaMarket.
I will see to fixed it.
But you can edit the mail content in the backend of HikaShop, the HikaMarket mails will be listed and you can override the mail content and set a mail subject.
The mail is for the moment minimalist because I don't really know which information could be useful in the email.
The "$data" variable in the mail content two objects, one for the vendor and the other for the user. So you can display a lot of information about the vendor or the user in your email.
Regards,
Please edit the file "administrator/com_hikamarket/classes/vendor.php" and replace the code:
Code:
$infos = new stdClass;
$infos->vendor =& $vendor;
$infos->user =& $shopuser;
Code:
$infos = new stdClass;
$infos->vendor =& $vendor;
$infos->name = $vendor->vendor_name;
$infos->user =& $shopuser;
I will see to fixed it.
But you can edit the mail content in the backend of HikaShop, the HikaMarket mails will be listed and you can override the mail content and set a mail subject.
The mail is for the moment minimalist because I don't really know which information could be useful in the email.
The "$data" variable in the mail content two objects, one for the vendor and the other for the user. So you can display a lot of information about the vendor or the user in your email.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #109340
by Sjaak
Replied by Sjaak on topic No name at vendor registration
Hello Jerome,
Thank you.
I managed to change the vendor.php file.
When a new vendor registers I will know whether this works.
Your remarks about mail content are not clear to me. I can find emails in hikashop/system/emails. 14 emails are listed but none of them seems to have something to do with vendor registration. How to adjust those emails is complete abracadabra to me.
I am willing to learn though
Sjaak
Thank you.
I managed to change the vendor.php file.
When a new vendor registers I will know whether this works.
Your remarks about mail content are not clear to me. I can find emails in hikashop/system/emails. 14 emails are listed but none of them seems to have something to do with vendor registration. How to adjust those emails is complete abracadabra to me.
I am willing to learn though
Sjaak
Please Log in or Create an account to join the conversation.
13 years 5 months ago #109355
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic No name at vendor registration
Hi,
The HikaMarket emails are in the "media/com_hikamarket/mail" folder.
You should see the email, like in the demo website: demo.hikashop.com/administrator/index.ph..._hikashop&ctrl=email
I fixed some points in the HikaMarket mail part, so in the next relase, the names will be correctly translated and the subjects will be set too.
By overriding an email in the backend, the overridden file will be store in the same HikaMarket folder.
Regards,
The HikaMarket emails are in the "media/com_hikamarket/mail" folder.
You should see the email, like in the demo website: demo.hikashop.com/administrator/index.ph..._hikashop&ctrl=email
I fixed some points in the HikaMarket mail part, so in the next relase, the names will be correctly translated and the subjects will be set too.
By overriding an email in the backend, the overridden file will be store in the same HikaMarket folder.
Regards,
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.054 seconds