Aw: How to stop sending mail to client after order.
Man you are quick with the response. Good for you!!
Thank you (again) for your suggestion. It worked. But I found a better solution. With the $config->send_order_email = 0; no mail is send at all (from Joomshopping of course) This works, but with this setting the admin won't get an email when somebody placed an order. I hoped that if I check PDF invoice to admin it would send the pdf, so that the admin knows there was an order placed. But helaas, it won't.
So I turned $config->send_order_email = 0; back on (to 1) and I looked through other files. Then I found checkout.php in components/com_jshopping/models/ I removed line 253 $send = $mailer->Send(); I believe this sends the mail to the client. I tested it and it works. Now only the admin gets a mail when an order is placed.
Hope you or somebody else finds this useful.
Thanks again for your effort and time.
Much appreciated!!