On a magento site I've been working on a seperate store was set up for certain users (limited access etc). One function allows the user to create an order for a customer. Before they do this they must select which store they are using. This determines the list of products that are returned in the manually create order section.
From here one option that is available is to give a discount. I basically want to create a condition that if store-id != x display this. The trouble I'm having is getting the selected store id. In the backend the store-id is always 0 so I can't pull that. I need a way to find what option was selected.
I assume it's in the session somewhere but I haven't been able to find it.