Home » Php » custom 'payment_due_date' for a certain user group in woocomerce

custom 'payment_due_date' for a certain user group in woocomerce

Posted by: admin October 26, 2017 Leave a comment

Questions:

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 'order_date'.

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.

Answers:

Leave a Reply

Your email address will not be published. Required fields are marked *