I’m trying to manipulate the order creation process for a woocomerce and xero intergration.
Currently when a new order is generated in woocomerce and is pushed to xero it has a
'payment_due_date' which matches the
This is default on woocomerce. This is fine for normal customers as they pay upfront but my wholesale customers need a payment due date that is 14 days from order date.
Presume I need to edit the PHP file for order creation in woocomerce. Any help would be much appreciated.