VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: serapol on July 01, 2012, 00:56:09 AM

Title: BUG. Notify email sent to vendor (Virtuemart 2.0.8)
Post by: serapol on July 01, 2012, 00:56:09 AM
I found another little bug. Letters notifying sent to vedors instead of the shopper.

The solution also proved to be simple
Should be in the file /administrator/components/com_virtuemart/models/waitinglist.php on line 115 add the missing option

It was

if (shopFunctionsF::renderMail ('productdetails', $waiting_user->notify_email, $vars, 'productdetails')) {


must be

if (shopFunctionsF::renderMail ('productdetails', $waiting_user->notify_email, $vars, 'productdetails', true)) {
Title: Re: BUG. Notify email sent to vendor (Virtuemart 2.0.8)
Post by: alatak on July 03, 2012, 11:31:09 AM
Hello

Are you sure the mail is sent to the vendor, and not the "waiting user". I have just done the test again, and it is the waiting user that receives the email
Title: Re: BUG. Notify email sent to vendor (Virtuemart 2.0.8)
Post by: serapol on July 23, 2012, 16:33:55 PM
Quote from: alatak on July 03, 2012, 11:31:09 AM
Hello

Are you sure the mail is sent to the vendor, and not the "waiting user". I have just done the test again, and it is the waiting user that receives the email

Yes, I am fully sure that the notifications are sent only to the seller, ie me and not the buyer.
Tested repeatedly, making the fixes that I have described above, everything worked fine.
Title: Re: BUG. Notify email sent to vendor (Virtuemart 2.0.8)
Post by: warner57 on July 26, 2012, 13:52:29 PM
Just a little word (how true) and it works...
Thanks
Best
Warner