I would like to ask if the Custom Roles that are created using the Access plugin are such that they can be assigned upon Woocommerce product purchase. We would like to set up roles for each level of membership that we offer on our website as Woocommerce products. When a customer purchases a membership, their user account should be assigned the role associated with that level of membership. Is this something your Access plugin can accomplish? Or do we need something different for that?
Hello,
Yes, it is possible with Toolset + Woocommerce plugins, see our document:
https://toolset.com/course-lesson/charge-users-for-registering-premium-accounts/
Charge users for registering premium accounts in WordPress
Thank you. This is great that this is doable with Toolset. I followed all the instructions on the page you provided. I was able to get through everything seemingly successfully. However when I go to the product page, something isn't working correctly. Go here for the example I've tried:
hidden link
Scroll down and you'll see the form created and present. I didn't modify the default fields for the form because I just want to see how it works first. The form looks like all is fine. However, if you look below the form, you'll see our product Attribute (State Forest Selection), the Quantity field and the Add to Cart button are now covered by a spinner and inaccessible. I can submit the form and it goes to the checkout page as we set it up, but we don't get the product Attribute selection this way. I suppose I could add the product Attribute as a field on the form instead if necessary.
But in reality, we don't really want to have a form set up. We'd like the product to just register the customer with the Membership role we set up automatically. Their user account should be set up with the normal Woocommerce product purchase. So what I'd ideally ask here is if we can just eliminate the form fields and have the Add to Cart button and product attribute display as usual and have the user that gets created from the product purchase have the custom Member role assigned? It's possible that we'd need to use a different plugin to achieve this result and not use Toolset for this.
I understand if your system requires the form to be submitted for the Custom Role to be assigned to the user account that gets created. If we must have the form present for this to work, then I'd like to ask your input on what to do about the Attribute, Quantity and Add to Cart button. We don't want to have that there showing with a spinner over it and inaccessible because that is very confusing. We definitely want that Attribute present in some way. We'd also like to keep the Quantity field present in case someone wants to purchase multiple memberships (maybe one for themselves and others for friends/family).
In the case that we must use the form for this to work, I'd also like to ask how this works for people that renew their memberships each year. We don't want them to have to create a new user account each time they renew, especially considering the user registration system requires a unique e-mail address each time. We'd like subsequent purchases to apply to their already existing account.
Any assistance you can provide here will be greatly appreciated. We're closer to what we want here and I'm hopeful we can get all the way there.
I assume the original questions of this thread is resolved, according to our support policy, we prefer one ticket one question,
https://toolset.com/toolset-support-policy/
For other new issues, please check the new thread here:
https://toolset.com/forums/topic/wed-like-the-product-to-just-register-the-customer-with-the-membership-role-we-set-up-automatically/
Well, this isn't really resolved because we wanted to see if we can do this another way as the way you provided doesn't seem to be working ideally. But it's OK to have the answer to this question in either support thread, this one or the one you split this off to. Whichever way is best for you is fine.
It depends on yourself, if you want to use different plugin to achieve this result, you need to check the author of that "different plugin".
Within Toolset plugins, please check my first answer:
https://toolset.com/forums/topic/access-custom-roles/#post-2253313
Did you look at how it is displaying from your instructions? Having the product Attribute (State Forest Selection), the Quantity field and the Add to Cart button covered by a spinner and inaccessible is not what we're looking for here. We just want a product that automatically assigns the role upon purchase without having to add a form to the product. We'd be OK with adding a form if it wasn't preventing access to the product Attribute, and the Quantity fields, but since that's how this is working, we need to find another way.
If the way you've showed me is the only way Toolset is able to assign custom roles on a product purchase, then we'll have to find another option. But let me know if there is another way of going about this using Toolset that would not leave us having these elements of the product be inaccessible and left there in a way that will be very confusing to end users.
Please check your another thread:
The spinner issue is another compatibility issue with other plugins, can you confirm it?
https://toolset.com/forums/topic/wed-like-the-product-to-just-register-the-customer-with-the-membership-role-we-set-up-automatically/#post-2254399
We can not mess different problems in same ticket, we prefer one ticket one question:
https://toolset.com/toolset-support-policy/
For the question:
If the way you've showed me is the only way Toolset is able to assign custom roles on a product purchase,
Please check my first answer:
https://toolset.com/forums/topic/access-custom-roles/#post-2253313
Yes, it is possible with Toolset + Woocommerce plugins, see our document:
https://toolset.com/course-lesson/charge-users-for-registering-premium-accounts/
Charge users for registering premium accounts in WordPress
If you want to assign the user to different user role, you can setup different user form, each user form choose different user role, so user can use different user form to purchase different product, and get different user role.
OK, let's just close this support ticket and just keep the discussion going in the other one.