Hi,
I am using Able as my point of sale. So when the customer comes into my store, I log into the back end and place the order.
For orders placed in the store, I set the "Affiliate_ID" to "InStore" which is a value I set up in the affiliate set up so I can differentiate Internet orders from InStore orders. I manually set the affiliate whenever I place the order in the store.
When I place an order, Able automatically sends a confirmation e-mail. That's fine. But then to complete the order, I have to "ship" the item, which causes the customer to receive a 2nd email about the shipment. This confuses the customer in a big way. However, if I do not ship the item, then it does not get taken out of inventory (and the order does not complete). So it appears that shipping the item is required.
Is there a way to create logic so that when the shipment is made, if customer affiliate ID is "InStore", do not send the email about shipping?
thanks,
Brian
Triggers for POS
Re: Triggers for POS
You can disable the automatic Email facility at shipment and then send shipment Email manually through code by first checking the Affiliate Id. In order to disable the automatic Email functionality edit the shipment Email template and remove the shippment trigger from it then in the admin find out the location where you ship the order and send the Email manually
Where SendEmail reffers to your custom code for Email. Please read the following topic for manual Emails.
viewtopic.php?f=42&t=8571
Code: Select all
if (Token.Instance.User.AffiliateId != 1)
{
SendEmail();
}
viewtopic.php?f=42&t=8571