Emails are sent to the wrong person

  • Posts: 145
  • Thank you received: 0
10 years 6 months ago #128257

-- url of the page with the problem -- : the-authors-club.com
-- HikaShop version -- : Latest
-- Joomla version -- : 3.1.5
-- PHP version -- :
-- Browser(s) name and version -- : Internet Explorer 9
-- Error-message(debug-mod must be tuned on) -- : None

Hi.

I have a few questions about emails.
1. When a vendor registers on my website, I (the store owner) get an email that is addressed to that vendor concerning registration. When a vendor registers on my website, I get an email that is addressed to that vendor saying that he or she is now a vendor. Is this a copy of the email that is sent to the vendor? Is the vendor himself getting that email?
2. When a customer orders a product, the email that is suppose to be sent to the customer about order creation is going to the vendor instead. The vendor should not be getting this email. It needs to go to the customer.

Thanks.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #128259

Hi,

Right.
There is a fix in the next version for this.

Please edit the file "administrator/components/com_hikamarket/classes/mail.php" and replace

		$vendorClass = hikamarket::get('class.vendor');
		$vendor = $vendorClass->get($vendor_id);
		$mail->dst_email = $vendor->vendor_email;
		$mail->dst_name = $vendor->vendor_name;
By:
		$vendorClass = hikamarket::get('class.vendor');
		$vendor = $vendorClass->get($vendor_id);
		unset($mail->dst_email);
		$mail->dst_email = $vendor->vendor_email;
		unset($mail->dst_name);
		$mail->dst_name = $vendor->vendor_name;
It should fix the problems.

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: 145
  • Thank you received: 0
10 years 6 months ago #128272

Okay, thanks.

But why are vendors getting emails when a customer orders his products? Those emails should go to the customers instead.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #128274

Hi,

The vendors receive an order notification.

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: 145
  • Thank you received: 0
10 years 6 months ago #128310

Okay, but the email is addressed to the customer, not the vendor whose product was ordered. Is it a copy of the order that's sent to the customer?

Thanks.

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #128318

Hi,

I don't understand what you are trying to explain.

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: 145
  • Thank you received: 0
10 years 6 months ago #128353

Hi,

When a customer places an order for a book, he should receive a notification about his order status.

Yesterday one of my vendors received a notification about an order that was intended for the customer who placed that order. They're not the same person. That email should have been sent to my customer, not the vendor. I'm asking why did my vendor receive the customer's email?

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

  • Posts: 26007
  • Thank you received: 4004
  • MODERATOR
10 years 6 months ago #128415

Hi,

Did you applied the patch that I gave you yesterday ?
HikaMarket just override the admin mails to send a copy to the vendors (and the mail with only their products).
Their was a problem that is already fixed for the next release : this fix was written just before in this thread.

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: 145
  • Thank you received: 0
10 years 6 months ago #128421

I bought a product to test it, and received the customer email, so that does work like it should.
Thanks!

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

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