Support » Plugin: Tutor LMS - eLearning and online course solution » Enforce registration (Create new account) on WooCommerce guest checkout

  • Hi,

    I read https://docs.themeum.com/tutor-lms/tutorials/guest-purchase/ and also https://docs.themeum.com/tutor-lms/ecommerce/woocommerce/

    The problem like many others have pointed out in this forum before is that a guest needs to manually check the “Create a customer” account checkbox on checkout. This is often forgotten (by default it is also off).

    It would be better if when a shopping cart includes a course, then the creation of a new account would be enforced on checkout (unless the user is already logged in).

    The WooCommerce Subscriptions (and also WooCommerce Memberships) plugins do it this way. They use the woocommerce_checkout_registration_required filter (which checks if cart contains a subscription, then yes) and then also sets $_POST['createaccount'] = 1; using the woocommerce_before_checkout_process action.

    Can we have something similar for Tutor LMS?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Enforce registration (Create new account) on WooCommerce guest checkout’ is closed to new replies.