Discussions
How can I set customer center orders to default to pending approval?
Hi!
I've seen the thread telling how to set webstore orders to pending approval utilizing the 'originator' field in a beforeSubmit user event script.
My problem is similar to this one.
In the webstore, I only need the sales orders to default to Pending Approval if that order is created ONLY in say my third website. That is if I check on 'originator' field if it is equal to NLWebStore and 'website' field is equal to 3. That works as expected.
But I can't seem to find a field that would filter out my third website's customer center. If I create an order from my third website's customer center, I get a null value for website and originator. I am using a beforeSubmit. I tried using 'customform' field but it returns 88 across all my westore sites. I just need to set Pending approval on orders from my third website's customer center.