woocommerce assign roles in registration form - woocommerce

We are building a website for our project and using Wordpress/Woocommerce.
What we want is for the registration form to allow selection of the various user types (individual, SME, etc.) or roles and then offer the appropriate pricing options depending upon the choice when a product is selected.
I've been trying to research various plugins and there are quite a few it would seem, but am new to Woocommerce and am very unsure whether they can do that exactly as required.
Can anyone point me in the right direction?
Much appreciated,
Jim.

Here is a plugin WP Roles at Registration ,this plugin asks the user to choose his role in the website during registration from a list of selected roles.
And for pricing the products according to there roles you can use the plugins like
Woocommerce Role Pricing
Woocommerce Role Based Price
WooCommerce user specific pricing extension
Check these plugins and user which fits your requirement.
Let me know if this solves your issue.

Related

adding different types of user accounts in wordpress

I want to add 2 types of users in my wordpress website.I've read this post , but it's not providing any free method.
Multiple User registration forms for different types of users in wordpress
It'll be like "Buyer and Seller" , seller can add auctions and post stuff while buyer can bid. They both would have different access.
I want to verify seller and let them wait until approval while buyer can simply register.
These functions are what "profile builder pro" provide but I don't want to spend on it.
I've tried to use "Ultimate Profile Builder" , but when I add custom fields they don't appear in form.
I've also tried WP registration , it provide very clean forms but problem is that it don't have option to manage different roles - is this possible that I can manage both type of users with single registration form by providing different fields based on role selection(may be i can use radio button for role selection).
It's easy you can learn about all wordpress users types, and whats roles given to all users, below screenshot

Register Memberships with Advanced Custom Fields

I'm currently trying to figure out a process of creating a paid membership account using Advanced Custom Fields.
What I'm trying to do is create a directory with Advanced Custom Fields & Custom Post Types, which is easy enough to do but what I need to happen is:
User creates a basic account without paying for membership
This directs to the Advanced Custom Fields form where users can create a new "Post Type" with their information, If someone chooses one particular radio button, it needs to show a link to the designated membership level (eg: Gold)
The user then clicks on the link to the correct membership level and sorts out payment details
Everything is then set up and posted once the last step is complete
I've bought the Advanced Custom Fields plugin and was thinking of using "Ultimate Membership Pro" plugin to achieve this but I'm just trying to figure out how to link it all together.
All help is massively appreciated.

Custom Registration

I need to create a custom registration flow and am a bit stuck.
The requirements are as follows:
1 role for all user (Vendor as per WC Vendors)
3 types of users (Wholesale, Retail, Private)
Different profile fields for each type
Different registration form for each type
Different profile page (Buddypress) for each type
Also
I need that the user sign up with minimal details but then force the user to complete their profile in order to be able to use the site (sell products).
So far I have seen many custom form plugins such as Ninja forms and Gravity Forms as well as a couple of front end form plugins such as WP User Frontend and Profile builder but I don't know which one to choose!!!
Any help, advice, support would be greatly appreciated.
Thanks in advance.
Eyal

Buddypress Members Directory Page

I have buddypress installed in wordpress and Paid Membership Pro.
When someone registers they use the buddypress reg from with some additional profile fields I added to collect info then after registration they choose a paid or free membership level via the paid membership pro plugin.
So now I want to display a list of users that signed up for a free or paid membership. The default buddypress page domain.com/members shows all registered users whether they choose a membership level or not. Some spammers just registered so I don't want to display those, only users that continued and chose a membership level.
I would like to show ONLY users that have completed the checkout and chose a membership level (not just registered) and also display which level they purchased next to their name.
By default it appears that the members page shows an avatar, the users name and last activity.
I would like to also maybe remove the activity and add a couple of the custom profile fields I added to the buddypress registration form.
I assume I could maybe update the members-loop.php page ?
Or is there a better way?
thanks!!
There is a better way of doing it than updating members-loop.php. You can hook to the bp_ajax_querystring filter. For example:
function my_exclude_users_filter( $query = false, $object = false ) {
// manipulate the query however you like
return $query;
}
add_action( 'bp_ajax_querystring', 'my_exclude_users_filter', 30, 2 );
Hope this gives you a good example of how it can be done.

User Role plugin to restrict editing to specific Categories for Pages

I need a plugin that would restrict registered users to only be able to add/edit pages in specific categories. Even though WordPress pages do not have "Categories" like posts do.
Like, if I have a category called "Robot Maintenance", I want to make sure that only specified users or roles can edit and create pages in that category.
I see that the Member plugin lets me create new roles with such capabilities as "edit only pages they own" but I was hoping I could create a role (for say, a department) and configure that role to be able to edit and create pages within the {department} category. Or even limit users to specific categories.
This is a fairly complex task, and you may want to engage a professional wordpress plugin developer to build this for you.
Having said that....
It is possible to add categories to a page. Check out the tutorial at http://shibashake.com/wordpress-theme/add-tags-and-categories-to-your-wordpress-page
Next, you will want to programatically create roles for each page category you have. You will want to hook into the create and remove category to create/remove your special role. Then, you can use the members plugin to grant proper permissions.
Then, you need to hook into the page edit flow to ensure that the current user has the permissions to edit the current page (based on your custom roles and the page's category).
Still a bit of work for you to research...but at least this should give you a fairly good starting point.

Resources