Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Membership › Vendor register form billing Company
- December 12, 2019 at 2:34 am #97123
Hi i want to add regiter form meta “billing_company” text .. how can i do ? thank you
- December 18, 2019 at 6:44 pm #97928
Could you please explain what you mean by “add regiter form meta “billing_company” text”?
If you want to add any custom field in registration form, you can do so from Admin dashboard Settings->Vendor Registration, under Registration Form Custom Fields section. You can set this field mandatory as well.
Alternately if you want a ‘billing_company’ post meta then you can do that as well using ‘wcfm_vendor_manage_profile_update’ action hook.
- December 26, 2019 at 12:40 pm #99315
Yes, you are right, there is no place to insert user defined field meta in the registration form fields. But, that’s why I told you to use the ‘wcfm_vendor_manage_profile_update’ action hook.
This action is triggered when a vendor registration form is submitted. You can use that action to save the field value as ‘billing_company’ meta using $_POST variable.
- December 28, 2019 at 12:05 pm #99701
You may use this hook as well –
do_action( 'wcfm_membership_registration', $member_id, $wcfm_membership_registration_form_data );
The topic ‘Vendor register form billing Company’ is closed to new replies.