wcfm-santa

A deal you can't resist! Get upto 35% Off on this entire cyber week.

CLAIM OFFER
00Day 03Hr 09Min 28Sec
wcfm-santa

vendor-register Edit Form( Add field and remove it)

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Tagged: 

Viewing 4 reply threads
  • Author
    Posts
    • #122712
      soul_mach13
      Participant

      Hi everyone,

      I’m new in this, for that i need some help about how i cant to edit the widht the field from vendor-register page?.

      firts i wanna share more information:

      1.-I added 1 field (Country) in this page.
      2.-I used the Code Snippets.

      The problem is when see the page i see all field are the correct size less the field “Country”, soo how i can to modify the css?

      I need to change this:

      #wcfm_membership_container p.wcfm_title,
      #wcfm_membership_container span.wcfm_title {
      font-size:15px;
      margin-bottom:10px!important;
      font-style:normal;
      width:39%; to 41%
      display:inline-block;
      vertical-align:top
      }

      Some one coud’l help me please.

      Kind Regards

      Attachments:
      You must be logged in to view attached files.
    • #122822

      Hello,

      I added 1 field (Country) in this page
      You have added country field from WCFM dashboard -> Settings -> Vendor Registration ?

      Can you share your page url, then we can guide you accordingly.

      Thanks.

    • #125089
      rech.alexis
      Participant

      Hello Sarmitha,
      I’ve got a similar question about “how to remove field”:
      I would like to remove the postcode field (or at least remove the obligation* to fill it)
      http://atolota.com/vendor-register/

    • #125362

      Hello,

      Add this code to your child theme’s functions.php
      In case you do not have child theme then add code using this plugin – https://wordpress.org/plugins/code-snippets/

      add_filter('wcfm_membership_registration_fields_address',function($fields) {
      	$fields['zip']['custom_attributes'] = array( 'required' => 0 );	 //Remove *(required) from postcode
      	unset($fields['zip']);	 //Remove postcode field from vendor registration
      	return $fields;
      });

      Thanks.

    • #125583
      rech.alexis
      Participant

      Hello Sarmistha,
      thank you so much!!!! worked perfectly!!!

Viewing 4 reply threads
  • You must be logged in to reply to this topic.