HI all,
I'm pretty sure this will be an easy one:
How can I make my new ZC 1.3.8 install's customers start with a number other than 1?
Thanks in advance,
-Ray
HI all,
I'm pretty sure this will be an easy one:
How can I make my new ZC 1.3.8 install's customers start with a number other than 1?
Thanks in advance,
-Ray
++++++++++++++++
Subtle as the 'b' in subtle.
Customers, or orders?
Customers. I do know how to change the order numbers if needed, but its customer's ID that I'd like to start with 1000 or something other than 1
TIA,
-Ray
++++++++++++++++
Subtle as the 'b' in subtle.
While it is NOT RECOMMENDED TO MESS WITH THESE SETTINGS,
you can go to phpMyAdmin and change the auto_increment value on the customers table to a number you desire, and must be higher than any existing value already in the table.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks again, DrByte...I definitely understand your clear warning, but as we're using the customer number for something related to product licensing, I need it to be starting at a certain range.
This is a spanking new install, so there's nothing that I can't undo quickly if it blows up :) Are there specific things to avoid, or is this simply an incrementing field?
Thanks Again,
-Ray
++++++++++++++++
Subtle as the 'b' in subtle.
It's an incrementing field. You give it a starting number higher than that of any existing record in the table, and new records start from that value ... hence the term "auto_increment".
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Bookmarks