I have a site that needs to have the Expresso Store order emails go to one of two locations. What we will do is when the site is launched there will be a choice of store A or B. Both are the same store but they have two locations for the sale centers. Once selected, wee want to collect a hidden variable or session variable that will allow us to control what email address is used for the order notification. Is this possible and how can we do it?
If you can live with all emails going to a default address you could add a hidden variable to the order data, possibly using two of Expresso's custom order fields.
Then on your server set up some email forwarders that forward to certain emails according to the hidden data variable, eg if the email contains the word "StoreA" send to email 1, if contains the word "StoreB" send to email 2.