Courses/services configuration
Activate “Enable for virtual orders” option.
Default service date: set the period for the end of the course
The format for the duration will be PXY:
X: the number that will define days, weeks, months or years.
Y: one of the following letters:
D for days.
W for weeks.
M for months.
Y for years.
For example, you can define the service duration like this:
15 days: the code will be P15D.
6 weeks: the code will be P15D.
3 months: the code will be P3M.
2 years: the code will be P2Y.
In case you need to set a different end period or date in a specific course, you can modify it individually in its configuration. You will find the option going to Products → All products. Select the product with the different date. You will see in the right column the fingernail Service end date.
...
Configuration of courses/services depending on the teaching mode (presential, online or mixed)
Besides the end period or date, we also need to know if the course is online, presential or mixed. You can set this in the product configuration page. Scroll down until you see the configuration section:
...
Make sure the service is set as Virtual.
If the course is presential, you must disable the Downloadable option.
If the course has downloadable content, you should enable the Downloadable option.
The rest of the configuration must be checked in order to ensure it doesn’t affect negatively to the performance.
...
CSV configuration for courses/services
If you have many courses with different end dates, WooCommerce allows you to export, edit and upload a CSV list file with your courses and their conditions, so you can avoid editing each product separately.
...