Share » Forums » Developer » How to force user registration on...

How to force user registration on checkout?

How to force user registration on checkout?

Tuesday 23 September 2003 2:32:05 am - 1 reply

Author Message

Paul Forsyth

Tuesday 23 September 2003 3:01:20 am

Look at shop account handlers. This is where the functionality you need is located. For example, the default shop account handler is at:

kernel/classes/shopaccounthandlers/ezdefaultshopaccounthandler.php

There you can see the function fetchAccountInformation redirecting the user to 'user/login' if the user is not logged in.

You could either change this or create another shop account handler to redirect to 'user/register'.

I think the default account handler redirected to user/register in 3.1 and before but this was changed to user/login for 3.2, which is my preference. If i am a returning user i dont want to goto a register screen each time i forget to login before adding items to the basket.

Paul

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu