Vendor Registration Form Customization Help!

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.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WC Marketplace Vendor Registration Form Customization Help!

Viewing 5 reply threads
  • Author
    Posts
    • #120991
      rohitxd
      Participant

      Hi, I’ve been using this plugin for few days It’s really nice and functional..
      I made a the vendor registration form and It’s pretty nice but i have few questions…

      1) How to remove the italics in the form
      2) How to change the form heading
      3) How to drag the new boxes/fields I made more up (change positions)

      A screenshot of my issue…
      https://ibb.co/JtCDJ1z

      I have check the video tutorials you guys provided but there outdated 🙁

      Regards,
      Rohit

    • #121284

      Hello,

      1) How to remove the italics in the form
      >>Add this css in your theme’s style.css

      #wcfm_membership_container p.wcfm_title strong, #wcfm_membership_container span.wcfm_title strong {
      font-style: normal !important;
      }

      2) How to change the form heading
      >>For change the text use Loco translate “Loco Translate” plugin https://localise.biz/wordpress/plugin/beginners
      You will find “Registration” text Loco Translate -> Plugins -> WCFM – WooCommerce Multivendor Marketplace -> select string and change

      3) How to drag the new boxes/fields I made more up (change positions)
      >> You need to override “vendor_registration.php” in your theme.
      <your theme folder>/wcfm/membership/vendor_registration.php
      and modify the below code (PFA)

      $WCFM->wcfm_fields->wcfm_generate_form_field( apply_filters( 'wcfm_membership_registration_fields_address', array(
      																																			"addr_1" => array('label' => __('Address 1', 'wc-frontend-manager') , 'type' => 'text', 'name' => $field_name . '[addr_1]', 'custom_attributes' => array( 'required' => 1 ), 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele', 'value' => isset($field_value['addr_1']) ? $field_value['addr_1'] : '' ),
      																																			"addr_2" => array('label' => __('Address 2', 'wc-frontend-manager') , 'type' => 'text', 'name' => $field_name . '[addr_2]', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele', 'value' => isset($field_value['addr_2']) ? $field_value['addr_2'] : '' ),
      																																			"country" => array('label' => __('Country', 'wc-frontend-manager') , 'type' => 'country', 'name' => $field_name . '[country]', 'custom_attributes' => array( 'required' => 1 ), 'class' => 'wcfm-select wcfm_ele wcfmvm_country_to_select', 'label_class' => 'wcfm_title wcfm_ele', 'attributes' => array( 'style' => 'width: 60%;' ), 'value' => isset($field_value['country']) ? $field_value['country'] : '' ),
      																																			"passoword" => array( 'label' => __('Password', 'wc-multivendor-membership') , 'type' => 'password', 'custom_attributes' => array( 'required' => 1, 'mismatch_message' => __( 'Password and Confirm-password are not same.', 'wc-multivendor-membership' ) ), 'class' => 'wcfm-text wcfm_ele ', 'label_class' => 'wcfm_ele wcfm_title', 'value' => '' ),
      																																	"password_strength" => array( 'type' => 'html', 'value' => '<div id="password-strength-status"></div>' ),
      																																	"confirm_pwd" => array( 'label' => __('Confirm Password', 'wc-multivendor-membership') , 'type' => 'password', 'custom_attributes' => array( 'required' => 1 ), 'class' => 'wcfm-text wcfm_ele ', 'label_class' => 'wcfm_ele wcfm_title', 'value' => '' ),
      																																			"city" => array('label' => __('City/Town', 'wc-frontend-manager') , 'type' => 'text', 'name' => $field_name . '[city]', 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele', 'value' => isset($field_value['city']) ? $field_value['city'] : '' ),
      																																			"state" => array('label' => __('State/County', 'wc-frontend-manager') , 'type' => 'select', 'name' => $field_name . '[state]', 'class' => 'wcfm-select wcfm_ele wcfmvm_state_to_select', 'label_class' => 'wcfm_title wcfm_ele', 'options' => isset($field_value['state']) ? array($field_value['state'] => $field_value['state']) : array(), 'value' => isset($field_value['state']) ? $field_value['state'] : '' ),
      																																			"zip" => array('label' => __('Postcode/Zip', 'wc-frontend-manager') , 'type' => 'text', 'name' => $field_name . '[zip]', 'custom_attributes' => array( 'required' => 1 ), 'class' => 'wcfm-text wcfm_ele', 'label_class' => 'wcfm_title wcfm_ele', 'value' => isset($field_value['zip']) ? $field_value['zip'] : '' ),
      																																			) ) );

      and remove the this section

      if( !$user_id ) {
      						$WCFM->wcfm_fields->wcfm_generate_form_field(  array( 
      																																	"passoword" => array( 'label' => __('Password', 'wc-multivendor-membership') , 'type' => 'password', 'custom_attributes' => array( 'required' => 1, 'mismatch_message' => __( 'Password and Confirm-password are not same.', 'wc-multivendor-membership' ) ), 'class' => 'wcfm-text wcfm_ele ', 'label_class' => 'wcfm_ele wcfm_title', 'value' => '' ),
      																																	"password_strength" => array( 'type' => 'html', 'value' => '<div id="password-strength-status"></div>' ),
      																																	"confirm_pwd" => array( 'label' => __('Confirm Password', 'wc-multivendor-membership') , 'type' => 'password', 'custom_attributes' => array( 'required' => 1 ), 'class' => 'wcfm-text wcfm_ele ', 'label_class' => 'wcfm_ele wcfm_title', 'value' => '' ),
      																																) ) ;
      					}

      Thanks.

      Attachments:
      You must be logged in to view attached files.
    • #121452
      rohitxd
      Participant

      Hi, Thanks for your response

      1) Solved and I removed the Italics

      2) I installed that plugin but it shows some language and I cannot find what you said
      You will find “Registration” text Loco Translate -> Plugins -> WCFM – WooCommerce Multivendor Marketplace -> select string and change & lt

      Couldn’t fine Registration text in Loco and I went Plugins > WCFM > then it shows few langs like russian etc (There is no strings to change there)

      3) Couldn’t fine a folder like that
      <your theme folder>/wcfm/membership/vendor_registration.php I had only a folder called store in the WCFM folder

    • #121460

      Hello,

      2) I installed that plugin but it shows some language and I cannot find what you said.Couldn’t fine Registration text in Loco and I went Plugins > WCFM > then it shows few langs like russian etc (There is no strings to change there)
      >> Yes after that you need to select your site language or click on new language(if your site language is not there), then you find the place where you search the string. Please follow the documentation : https://localise.biz/wordpress/plugin/beginners .
      From point 5 you will find the present screen which you have now.

      3) Couldn’t fine a folder like that
      I had only a folder called store in the WCFM folder
      >> These folder was not exists by-default in you theme folder. you need to create the folders like “wcfm”,”membership” (<your theme folder>/wcfm/membership/vendor_registration.php in this folder structure).
      You will find the vendor_registration.php file in plugin \wp-content\plugins\wc-multivendor-membership\templates\vendor_registration.php

      Thanks.

    • #121483
      rohitxd
      Participant

      Thanks again!

      2) I did it & I got the name renamed to “Seller Registration” instead of “Vendor”

      3) I cannot remove the and add the code because I don’t have a code editor, Could you please provide the edited file attached here 🙂

      4) New Question – How can I disable/delete/rename the Product Categories like Variable Category/Others expect simple product
      5)New Question – How to make my product custom field information appear on product page the option is there but i only can select “Do not show”
      6)How to remove the attributes tab in product entry page (Vendor Add product page)

      4) Issue Screenshot – https://prnt.sc/s3h2on
      5) Issue Screenshot – https://prnt.sc/s3h4o8
      6) Issue Screenshot – https://prnt.sc/s3h6ky
      Hope you can help!
      Thanks so much!
      Best Regards,
      ROHIT

      • #121717

        Hello,

        3) I cannot remove the and add the code because I don’t have a code editor, Could you please provide the edited file attached here 🙂
        >> We have attached the php file. You can you https://wordpress.org/plugins/file-manager-advanced/

        4) New Question – How can I disable/delete/rename the Product Categories like Variable Category/Others expect simple product
        >>This point not so clear. But to remove “Category” section from product edit turn-off the “Category” capablity from WCFM dashboard -> Capability (PFA)

        5)New Question – How to make my product custom field information appear on product page the option is there but i only can select “Do not show”
        >> You need our premium WCFM-Ultimate plugin https://wclovers.com/product/woocommerce-frontend-manager-ultimate/

        6)How to remove the attributes tab in product entry page (Vendor Add product page)
        >>turn-off the “Attribute” capablity from WCFM dashboard -> Capability (PFA)

        4) Issue Screenshot – https://prnt.sc/s3h2on >> turn-off the others product type from WCFM dashboard -> Capability (PFA)
        5) Issue Screenshot – https://prnt.sc/s3h4o8
        >> Add the css in your theme’s style.css

        div.wcfm-collapse-content h2,p.wcfm_title strong, span.wcfm_title strong {
            font-style: normal !important;
        }

        6) Issue Screenshot – https://prnt.sc/s3h6ky
        >>`add_action(‘init’,function(){
        global $WCFM;
        remove_action( ‘end_wcfm_products_manage’, array( $WCFM->wcfm_customfield_support, ‘wcfm_custom_field_products_manage_views’ ), 200 );
        add_action( ‘after_wcfm_products_manage_stock’, array( $WCFM->wcfm_customfield_support, ‘wcfm_custom_field_products_manage_views’ ), 200 );

        });`
        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/

        Many options(as your required) comes with our premium WCFM-Ultimate plugin.

        Kindly create different thread for different issues.

        Thanks.

        Attachments:
        You must be logged in to view attached files.
    • #121490
      popandbloom
      Participant
      This reply has been marked as private.
Viewing 5 reply threads
  • You must be logged in to reply to this topic.