login window issues

WCMp Core

login window issues Resolved

Viewing 2 reply threads
  • Author
    Posts
    • #110202
      dedilhan
      Participant

      Hi
      a. there is one login area for customer & vendor!
      but after login, it directs to the home page, no option shows to vendor account
      please help with this

      b. on the top menu after login under the username menu no logout option shows(image a)

      c. on the Register window need a check box to tick i have read the terms & conditions(image b)

      Check attachments

      Attachments:
    • #110214
      abhirup
      Moderator

      Hi,
      Our replies are inline:
      a. there is one login area for customer & vendor!
      but after login, it directs to the home page, no option shows to vendor account
      please help with this

      >> As per our default flow vendor will redirect to the vendor dashboard after login from may account page too.
      Please check the video –
      Please do a little test after deactivating all plugins except Woocommerce, WCMp and WCMp add-on.

      b. on the top menu after login under the username menu no logout option shows(image a)
      >> this is coming from theme.
      Our vendor dashboard has a separate logout option. Please check this flow with a default theme like twenty twenty/ Storefront

      c. on the Register window need a check box to tick i have read the terms & conditions(image b)
      >> If you need this on vendor registration form
      — You can add additional field by navigating from WCMp => Settings => Vendor => Vendor Registration. You can add a checkbox from there.
      please check the image – https://prnt.sc/vmren0

      >> If you need this on Woocommerce registration form
      — Please add this code in the function.php of the current active theme :

      add_action( 'woocommerce_register_form', 'WC_add_registration_privacy_policy', 11 );
         
      function WC_add_registration_privacy_policy() {
      woocommerce_form_field( 'privacy_policy_reg', array(
         'type'          => 'checkbox',
         'class'         => array('form-row privacy'),
         'label_class'   => array('woocommerce-form__label woocommerce-form__label-for-checkbox checkbox'),
         'input_class'   => array('woocommerce-form__input woocommerce-form__input-checkbox input-checkbox'),
         'required'      => true,
         'label'         => 'I\'ve read and accept the <a href="/privacy-policy">Privacy Policy</a>',
      ));
        
      }
        
      // Show error if user does not tick 
      add_filter( 'woocommerce_registration_errors', 'WC_validate_privacy_registration', 10, 3 );
        
      function WC_validate_privacy_registration( $errors, $username, $email ) {
      if ( ! is_checkout() ) {
          if ( ! (int) isset( $_POST['privacy_policy_reg'] ) ) {
              $errors->add( 'privacy_policy_reg_error', __( 'Privacy Policy consent is required!', 'woocommerce' ) );
          }
      }
      return $errors;
      }
      Copy

      Regards,

    • #114321

      We have not received any update from you for a long. Hope this ticket is already been resolved.

      We are now closing this ticket. Kindly create a new one if you need any further help.

Viewing 2 reply threads

The topic ‘login window issues’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price