Account creation during checkout Woocommerce - wordpress

i need help to change the user profile that WC sets when a user create his account during the checkout. It sets “Customer” profile.
Because i’m getting an redirection error when the users use this option (they can’t go to “online order” in the navbar) when they press click in "online order" it redirects to his account profile.
If i switch the profile “Customer” to “Suscriptor” now they can go to “online order”.
Thanks.

I just gived the same config of "Suscriptor" to "Customer" and it works, thanks.

Related

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

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

How to manage wordpress plugins outside wp-admin?

I have a client and I made his website using wordpress. I am using the plugin "Ultimate Member" and I want to enable my client to approve User Registrations without ever accessing the wp-admin panel.
You do it by REST API
OR simple create a page where fetch all those pending user listig with joining of table.
then show listing add one button APPROVE or REJECT. On that button click fire post method and change status of that list.

How to buy particular products without login in drupal commerce

I am new working in drupal-commerce module .Currently the system I have is that a logged in user should buy products from my site but there are two particular product I need to my users buy without doing any login . Is it possible in drupal-commerce ? My english is not good so if anyone have any query regarding my question please ask me.
Please help me if there is any solution to this .
Thanks
Purchasing without creating accounts? It is possible.
It is possible to purchase products without creating an account.
By default anonymous users aren't permitted to complete the checkout process. What you need is grant them the Access checkout permission. Changing this permission is really easy:
From /admin, click on the People link, then Permissions
Under the Checkout section, grant the Access checkout permission to anonymous users
Click Save permissions.
Now anonymous users can use checkouts.
How to setup your site to always be anonymous
There is another way to accomplish this, however it is more complicated and possibly you don't want this, I'm just sharing if so.
Users on your page don't have to be logged in (authenticated) or anonymous. To setup your site to always be anonymous, you have to disable only two rules.
The rules can be found by going to the Store Configuration screen and selecting Checkout Settings and then selecting Checkout Rules.
Assign an anonymous order to a pre-existing user
Create a new account for an anonymous order
Disabling these rules mean the users can't login to see their Orders, however it has no side affect to being able to purchase items.
If you want to read more about this, check out this page.
Hope that helps

WordPress: can not delete user from wp-admin

I need to delete user from my site.
So i go to :-
domain.com/wp-admin/users.php
And select user to delete and click into Delete and go me to page to move user article to another user.
I select another user to move deleted user article to him, But i cannot see delete or any thing to click to delete
Why !!
Why won’t WordPress let you delete the admin account?
Because under Settings –> General there is a field where you enter an email address. That email address is the administrative email address contact. You cannot delete the account that the administrator email account is assigned to.
So, take one more step and switch the admin email address to match the one you setup with the new admin account. Then, you can go back to the Users screen and delete the admin account without any trouble.
FYI – If you have not created another User account and assigned it administrator rights, you won’t be able to delete the default admin account either. In WordPress, there always has to be at least one admin account, so you have to create the new admin account first, and then delete the old default administrator account.
**** Make sure you aren't logged in as the same account you are trying to delete too.
make sure your current role is an administrator.[or any high role]
Go to users.php page again, then put cursor over the user you want to delete to make Edit and Delete link come out. And click delete.
here a screenshot https://lh5.googleusercontent.com/-u1yQRMUtcMs/VHQce3dcDVI/AAAAAAAAADU/Vvx1mEGcoNs/w1044-h355-no/deluser.png

Wordpress Disable User Account?

I want to disable a user's account. When the user's account is disabled then the user should not able to login.
How can I disable user's accounts?
Well you could just delete it. Alternatively, go to the Users dashboard panel and change the user's role to "-- No role for this site --"
A quick Google search gave me the following plugin:
Disable Users
Once installed and activated, a checkbox appears on the user profile settings (only for admins). When checked, the users account will be disabled and they will be unable to login with the account. If they try to login, they are instantly logged out and redirected to the login page with a message that notifies them their account is disabled.
I think it's what you are looking for!
You can create a temporary user or disable user using the following plugin:
Temporary access for users
Temporary Access for users plugins creates the temporary user. If the admin wants to create a temporary user for some limited period of time like give temporary login to a user then this plugin is helpful to you.

Resources