Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Ultimate › Issues on vendor registration page
- This topic has 4 replies, 3 voices, and was last updated 5 years, 6 months ago by WCFM Forum.
- AuthorPosts
- April 29, 2019 at 8:05 pm #60020shitTParticipant
Hello
I have the following minor issues on the vendor registration page:
– The city and state are not mandatory. How can I make these mandatory?
– I cannot translate the registration custom fields. I use WPML. What could be the issue?
– The terms and condition page is not saved. On the form, it would be nice to be able to click on “agree terms and conditions” and get the terms and conditions. Is it a bug in the new release? If not, how can this be fixed?Once again, your help would be greatly appreciated!
- April 30, 2019 at 2:48 am #60037pdishmanParticipant
I would also like for the city and state to be required on the form. I have asked this before. It would make sense as you are requiring address fields
Thank you! - May 1, 2019 at 3:01 pm #60226WCFM ForumMember
Hi,
Please use this code snippet for the purpose –
add_filter( 'wcfm_membership_registration_fields_address', function( $address_fields ) { if( isset( $address_fields['city'] ) ) { $address_fields['city']['custom_attributes'] = array( 'required' => 1 ); } if( isset( $address_fields['state'] ) ) { $address_fields['state']['custom_attributes'] = array( 'required' => 1 ); } return $address_fields; }, 50 );
Thank You
- May 13, 2019 at 1:44 pm #62065shitTParticipant
Hi,
Problems all solved. Thanks a lot!
- May 16, 2019 at 8:37 am #62427WCFM ForumMember
Great .. thanks for the update 🙂
- AuthorPosts
- The topic ‘Issues on vendor registration page’ is closed to new replies.