Post-integration with the WooCommerce plugin, each course and course variation can be sold as an independent entity. The Administrator has the option to set a fixed quantity for the number of course licenses that can be purchased.
To do so, the following procedure is to be followed.
On the Edit Product page, set up the main course, along with its variations.
Set up the Size attribute and add the relevant values corresponding to the number of packages in the bundle.
Now, in the Variations tab, choose the course variation which you want to sell as a bundle. Check the Available as a Package box.
Note : This feature does not work with WooCommerce Subscriptions.