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!
Prevent Order Notifications in Certain Circumstances?
Re: Prevent Order Notifications in Certain Circumstances?
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.
Last edited by plugables on Thu May 19, 2011 5:08 am, edited 1 time in total.
Re: Prevent Order Notifications in Certain Circumstances?
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
and then update it like
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.
Code: Select all
CheckoutResponse checkoutResponse = _Basket.Checkout(checkoutRequest, false);
Code: Select all
CheckoutResponse checkoutResponse = _Basket.Checkout(checkoutRequest, false,false);
Re: Prevent Order Notifications in Certain Circumstances?
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.