How do i add new custom field under vendor registration form?

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Membership How do i add new custom field under vendor registration form?

This topic contains 5 replies, has 3 voices, and was last updated by Avatar Sarmistha Chakraborty 1 month ago.

  • Author
    Posts
  • #102257

    can you let me know about hooks?

  • #102261

    Hello,

    To add custom fields to vendor registration form, go to the <your site url>/store-manager/settings/ . (PFA)

    Thanks.

    Attachments:
    You must be logged in to view attached files.
  • #102302
    This reply has been marked as private.
    • #102408

      Hello,

      As we told you previously to add add new custom field to vendor registration form , go to –
      <your site url>/store-manager/settings/ -> Vendor Registration

      I want to use drop-down field inside show all vendor list.
      >> Can you please elaborate with screenshot where you want to add field.

      Thanks.

  • #102374
    Avatar
    Mohamed ElQadi
    Participant

    Hello,
    I need to remove some fields from vendor registration form, such as “country”, “state”.
    How can this be done while keeping the “city” and “address 1” fields?
    Thank you.

    • #102433

      Hello,

      add_filter('wcfm_membership_registration_fields_address','fn_wcfm_membership_registration_fields_address');
      function fn_wcfm_membership_registration_fields_address($fields) {
        unset($fields['country']);
        unset($fields['state']);
        unset($fields['zip']);
        return $fields;
      }

      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/

      Thanks.

You must be logged in to reply to this topic.