Add custom fields in Vendor Profile

WCMp Vendor Staff

Add custom fields in Vendor Profile Resolved

Viewing 6 reply threads
  • Author
    • #97372

      I have added custom fields in vendor Registration form, and now I want to store the filled data in Vendor profile page when I edit the Pending vendor.
      Please have a look at screenshots Register form,Proile page
      I want to show the stored Name,Company Name, What you are selling, Mobile no. in Vendor Profile.

    • #97447
      sumit singh

      Hi, If You add any custom field from wcmp->settings->vendor, then we display the filled data in edit profile page for pending vendor.
      So you dont’t need to do any code. You requirements are already in our default flow.

    • #97634

      One more thing, I can’t find any validation on these fields, like the contact no. field validation.
      Can you please help me with this.

    • #97647

      @gupta, do you want to validate the contact no, then I am afraid, currently there is no such option to validate the number automatically.

      Admin needs to validate the data manually.

      Let us know if you have any further query.

    • #97735

      Can you please tell me the hook/filter where I can validate the fields.

      And also there is no number field available in custom fields for vendor form.

    • #97829

      Hi @gupta, this is our filter for save the registration form hook : apply_filters(‘wcmp_save_registration_fields’, $wcmp_vendor_fields, $customer_id);

      You need to use this to add your code for the phone number validation. Yes, we don’t have a default phone number field. But, you can use the label name for your custom code.

    • #106544

      We have not received any update from you for a long. Hope this ticket is already been resolved.

      We are now closing this ticket. Kindly create a new one if you need any further help.

Viewing 6 reply threads

The topic ‘Add custom fields in Vendor Profile’ is closed to new replies.

Buy all Marketplace addons together, check out our Bundle

Buy at Slashed Price