Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-09-2017 17:22:35

htw_simon
Member
From: UK
Registered: 11-20-2007
Posts: 83
Website

Point of Sale Customer Email

When using the Point of Sale module is it possible to stop it from automatically sending the customer confirmation email once the order is submitted? I'd like it to only send using the 'send mail messages' function.

Thanks!

Offline

 

#2 02-10-2017 09:16:44

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Point of Sale Customer Email

If you're looking to shut off order confirmations for particular customers, you can do that by editing the customer account under System / User Accounts / User Accounts,in the eCommerce Settings tab, set Disable Order Emails to false.

Note that you can do the above, place an order, then undo the above and that particular order will never generate emails for the customer.

Be aware you could enter these orders as quotes and the emails would be disabled, as they're not sent out for quotes.  Same for future orders, if you set a future order date, but on the date the order executes the customer would be emailed.

Otherwise, you're going to have to modify code.  Best place to do so is in {private}/apps/ecom/ECOM_OrderMan/ECOM_OrderMan.php, in the orderprocess() function.  In there, you'll see code like this, which appears TWO times in that function:

Code:

$this->ordermails(array('order' => $order, 'mailmessage' => 'ecom.ordconfcust'));

You'll likely want to change to:

Code:

if (empty($isbackend)) {$this->ordermails(array('order' => $order, 'mailmessage' => 'ecom.ordconfcust'));}

Nick Hendler

Offline

 

#3 02-10-2017 16:10:37

htw_simon
Member
From: UK
Registered: 11-20-2007
Posts: 83
Website

Re: Point of Sale Customer Email

Thank you, just what I was looking for!

Offline

 

Board footer