Woocommerce
If you want to sell a product via Course or Event, please install Woocommerce to use this feature.
WooCommerce is by far and away the most popular free ecommerce solution for WordPress. Here’s a comprehensive tutorial to setting up WooCommerce.
In addition, you can refer to the document on how to use Woocommerce here