• Resolved mark.si

    (@marksi-1)


    Hi Alex,

    I have the plug in installed on 3 sites two work perfectly on the third site whenever I am trying to add a new customer it asks me to accept the T&Cs?
    Where do I set that?

    Thanks
    Annelie

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author algol.plus

    (@algolplus)

    hi Annelie

    What plugin adds “T&C” checkbox to customer registration?
    Do you see it at frontend checkout?
    thanks, Alex

    Thread Starter mark.si

    (@marksi-1)

    Yes in the front end customers need to accept the T&C in order to open an account we had to add this as it is a B2B website is it this that causes the issue?

    Plugin Author algol.plus

    (@algolplus)

    Could you submit system report to helpdesk ?

    use >Woocommerce>Status to get it.

    Thread Starter mark.si

    (@marksi-1)

    thanks Alex I just created a Ticket

    Plugin Author algol.plus

    (@algolplus)

    thank you, I’ve replied.

    Plugin Author algol.plus

    (@algolplus)

    The plugin/theme adds checkbox with name “agb_consent”.

    So this code has solved the problem .

    add_filter( 'wpo_before_create_customer', function($data){
    $_POST['agb_consent'] = 1;
    $data['username']=preg_replace('/\s+/', '', $data['first_name'])."".preg_replace('/\s+/', '', $data['last_name']);
    $data['password']=wp_generate_password();
    return $data;
    });
    
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘When Creating order it asks to accept T&Cs’ is closed to new replies.