Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Hide register link in vendor login page
Tagged: vendor login page
- This topic has 5 replies, 2 voices, and was last updated 5 years, 2 months ago by EK.
- AuthorPosts
- September 9, 2019 at 8:17 pm #80919EKParticipant
Hi,
In vendor login page, the register now option also appears (Please see screenshot attached). However, if someone registers using this , they become wordpress default subscribers and not vendors.
There is ofcourse the ‘become a vendor’ link but 90% of people think filling up the registration form will make them vendors and ignore the ‘become a vendor’ button. This is bad user experience and I received complaint about this.
Can you kindly tell me how to hide this using maybe CSS or other trick? I will replace the section with a custom button linking to the registration page for vendors as defined by plugin.
Thanks a lot.
Best Regards,
AKAttachments:
You must be logged in to view attached files. - September 14, 2019 at 10:07 pm #81624WCFM ForumMember
Hi,
You may add this link to hide that link from My Account page –
add_filter( 'wcfm_is_allow_my_account_become_vendor', '__return_false' );
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/Thank You
- September 15, 2019 at 2:25 am #81746EKParticipant
Hi,
I need to hide the whole register section since that section is to register non-vendor role users. Your code just hides the ‘register as vendor’ link.
Is there any way a vendor can see a login form without any other registration form on the side which does not register the person as a vendor? Please see screenshot. I wrote in the screenshot what I want to hide. It is the register section.
Thank you.
Ak
- September 15, 2019 at 6:13 pm #81817EKParticipant
Hi,
I analyzed how your plugin works. Basically, you share the same login page for all site members as used by woocommerce + wordpress. So, I re-designed the flow to adapt to your flow.
Can you just help me modify (See screenshot for graphical explanation)
1. The text that says login
2. The text that says register
3. The Text “become a vendor” text.
4. Can you kindly give the CSS selector to make the ‘become a vendor’ link into a button with my own css code. Is there a way by which I can attach a class/ID to the link so I can add custom CSS.This way, I can remove the confusion by telling all people what to expect when they use the register and login forms. Right now vendors use registration form to mistakenly register as site customers and leave confused.
If the above is possible, then you can ignore my previous request to hide the whole register form.
Thanks a lot,
AK
Attachments:
You must be logged in to view attached files. - September 17, 2019 at 6:54 pm #82141WCFM ForumMember
Hi,
Well, this is not essential to use WooCommerce My Account page for vendor login.
You may use any login page for this, even any custom plugin. Vendors does not require any special login option.
Between, how you want to style that button? Do you have any sample for this!
Thank You
- September 19, 2019 at 6:09 pm #82486EKParticipantThis reply has been marked as private.
- AuthorPosts
- You must be logged in to reply to this topic.