how to upgrade from one role to another role in drupal? - drupal

i have two types of roles in my site. they are
1)free user
2)premium user
If user registered as "free user" and then he/she want to upgrade their role to "premium user" from "free user".how can i implement this feature in my site? .is there any module for that?
thanks in advance.

LM_PayPal is another module that allows you to change roles based on a user paying a subscription fee.
It is not as comprehensive as the Ubercart route, but it is possibly easier to set up. It only works with PayPal payments, though.

If i understood your request, you want to promote user to role premium after a payment?
Ubercart features:
Product features to add file downloads, role promotions, and more to products.
Ubercart module page: http://drupal.org/project/ubercart
You also may want to check out this post:
http://drupal.org/node/652472

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 separate Corporate and Normal user in woocommerce?

I'm not an experienced developer but trying to understand and need help how to make my Woocommerce store with two separate users.
I want to have products for normal users and corporate where I want to keep separate prices on products. And two separate registration and login pages for normal users and corporate account.
Corporate accounts and prices will differ from customer prices and accounts.
Website default will be shown prices for customer and there will be a link for corporate.
thank you
Yes, this can be done.
Two types of customers can be done with user roles.
You will need some dev knowledge to place the correct login and registration forms on different pages. The login is less complicated since once the user is registered to a role, no need for different login form. Registration needs some work to make the user role according to the form used.
Different prices also can be achieved using ready-made plugins.
User Role Editor plugin will help you create a new role for the corporates.
Dynamic Discounts plugin will help you create different discount rate for the new user roles.

Buddypress membership

I'm looking for a plugin that can do the following.
Support of different memberships (e.g. basic, silver, gold) including payment gateways with recurring payments.
Depending on the chosen membership option during registration (and later on upgrade) more fields shall appear in the registration form.
Those fields shall be displayed on the profile page of the user
I don't want to protect any content of the site.
It is more to enhance the user profile with additional information depending on the subscription.
I would use s2membership as this should solve your multiple membership issue.

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

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

Resources