Add delivery date to manually created order
-
I have a site where orders can be created programatically:
$args = array( 'status' => 'processing', 'customer_note' => 'free sample', 'created_via' => 'sample request' ); $order = wc_create_order($args);
How would I then go about changing the delivery date to 3 days time automatically? It defaults to 1st Jan, 1970
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add delivery date to manually created order’ is closed to new replies.