No name at vendor registration

  • Posts: 261
  • Thank you received: 5
10 years 10 months ago #109284

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

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 10 months ago #109311

Hi,

Please edit the file "administrator/com_hikamarket/classes/vendor.php" and replace the code:

			$infos = new stdClass;
			$infos->vendor =& $vendor;
			$infos->user =& $shopuser;
By
			$infos = new stdClass;
			$infos->vendor =& $vendor;
			$infos->name = $vendor->vendor_name;
			$infos->user =& $shopuser;
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,


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.

  • Posts: 261
  • Thank you received: 5
10 years 10 months ago #109340

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

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
10 years 10 months ago #109355

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,


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.063 seconds
Powered by Kunena Forum