vendor register form

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

From now the forum will be read-only!

This topic contains 6 replies, has 3 voices, and was last updated by WCFM Forum WCFM Forum 9 months, 2 weeks ago.

  • Author
    Posts
  • #97015
    Avatar
    ozkancol
    Participant

    vendor register form
    how can i add mask to text ?.

  • #97018

    Hello,

    Can you please elaborate explain what you meant by “adds a mask to text “?

    Thanks.

    • #97022
      Avatar
      ozkancol
      Participant

      i mean for examle phone text in write shadow like (0212)(555 55 55) in text box

  • #97020
    Avatar
    ozkancol
    Participant

    i mean for examle phone text in write shadow like (0212)(555 55 55) in text box

    • #97034

      Hello,

      What we understand that you want placeholder for “store phone number” in vendor registration page,

      add_filter('wcfm_membership_registration_fields_phone','wcfm_membership_registration_fields_phone_callback');
      function wcfm_membership_registration_fields_phone_callback($phonefield) {
        $phonefield["phone"]["placeholder"] = __('(0212)(555 55 55)', 'wc-frontend-manager') ;
        return $phonefield;
      }

      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.

  • #97230
    WCFM Forum
    WCFM Forum
    Keymaster

    You are always welcome 🙂

    Let me know if there’s anything else we can help you with.

    Can we ask for a favor? Would you mind taking a few minutes to review our plugin at https://wordpress.org/support/plugin/wc-multivendor-marketplace/reviews/ and let others know about your 5 Star experience with WCFM Marketplace. Also, follow us on Twitter https://twitter.com/wcfmmp for more exciting news, important updates, and irresistible offers.  

The topic ‘vendor register form’ is closed to new replies.