Hi! Thanks for your answer.
I already have the LearnDash plugin for Woocommerce installed but I don’t know if something else really needs to be activated. Since if I leave the course in another option that is not as a closed course, it does not lead to the shopping cart.