Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Remove Customer Registration Option

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-28-2004, 06:21 PM
 
ssosebee ssosebee is offline
 

Newbie
  
Join Date: Jan 2004
Posts: 4
 

Default Remove Customer Registration Option

I need to change my client's cart such that there is no Register option on any of the customer screens. All customer registration will be done by the administrator on the back-end.

I attempted to accomplish this by simply deleting the /customer/register.php and using /admin/register.php.

When I access /admin/register.php, the registration process appears to work, but the customer information is not saved. The customer confirmation e-mail is sent, and there is no error or indication that the registration has not been accepted.

How can I disable customer registration, so that only pre-registered customers (registered by admin) can login to the cart?

Thank you in advance.


BTW - I am using X-Cart 3.4.1 running on Linux.
Reply With Quote
  #2  
Old 03-29-2004, 02:58 PM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Setup membership levels and with a bit of minor tweaking you can set all new customers to a particular level, say you created "Pending" and "Authorized" to the membership levels. You then would just need to modify include/register.php to make the default level be "Pending" so that you can easily change them to "Authorized" via the admin. You would need to setup all of your products and categories to only allow for "Authorized" members to view and use it which by default, x-cart can do.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 03-29-2004, 03:23 PM
 
ssosebee ssosebee is offline
 

Newbie
  
Join Date: Jan 2004
Posts: 4
 

Default

Thank you for the reply. Per my client's request, the cart functions such that all products are visible to all users; however, the pricing and quantity information and the add to cart/buy now options are only available to registered users. This prevents the necessity of having to enter the same products multiple times - all products are entered for the ALL membership level, and the cart has been modified to remove the price, quantity, and purchase information where $Login eq "".

Therefore, I need to be able to simply remove the register option from the customer interface (that lead to my erroneous reasoning that I could simply delete /customer/register.php and use /admin/register.php). My client does not want anyone to be able to use the registration option at all; all registration will be done by the cart administrator after the customer (dealer) has signed the appropriate contract.

Is there a way to only allow registration through the Admin interface?

Thank you.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:05 AM.

   

 
X-Cart forums © 2001-2020