Page 1 of 1
Prevent Order Notifications in Certain Circumstances?
Posted: Wed May 18, 2011 2:55 pm
by sweeperq
Is there a way to prevent the automated order notifications in certain circumstances? For example, when we take phone orders, our CSM may want to adjust the final prices, but is not given the opportunity until after the order is placed. As such, he places a "Phone" order, modifies the prices, then takes the customer's credit card info. We don't have a problem manually sending out order notifications in this case, but we need a way to suppress the original so they don't get an order confirmation with the wrong pricing.
Thanks!
Re: Prevent Order Notifications in Certain Circumstances?
Posted: Thu May 19, 2011 4:08 am
by plugables
It could be a useful feature if a checkbox is added to the admin order placement UI that allows us to enable or disable the event notifications for that order.
Re: Prevent Order Notifications in Certain Circumstances?
Posted: Thu May 19, 2011 4:53 am
by mazhar
I believe there is one way. If you want to stop alerts for orders placed by admin then go to
Website/Admin/Orders/Create and locate related payment form. For example suppose we want to disable alerts for order placed with phone call. In order to do this we need to edit
Website/Admin/Orders/Create/PhoneCallPaymentForm.ascx.cs file and locate following code
Code: Select all
CheckoutResponse checkoutResponse = _Basket.Checkout(checkoutRequest, false);
and then update it like
Code: Select all
CheckoutResponse checkoutResponse = _Basket.Checkout(checkoutRequest, false,false);
This extra flag
false will tell system that don't trigger any alerts while placing this order. Similarly if you want to disable alerts for orders placed by customers then you need to make similar changes to files under
Website/Checkout/PaymentForms folder.
Re: Prevent Order Notifications in Certain Circumstances?
Posted: Thu May 19, 2011 7:20 am
by sweeperq
Thank you very much. Glad you guys already thought of most of this stuff! I've been very happy to see that many of the customizations and improvements we made to AC5.5 to get it working the way we wanted were already implemented in 7. Great piece of software.