Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Login with Customers Number 1.0


airolg

Recommended Posts

First, thanks to Dennis Holst for making this wonderful contribution. I just saw this new contribution and I'm very excited to try it, but have a question.

 

In this contribution, does it create random numbers for the customer? I just didn't want anyone to be Number 1 or even Number 100. ;)

Link to comment
Share on other sites

  • 1 year later...

Having problems with this mod... I am getting this error...

 

1054 - Unknown column 'customers_additional_customers_number' in 'field list'

 

update address_book set entry_firstname =

 

on /shop/admin/customers.php?selected_box=customers&page=1&cID=3&action=update

 

Nowhere in the install instructions does it say to update the address_book table. ???

 

#1 

modifying the MySql tables:
---------------------------

ALTER ?TABLE ?`customers` ?ADD ?`customers_additional_customers_number` VARCHAR( 32 ?) ?NOT ?NULL;

When adding the following, make sure you put this "global switch" in the correct category 
(here it is 17). You might also change the position the switch will be displayed 
(here it is 20, at the bottom)

INSERT INTO `configuration` VALUES ('', 'Additional customers number', 
? ?	'IQ_ADDITIONAL_CUSTOMERS_NUMBER', 
? ?	'enable', 
? ?	'An additional customers number can be used', 
? ?	17, 
? ?	20, 
? ?	'2004-07-05 00:00:00', 
? ?	'2004-07-05 00:00:00', 
? ?	NULL, 
? ?	'tep_cfg_select_option(array(\'enable\', \'disable\'),'
? ? ? ?);

Edited by quillspirit
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...