Dear WooCommerce users,
I'm creating a webshop that offers subscriptions for 1 year. Within this year, 3 deliveries will be made:
Initial delivery (after ordering)
4 months later
again 4 months later
To keep track, I'm currently developing a dashboard plugin that shows:
- Order number
- Initial date
- The ordered product
- The shipping address
The problem is, that I have to calculate the next deliveries "on the fly".
What I know want to do is:
Whenever a customer does an order, I want to save the next delivery dates in the database.
My question is:
How do I do that? Do I create an "extra-plugin" or do I have to hard-code it in the woocommerce plugin? Which I don't think would be a good solution...
Thanks for your help!