Home Forums Academy Payments and Register

Payments and Register

  • 3mdesign

    Hello,
    I have a problem: when I click on buy course, if I am not registered it takes me to the payment page instead of the user registration page.
    Why?
    Thank you.

    ihor Staff

    Please sign in or register to view replies from the support staff.

    3mdesign

    Hello and thanks for the reply.
    I have unchecked all items but have not solved.
    https://ibb.co/t8wS4XD

    Thank you.

    3mdesign

    I worked on the functions.php theme file and added this string:
    add_action( ‘template_redirect’, ‘woo_restirct_checkout’ );
    function woo_restirct_checkout() {

    if ( !is_user_logged_in() && is_checkout() ) {

    $my_account_url = get_permalink( get_option(‘woocommerce_myaccount_page_id’) );
    wp_redirect( $my_account_url );
    exit;

    }
    }

    3mdesign

    Another question:
    is it possible to activate logging manually rather than automatically?

    Thanks

    ihor Staff

    Please sign in or register to view replies from the support staff.

    metaphysician

    hi Ihor – this thread seems relevant to my needs. is it all possible to have users simply buy items from the site without being registered at all? i seem to be getting an awful lot of issues where users don’t receive the confirmation email after registering, but they do receive the purchase invoice once they purchase the product/course.

    considering i have no interest in having users do anything except purchase items it seems prudent to just let them buy the course outright (my courses are actually products not courses) without logging in. is this possible to do without breaking the functionality? i do encourage purchasing at the same time as registration, but i think people are used to a certain approach when signing up.

    if direct purchasing were available (no users except admin) it would cut down on spam registrations on the site as well due to the old CAPTCHA method that is easily bypassed.

    anyway, thanks in advance!

    ihor Staff

    Please sign in or register to view replies from the support staff.

    metaphysician

    overall that’s fine to have guest checkout. i don’t actually host Academy Courses on the site. it’s nice but too limiting for my purposes. so a Course is actually a front facing page to a Product which is downloaded. so there’s no site access needed except to purchase. thanks!

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in to reply to this topic.