Totally Zenned
- Join Date:
- Aug 2009
- Location:
- Bedford, England
- Posts:
- 968
- Plugin Contributions:
- 0
php help please - set variable based on items on order
Hi guys, one for the php gurus, hoping someone will be able to advise a quick lightweight solution.
I wish to set a variable to true if the following conditions on a specific order exists:
NUMBER of Products ordered = 1 & Quantity of that product ordered = 1
Order ID will obviously be known in this script so based on that I just want to do a quick check for the condition and if true set the variable.
Cheers in advance.
Phil