This is a discussion on Can someone please help with this within the alt.comp.lang.php forums, part of the PHP Programming Forums category; I am trying to make a script that when when an order will be shipped. For example I do not ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I am trying to make a script that when when an order will be shipped.
For example I do not ship orders recieved after 1:00pm EST on Friday through 3:00pm EST on Monday until 5:00pm on Monday. #1 I would like a statement to come up for orders recieved between Friday 1: 00pm and Sunday at 11:59pm EST that either that the customers order will shi p on Monday (+ the date ie Monday May 23)unless that monday is a holiday whe re USPS or UPS is closed then see #3. #2 If the order is placed between the hours of 12:00 midnight and 5:00pm Mon day through Thursday their order will ship today (+ the date) unless it is a holiday then see #3 #3 p1 If their order is placed on a holiday before 5:00pm EST Monday through Friday 1:00pm when USPS or UPS is closed I would like a statement to come u p to say that the day is a holiday and that their order will be shipped on t he next day (+ the date). or #3 p2 If their order is placed on a holiday when USPS or UPS is closed that Monday I would like a statement to come up to say that because Monday is a h oliday their order will not ship until Tursday (+ the date) I am ok with editing code just not creating it. If you can please enter 3 da tes for each condition I can finalize from there. |