Results 1 to 4 of 4
  1. #1

    Default Order ID start at 001?

    Hello!

    I have a unique problem. Due to the type of site that my client has. We need the order number to start out at 001 and continue on to 002, 003 etc. I've tried updating the order number with the double zeros but it just changes back to 1 or 2 even in the database manually. Is there a way to add the double 00's in front via the database or code?

    Thanks in advance for any advice on this one!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: Order ID start at 001

    There's no quick easy built-in way to do that.
    However, a workaround would be to use the Admin->Tools->Store Manager to set the next order number to 101, which is naturally 3 digits, and start from there instead of 001.
    .

    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.

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Order ID start at 001?

    Not in the database; the order id is a numerical auto-incremented value. But any place you want to use the order id for non-numerical purposes, you could edit the display as a string so it showed with minimum 3 digits, padded with zeros if necessary.

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,264
    Plugin Contributions
    3

    Default Re: Order ID start at 001?

    What happens when you finish processing order number 999 ?
    20 years a Zencart User

 

 

Similar Threads

  1. v150 Base price of $0.001 for quantities of 1,000 or more
    By xwielder in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 30 Jun 2012, 03:03 PM
  2. order number start from 1?
    By accent2010 in forum General Questions
    Replies: 1
    Last Post: 24 Jun 2011, 10:12 PM
  3. start from say order number #1215 rather than order number 1
    By vandiermen in forum Managing Customers and Orders
    Replies: 4
    Last Post: 18 Mar 2009, 02:07 PM
  4. .001 on products
    By cyrusli in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 23 May 2008, 07:41 AM
  5. shop opening start with order #1
    By yps in forum Managing Customers and Orders
    Replies: 6
    Last Post: 5 May 2008, 12:30 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR