Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    May 2007
    Posts
    90
    Plugin Contributions
    0

    help question Custom order number setup?

    Hello,

    I created a Zen cart store. Tested it by purchasing a product under a dummy account. I noticed the first order was order #1. I'm assuming this is a default that can be setup differently (set to a different default number in the Admin somehow?).

    I have a routine of order numbers and a sequence I would like to setup. Can someone tell me if this is possible? And where/how?

    My routine is setup like this.

    0700056

    2007... 56th order taken.

    I'd like to be able to change the default each year so next year I can set it up as..

    0800001

    2008... 1st order taken.

    And continue to do this each year to track sales per year by order number. However, I DO NOT want to reset my existing order numbers to reconfigure to the new default... JUST orders taken after its been set.

    Anyone???? Help please???

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Custom order number setup?

    Admin->Tools->Store Manager .... you can change the "next" order number there.
    .

    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
    Oct 2007
    Posts
    20
    Plugin Contributions
    0

    help question Re: Custom order number setup?

    In a similar fasion, I'd like to add a couple of letters before the order numbers (to distinguish between orders from two shops on the same domain).

    Order number: NS72

    This is partly for accounting reasons (so the orders numbers dont overlap), and partly so that we dont have to ask the customer which shop they made the transaction through should there be a query.

    I imagine the only solution is to go through the code and find anywhere the value is printed for display purposes and add the two letter suffix.

    Perhaps there is somewhere central I can add the suffix. Does anyone know?

    Many, many thanks for helping with this if you can!!!

    FG

  4. #4
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    red flag Re: Custom order number setup?

    is it possible add letter to the order number, as say feelgood2k?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Custom order number setup?

    Uncustomized, the current version of Zen Cart does not allow non-numeric order numbers.
    .

    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.

  6. #6
    Join Date
    Oct 2006
    Location
    Italy
    Posts
    634
    Plugin Contributions
    0

    Default Re: Custom order number setup?

    I've two website with zencart, and for me it's better to have two different order number: it's possible to add a number prefix (as 99- or only 99)?

  7. #7
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Custom order number setup?

    If you're not expecting vast numbers of orders, you could start one shop's numbers at, say, 1000000 and the second shop's numbers at 2000000. That gives you one million sales in the first shop before its numbers bump into the second shop's numerical territory. At my rate of sales, that would do for about 30,000 years.

    HTH

    Rob

  8. #8
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Custom order number setup?

    Quote Originally Posted by rstevenson View Post
    If you're not expecting vast numbers of orders, you could start one shop's numbers at, say, 1000000 and the second shop's numbers at 2000000. That gives you one million sales in the first shop before its numbers bump into the second shop's numerical territory. At my rate of sales, that would do for about 30,000 years.

    HTH

    Rob
    It's worth noting that unless you change the way the order numbers are stored in the database, the maximum allowed number is: 2,147,483,647.
    .

    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.

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

    Default Re: Custom order number setup?

    2,147,483,647?

    That's two billion some, and is not likely to hit the wall starting at two million.

  10. #10
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Custom order number setup?

    2,147,483,647

    I'm shocked. That's only 68 orders a second -- every second of every minute of every hour of every day for one year!

    Surely we need a larger number. ;-)

    Rob

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to setup a custom handler ?
    By a1ex07 in forum General Questions
    Replies: 3
    Last Post: 23 Feb 2011, 11:59 PM
  2. 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
  3. Custom Setup Charge
    By jwashburn in forum General Questions
    Replies: 1
    Last Post: 4 Feb 2009, 07:04 AM
  4. Custom Search Setup
    By nokios in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 4 Mar 2007, 04:36 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