Concealing Fields in Seller Registration

This topic has 10 replies, 3 voices, and was last updated 6 months, 4 weeks ago ago by Andrew Mitchell

  • Avatar: Ronny
    Ronny
    Participant
    April 21, 2024 at 16:45

    Hello. I would like to know how to hide the following fields from the seller registration section. Image attached.

    Files is visible for topic creator and
    support staff only.
    9 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    April 22, 2024 at 03:59

    Hi @Ronny,

    Please add the following CSS under Theme Options > Theme Custom CSS > Global CSS:

    
    #customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(4),
    #customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(5),
    #customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(6),
    form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(4),
    form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(5),
    form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(6) {
        display: none;
    }
    

    Hope it helps!

    Avatar: Ronny
    Ronny
    Participant
    April 22, 2024 at 17:28

    I made the change but it didn’t work out. Attached images.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 23, 2024 at 05:51

    Hi @Ronny,

    We used this account to access your website but it didn’t work.

    Could you please check again?

    Thank you!

    Please contact administrator
    for this information.
    Avatar: Ronny
    Ronny
    Participant
    April 23, 2024 at 16:41

    Done

    Avatar: Ronny
    Ronny
    Participant
    April 23, 2024 at 16:42

    I’m sharing these images with you so that you can access the seller registration page.

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 24, 2024 at 04:16

    Hi @Ronny,

    We’ve changed the custom CSS codes to this:

    
    #customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(4),
    #customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(5),
    #customer_login > div.u-column2.col-2.register-column > form > div.show_if_seller > p:nth-child(6),
    form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(4),
    form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(5),
    form.woocommerce-form.woocommerce-form-register.et_b-tab-content.register.active > div.show_if_seller > p:nth-child(6),
    #dokan-vendor-register > p:nth-child(9),
    #dokan-vendor-register > p:nth-child(10),
    #dokan-vendor-register > p:nth-child(11){
        display: none !important;
    }
    

    Now the fields are hidden. Can you check again?

    Best Regards,
    The 8Theme Team.

    Avatar: Ronny
    Ronny
    Participant
    April 24, 2024 at 16:55

    “Perfect, it works. Now I would like to know if it’s possible to change the title of the field ‘Bank name’ to ‘Nombre del banco and ‘Bank IBAN’ to ‘Cuenta IBAN’.”

    Files is visible for topic creator and
    support staff only.
    Avatar: Justin
    Luca Rossi
    Support staff
    April 25, 2024 at 05:14

    Hi @Ronny,

    Please try adding the following code under functions.php file locates in your child theme:

    
    function n2t_text_strings( $translated_text, $text, $domain ) {
    	switch ( $translated_text ) {
    		case 'Name of Bank' :
    			$translated_text = 'Nombre del banco';
    			break;
    		case 'Bank IBAN' :
    			$translated_text = 'Cuenta IBAN';
    			break;
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'n2t_text_strings', 20, 3 );
    

    Hope it helps!

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    April 25, 2024 at 16:17

    Dear Ronny,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

  • Viewing 10 results - 1 through 10 (of 10 total)

The issue related to '‘Concealing Fields in Seller Registration’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.