- Open your WordPress backend.
- Click on WooCommerce -> Settings.
- Then click the products tab
- Then click on Downloadable products.
- locate the Grant access to downloadable products after payment and enable or disable the option.
- Scroll to the bottom and click save changes.