Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › vendor-register Edit Form( Add field and remove it)
Tagged: remove field
- This topic has 4 replies, 3 voices, and was last updated 4 years, 7 months ago by rech.alexis.
- AuthorPosts
- April 25, 2020 at 1:37 am #122712soul_mach13Participant
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. - April 25, 2020 at 12:12 pm #122822Sarmistha ChakrabortyMember
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.
- April 30, 2020 at 6:45 pm #125089rech.alexisParticipant
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/ - May 1, 2020 at 3:11 pm #125362Sarmistha ChakrabortyMember
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.
- May 2, 2020 at 3:42 am #125583rech.alexisParticipant
Hello Sarmistha,
thank you so much!!!! worked perfectly!!!
- AuthorPosts
- You must be logged in to reply to this topic.