Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WC Marketplace › Vendor Registration Form Customization Help!
Tagged: Customization, vendor registration form
- This topic has 11 replies, 3 voices, and was last updated 4 years, 6 months ago by Sarmistha Chakraborty.
- AuthorPosts
- April 20, 2020 at 6:28 pm #120991rohitxdParticipant
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/JtCDJ1zI have check the video tutorials you guys provided but there outdated 🙁
Regards,
Rohit - April 21, 2020 at 1:54 pm #121284Sarmistha ChakrabortyMember
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 change3) 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. - April 21, 2020 at 9:04 pm #121452rohitxdParticipant
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 - April 21, 2020 at 9:25 pm #121460Sarmistha ChakrabortyMember
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.
- April 21, 2020 at 11:14 pm #121483rohitxdParticipant
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- April 22, 2020 at 3:02 pm #121717Sarmistha ChakrabortyMember
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.cssdiv.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.
- April 21, 2020 at 11:51 pm #121490popandbloomParticipantThis reply has been marked as private.
- April 22, 2020 at 4:41 am #121574rohitxdParticipant
?
- April 22, 2020 at 3:14 pm #121736Sarmistha ChakrabortyMember
Hello,
Create a page with “[wc_frontend_manager]” shortcode in your primary site, and then set this page as “WCFM page”. You need to create WCFM pages in your primary site like “[wcfm_vendor_registration]” etc. (https://wclovers.com/knowledgebase/)
Thanks.
- April 27, 2020 at 1:07 pm #123585rohitxdParticipant
hi can you reply my other question/topic please?????
- April 27, 2020 at 9:58 pm #123802Sarmistha ChakrabortyMember
Hi,
We have replied you https://wclovers.com/forums/topic/how-to-set-a-default-product-description/in this thread. We are closing this thread.
Thanks.
- April 27, 2020 at 7:41 pm #123750rohitxdParticipant
Since no one replied can you please?
Hey!
I want to set default product description for vendor product entering page – description (not short description), How should I do it?Regards,
Rohit
- AuthorPosts
- You must be logged in to reply to this topic.