Auto-Creating User Accounts

          

Auto-Creating User Accounts


Auto-Creating User Accounts 

If a customer is not a user on our site, we can automatically create a user account for them once they have placed their order; this saves the inconvenience of using an anonymous purchase policy where the user has to log in or register, but it gives the user the added convenience of having their details saved for future orders.

This is something Doug wants to enable to make things easier for regular customers on this site. The fi rst thing we need to do is install the module. The module is called EC Useracc and is listed in the E-Commerce Uncategorized group of modules.

Now under E-Commerce configuration we have a new option called User Account; let's take a look at it. This has the following settings:

  • Confirmation e-mail
  • Welcome mail
  • Days to confirm expiry

The Confirmation e-mail is to see if the customer wants to create a user account; this email expires after the number of days set in the Days to confi rmation expiry setting has passed, and the Welcome mail is the email sent when the account is created. These emails can be confi gured on the Mail page.

These s ettings don't actually enable the feature though; we have installed the module and looked at the global settings, but to actually get it to work we need to set how we would like each product to work in relation to this module. If we go to edit any product, there is a new section, which was not there previously, called User account provision; this is what we need to change.

 
  Book Excerpt: Selling Online with Drupal e-Commerce
  Chapter Contents

This excerpt from Selling Online with Drupal e-Commerce   by Michael Peacock, is printed with permission from Packt Publishing, Copyright 2007. 


Related Links
>Oracle Interview Questions
>Working with ASP.NET DataList Control
>.Net Framework Interview Questions
>ASP.NET Tutorial
>ASP.NET Interview questions
>Remoting.Net
>ASP.NET Validation Control
>.NET Assembly
>ADO.NET

As Doug wants this feature enabled, we need to check the option Create an account for the user when this product is purchased. The other option, Block the user's account when this product expires, relates to using recurring billing in products (mainly non-tangible products i.e. services) such as a customer support contract or a magazine subscription.

 


Page 1 | Page 2 | page 3 | page 4 | page 5 | page 6 | page 7 | page 8



Write your comment - Share Knowledge and Experience


 

Latest placement tests
Latest links
 
Latest MCQs
» General awareness - Banking » ASP.NET » PL/SQL » Mechanical Engineering
» IAS Prelims GS » Java » Programming Language » Electrical Engineering
» English » C++ » Software Engineering » Electronic Engineering
» Quantitative Aptitude » Oracle » English » Finance
Home | About us | Sitemap | Contact us | We are hiring