Skip to main content

Emails are sent to the wrong person

13 years 4 weeks ago #128257 by southga1974
-- 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.

13 years 4 weeks ago #128259 by Jerome
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
Code:
$vendorClass = hikamarket::get('class.vendor'); $vendor = $vendorClass->get($vendor_id); $mail->dst_email = $vendor->vendor_email; $mail->dst_name = $vendor->vendor_name;
By:
Code:
$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.

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

13 years 4 weeks ago #128272 by southga1974
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.

13 years 4 weeks ago #128274 by Jerome
Hi,

The vendors receive an order notification.

Regards,

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

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

13 years 4 weeks ago #128310 by southga1974
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.

13 years 4 weeks ago #128318 by Jerome
Hi,

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

Regards,

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

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

13 years 4 weeks ago #128353 by southga1974
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.

13 years 3 weeks ago #128415 by Jerome
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.

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

13 years 3 weeks ago #128421 by southga1974
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.092 seconds
Powered by Kunena Forum