Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Groups & Staffs › Move group assignment in registration
- This topic has 5 replies, 3 voices, and was last updated 6 years, 3 months ago by WCFM Forum.
Viewing 5 reply threads
- AuthorPosts
- August 30, 2018 at 6:59 pm #30247BSParticipant
Hey,
I was wondering if it is possible to move the assignment of groups within the registration form.
I’ve added a terms & conditions button to my form, but would like the T&C checkbox to go below the group assignment,
You can see what I mean here:
https://www.bridalsouq.com/wcmp_vendor_registration/
So I would want the form to be:
Email
Password
Password confirmation
Group Type
T&C’sThanks!
- September 2, 2018 at 5:43 am #30461WCFM ForumMember
HI,
How you have added this Terms checkbox?
Can you please show me screenshot of those codes?
Thank You
- September 2, 2018 at 9:45 am #30495BSGuestThis reply has been marked as private.
- September 5, 2018 at 5:04 am #30805WCFM ForumMember
Hi,
You may try this code for the purpose –
function wcfmgs_wcmp_vendor_register_groups_field_hide() { global $WCFM, $WCFMgs; if( $WCFMgs ) { remove_action( 'wcmp_vendor_register_form', array( &$WCFMgs->frontend, 'wcfmgs_wcmp_vendor_register_groups_field' ), 50 ); } } add_action( 'wcmp_vendor_register_form', 'wcfmgs_wcmp_vendor_register_groups_field_hide', 49 ); add_action( 'wcmp_vendor_register_form', array( $WCFMgs->frontend, 'wcfmgs_wcmp_vendor_register_groups_field' ), 9 );
Thank You
- September 5, 2018 at 12:35 pm #30895bsGuestThis reply has been marked as private.
- September 6, 2018 at 8:03 am #30935WCFM ForumMember
Hi,
Well, here is an updated version of that code, please use this –
function wcfmgs_wcmp_vendor_register_groups_field_hide() { global $WCFM, $WCFMgs; if( $WCFMgs ) { remove_action( 'wcmp_vendor_register_form', array( &$WCFMgs->frontend, 'wcfmgs_wcmp_vendor_register_groups_field' ), 50 ); } } add_action( 'wcmp_vendor_register_form', 'wcfmgs_wcmp_vendor_register_groups_field_hide', 49 ); function wcfmgs_wcmp_vendor_register_groups_field_custom() { global $WCFM, $WCFMgs; if( $WCFMgs ) { $WCFMgs->frontend->wcfmgs_wcmp_vendor_register_groups_field(); } } add_action( 'wcmp_vendor_register_form', 'wcfmgs_wcmp_vendor_register_groups_field_custom', 9 );
Thank You
- AuthorPosts
Viewing 5 reply threads
- The topic ‘Move group assignment in registration’ is closed to new replies.