Thread: Random Order ID

Page 1 of 3 123 LastLast
Results 1 to 10 of 22
  1. #1
    Join Date
    Oct 2006
    Posts
    4
    Plugin Contributions
    0

    Default Random Order ID

    Hi !

    I Looking solution for this problem.:
    The order ID look like this:
    First order : order Nr.1
    2nd order : order Nr.2
    Third order : Order Nr.3
    ect....ect...
    I need this ID randomly ( for example 15424265 next 13752452 ...next 142652875 ect..ect..),because the concurrency can test and see the business traffic of our shop.

    Thank You!

    Best Regards.
    davee

  2. #2
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    289
    Plugin Contributions
    3

    Default Re: Random Order ID

    Hi there
    Random numbers will not work since the database uses auto increment. That is that the next number will always be incremented by one. What you could do is to change the order number to a number you prefer eg 1,000 or even set a higher number every month or something. To change the number manually change it via phpmyadmin in zen_orders to the number you want eg 1000 and the next order would be 1001 then delete the number you inserted.

  3. #3
    Join Date
    Oct 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Random Order ID

    Thank You!

    I think better if i changed the php templates and email forms do not send and see the order ID.

    Thanks.

  4. #4
    Join Date
    Oct 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Random Order ID

    Hi !

    I can't find this email form.Can somebody help me please.
    How can i find this ?

    I need delete the :

    Subject : Order id
    and the order id in the emal order notification.

    Thanks.
    BR.

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

    Default Re: Random Order ID

    So you're not going to let your customers know their order id? How are they supposed to communicate with you about their order? And will real customers be happy with this? Will your competitors be making fake orders to check on your traffic? Who's more important, your customers or your competitors?

  6. #6
    Join Date
    Mar 2004
    Posts
    16,042
    Plugin Contributions
    5

    Default Re: Random Order ID

    Another thing IF your compitetion is looking at your sales,
    they will have to spend their own money to do so, also if they are looking then you are doing enough business to make em nervous.


    Who cares what your comp thinks,
    Zen cart PCI compliant Hosting

  7. #7
    Join Date
    Oct 2007
    Posts
    111
    Plugin Contributions
    0

    Default Re: Random Order ID

    I need to do what WolfSZ suggested and change my order count to 5 or 6 digits instead of one, but I'm not sure which piece of code to change. I see some zeros but I am not sure which exact code to alter, I don't want to mess it up.

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

    Default Re: Random Order ID

    Admin > Tools > Store Manager > Reset Current Order ID.

    No need to mess with code.

  9. #9
    Join Date
    Oct 2007
    Posts
    111
    Plugin Contributions
    0

    Default Re: Random Order ID

    ok, but it is confusing that business about a test order, i'm trying to figure that part out. it says use the test order to complete the information below but then I am lost.


    Create a test order first. Then, using this Test Order ID complete the information below.
    The New Order ID for the next Real Order should be entered as 1 less than the Order ID you wish to use.
    Example: If you want your next Real Order ID to be 1225, enter the number 1224

    WARNING: You can only reset the Order ID forward, and not backwards.
    So if you set the Orders ID to 25, then change it again to 20, the next Orders ID will still be 26.


    Look-up CONSTANT or Language File defines
    Key or Name:

    NOTE: CONSTANTS are written in uppercase.
    Language file lookups may be an alternative search when nothing has been found in the database tables.

    Look-up in Language File defines
    Look up text:
    Language File Look-ups:
    NoneAll Language Files for ENGLISH - Catalog/AdminAll Main Language files - Catalog (/includes/languages/english.php /espanol.php etc.)All Current Selected Language Files - /includes/languages/english/*.phpAll Main Language files - Admin (/admin/includes/languages/english.php /espanol.php etc.)All Current Selected Language Files - Admin (/admin/includes/languages/english/*.php)
    NOTE: Language file lookups maybe upper or lower case

  10. #10
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Random Order ID

    To make a test order - BUY something from the shop - Hint - set up a test product with the price of .01 -
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v154 Random Sort Order
    By Craig Freeburg in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 27 Aug 2015, 07:56 PM
  2. Random / Custom Order ID
    By TheOne in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 13 Nov 2010, 10:18 PM
  3. Categories Displaying in Random Order
    By LittleScruffs in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 9 May 2010, 03:24 PM
  4. random recieving order confirmation
    By boydiz in forum General Questions
    Replies: 0
    Last Post: 25 Sep 2007, 12:27 AM

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