X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Email limit for registration (https://forum.x-cart.com/showthread.php?t=45893)

admamy 02-27-2009 07:58 PM

Email limit for registration
 
Please advice as how to do if limiting customer register only once per email address?

Thanks for your help in advance.

Vetrivel 02-28-2009 09:31 AM

Re: Email limit for registration
 
Make the email field(in xcart_customers table) as unique and add a bit validation in register.php

balinor 02-28-2009 10:29 AM

Re: Email limit for registration
 
Be careful with this, it will cause anon customers to not be able to check out the second time they purchase - hence the reason it is not unique by default.

Vetrivel 03-01-2009 09:20 PM

Re: Email limit for registration
 
Yeap.thats valid point.
But how do they achieve this?


All times are GMT -8. The time now is 11:48 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.