When shopping online you might notice, you are not always logged in before placing an order on a website. But during checkout, you are given a login (or register) option to proceed with your order. So how do you make this configuration on a site created with Tutor LMS? Well, this entire process is managed by your eCommerce client, which in this circumstance are:
- Easy Digital Download
- Paid Memberships Pro
To simplify the purchase process like letting an unregistered user purchase any course you need to do the following.
Setting up WooCommerce
Firstly, you need to activate guest purchase from Tutor LMS settings page. Navigate to Dashboard > Tutor LMS > Settings > WooCommerce (tab) > Enable add to cart option for guest users.
Secondly, you need to head over to WooCommerce Settings page and enable relevant settings. To do that, navigate to Dashboard > WooCommerce > Settings > Account & Privacy (tab).
Once you are on the Account & Privacy tab, you can customize the settings according to your needs. But it is important that you enable:
- Allow customers to create an account during checkout
Hit the Save Changes button once you have configured the settings.
Finally, this is the most crucial part, if you missout, the users will not automatically be redirected to the course page.
Navigate to the Products (tab) of the WooCommerce settings page. Find “Add to cart behaviour” among the features. Now, you need to enable “Redirect to the cart page after successful addition”. Make sure to uncheck “Enable AJAX add to cart buttons on archives”.
When you are done, make sure to hit “Save Changes” button at the bottom.
If the entire process does not run smoothly, that can possibly mean one of the following things:
- You did not Enable add to cart option for guest users from the WooCommerce tab of Tutor LMS settings
- You did not select WooCommerce form the Monetization tab of Tutor LMS settings
- You forgot to checkmark “Allow customers to place orders without an account” from the WooCommerce Accounts & Privacy settings
- You did not set up WooCommerce checkout/cart/shop pages in WooCommerce > Settings > Advanced.
To elaborate the last point. WooCommerce requires a few pages to smoothly run an eCommerce transaction. These pages are created automatically upon WooCommerce installation by the WooCommerce setup wizard. If you skipped WooCommerce setup wizard during installation, you can install missing WooCommerce pages by going to WooCommerce > Status > Tools and run the page creation installer.