Hi,

I'm working on a site where customers can buy access to a flash based training programme. That's fine for a single purchase - I'm planning to change the users role to give them access and I've hacked the roleDelay module so that a purchase only gives them access for 1 year to the content page containing the movie.

But what can I do about multiple purchase - say a company wants to buy 10 logins at once? Do I have to do more hacking to automatically create 10 user accounts with pre-set privileges?

Am I going about this the wrong way? It sounds really messy and I'm having to modify the core to make it work - I've got a notion that there is better (and faster) way to do this.

thanks

Ian

Comments

litwol’s picture

why not use "points" when a user purchase access he has points. and when he wants to activate his yearly access then he activates one point on himself. but if he wants to give access for a year to his friend, then he activates one point on his friend. andduring those activations points get deducted.

Sometimes something interesting appears on http://litwol.com

cinquetooty’s picture

Version 3 has a 'role sale' feature which serves me very well - but I still can't see how to organise 10 accounts at once.

litwol’s picture

sorry, i have no viable solution for you then. i have not used e-commerce64 module at all yet as i am still only in learning-to-theme stage of drupal experience: http://64.158.178.196/

Sometimes something interesting appears on http://litwol.com