How to create a woo-commerce store were the user can't purchase an item without being accepted by the admin - wordpress

Summarized problem:
I'm setting up a woo commerce store where the customer has to ask for permission before creating an account on the store. How do I do that?
Provide background:
My client is selling products that require detailed instructions that only qualified people can use, at the moment anyone can create an account and buy a product. Is there a way the website can notify the client of registering customers before giving the customer access to the products? like an accept or reject email for new customer registrations?

Block the common ways to create an account;
Create a condition that shows the "buy" button just for logged-in users;
Add a form for the user to demonstrate their interest in having the access to buy the products, with the data that is needed to the approval;
The admin check the submited form, and then creates the account with some "welcome" message.
This can be handled with some plugins, using the hooks from woocommerce and wordpress.
You could even create a new panel on Wp dashboard that sees the submited forms, with 2 buttons with "approve", "disapprove", and a field for feedback.
When approve is clicked, the plugin creates a new account and send to the user the feedback and instructions.
When disapprove is clicked, the plugin sends to the user the feedback message with "sorry" message.
This way would be less frustrating to the user, they wouldn't need the approval for every buy.
Some links to help you in this quest:
Woocommerce hooks API Documentation
Add dashboard page : Wordpress Documentation

Related

When does a wordpress subscriber become a woocommerce customer?

Ok so I'm trying to find out what determines a wordpress user becomes a subscriber or a customer. So my site has over 5000 subscribers but 1000 customers. Lately I have been getting hit by bots that will register 300 - 400 accounts in a day. So I'm trying to determine if its' the registration form itself that determines who becomes what role. Like if it's original wordpress form they become a subsriber but a woocommerce registration form they become a customer. As the bots are using a very specific link to automatically register and it's the default wordpress registration link. So I'm trying to figure out the best way to avoid this from happening while also being able to determine fake subscriber from real subsribers, as checking some of the subsribers have actually logged in. I figured then all customers should have logged in, assuming customers were created once they purchased something from the store but in fact thats not the case. So any real input on this would be very nice and helpful.
So talking to Wordpress and Woocommerce it is when the user uses the Woocommerce Registration Form is when a user is assigned the Customer Role over Subscriber Role.
I want to add to this now also, I'm unsure what update this occured but in Wordpress Settings->General Tab there is a box that asks for New User Default Role. So now you can make sure every user is a customer or a subscriber or whatever role you decide to choose.

Wordpress plugin with request approval form and approval check on the user page

I’m finding a feature on Wordpress and I don’t know if there are any plugin that can cover my needs.
I want to make a request form (especifically about scholarships request) only for registered users, so when the user log in can send the form. When the form was submitted, the admin can approval or reject the scholarship, and the user can know if the form has been approved or rejected via user panel (with an option of approved or rejected in a zone of the user panel).
Can I do that? Any plugin that can do it?
Edit: I saw these plugins but I think that can't do that:
https://es.wordpress.org/plugins/ultimate-member/
https://es.wordpress.org/plugins/custom-registration-form-builder-with-submission-manager/
https://gravityflow.io/
Thanks.
This plugins only approve or reject the user profile.
I will guide how to implement this.
you create the scholarship custom post type. The user can log in and fill-up the form and form data place on scholarship post type. you will set the post to publish status set as "Draft". Admin can check this posts and admin can post publish.
Thank you.

Suggest or a request form on a Wordpress site, how automatically know from which user?

about the background: so we are making a WP site, which uses WooCommerce and FooEvents. FooEvents is a plugin for WooCommerce which lets us list events and make the tickets. We also installed a plugin for Members called WooCommerce Memberships.
All in all we want to have a form on our site where people can suggest their event. We want it to be the easiest can be. Maybe its a dumb question but:
How can we automatically know which user filled out the form and sent it to us? We would like to avoid any Email or username entries.
Can I use a contact form 7? Or is there any free alternative in the best case, otherwise paid.
Greetings!
If your users have already an account on your website and they are logged in, here you have the possibility to populate automatically the fields Name and Email with Contact Form 7:
https://contactform7.com/setting-default-values-to-the-logged-in-user/

How can I add lm_paypal subscriptions to registration page?

I've recently installed the lm_paypal module to my drupal site, and I've created two different subscriptions. When users subscribe and pay, they are granted a user account (a specific Role that has access to various pages).
How can I add my subscriptions to the user registration form?
The goal: After users fill out the registration form, I want them to be taken to the paypal page for payment (e.g. Continue to Checkout).
this is a great question, I'm going to try to work on something like this and let you know!
In the mean time, check this link out, it has some ideas.
https://drupal.org/node/125816

Drupal 6 - Content profile and user management

I have developed a system using Drupal 6. I have implemented user registration with content profile. Which means there is a functionality called company registration. It is creating a content profile with companies and a user account also after click register.
Once the profile and user account created both will be in pending status and I have implemented a functionality where the site admin can approve (using rules.) Once approved the content profile is accessible via front end.
But though the users status change rule is written (rule to change the pending user role to active member) the user is unable to login. Currently after approving the content profile the admin again need to go to the user account and activate it.
Can anybody help me to get this resolved please?
My advice would be to use Triggers with this, so that when a content profile is approved, the linked user profile will also be approved. You should be able to write an "Advanced" trigger for this.
https://drupal.org/documentation/modules/trigger

Resources