Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2007
    Posts
    115
    Plugin Contributions
    0

    Default "Random" invoice number.

    How can I do this? I want either to have a set prefix for every order number, or a random invoice number for every order. Is this possible? I looked all over for this and couldn't find a solution.. Thanks!

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: "Random" invoice number.

    If you want to create random number, it's possible, but then you will have to change the code.

    Why do you want to do that?
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Mar 2007
    Posts
    115
    Plugin Contributions
    0

    Default Re: "Random" invoice number.

    Quote Originally Posted by yellow1912 View Post
    If you want to create random number, it's possible, but then you will have to change the code.

    Why do you want to do that?
    Well, it would look a bit more professional IMO and it's a way to mask how many actual orders my site has.

    It doesn't have to be random, I'm OK with having a set prefix and the order number after that..

  4. #4
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: "Random" invoice number.

    You can change your starting order number, say from 10000.
    Think about this, if you want to randomize the order number then you will have to check if that new number is already in the database, and create a new one if it's already there.
    It may look more pro (I dont know why it's pro that way tho), but it will involve a lot of "hacks" into the core codes. That's all I can say. Remember, if you make a mistake, it may screw up your customer's orders.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  5. #5
    Join Date
    Dec 2005
    Location
    SWFL
    Posts
    469
    Plugin Contributions
    0

    Default Re: "Random" invoice number.

    Admin panel --
    Tools --> Store Manager.

    Reset your starting order number to whatever you want.

    Don't know where you're from, but if you're in the US and you're ever audited by the IRS, they'll frown on "random" invoice numbers and put you through the wringer.

    HTH,
    Lesli in SW Florida ~ writer, teacher, and dodging hurricanes!

 

 

Similar Threads

  1. Replies: 83
    Last Post: 8 Jun 2023, 06:59 PM
  2. Replies: 1
    Last Post: 12 Oct 2011, 06:23 AM
  3. Using "Fax Number" field as "Tax ID Number"
    By e81ny in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Aug 2009, 04:19 PM
  4. Add "shipping" next to "table rate" on invoice
    By mrmeech in forum Built-in Shipping and Payment Modules
    Replies: 5
    Last Post: 12 Jan 2007, 07:54 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