Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2012
    Posts
    170
    Plugin Contributions
    0

    Default how to set order id backwards,a smaller one?

    how to set order id backwards,a smaller one?
    at backend ,only can set forwards,a bigger one,
    if need to set a smaller one,
    what should i do?
    optimizing my only one zencart template untill it becomes perfect.
    ting_cbm#hotmail.com

  2. #2
    Join Date
    Apr 2012
    Posts
    170
    Plugin Contributions
    0

    Default Re: how to set order id backwards,a smaller one?

    figured out,
    by phpadmin
    update the follow five tables's field named orders_id to the smaller one you like where orders id's value is the bigger one you set by backend:

    orders
    orders_products
    orders_products
    orders_products_attributes
    orders_status_history
    optimizing my only one zencart template untill it becomes perfect.
    ting_cbm#hotmail.com

  3. #3
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,328
    Plugin Contributions
    5

    Default Re: how to set order id backwards,a smaller one?

    Quote Originally Posted by win8win View Post
    figured out,
    by phpadmin
    update the follow five tables's field named orders_id to the smaller one you like where orders id's value is the bigger one you set by backend:

    orders
    orders_products
    orders_products
    orders_products_attributes
    orders_status_history
    And what happens when these "lower" order numbers run into the existing higher order numbers?

  4. #4
    Join Date
    Apr 2012
    Posts
    170
    Plugin Contributions
    0

    Default Re: how to set order id backwards,a smaller one?

    yes,it would be a bug ,maybe need to delete other bigger order ids
    optimizing my only one zencart template untill it becomes perfect.
    ting_cbm#hotmail.com

  5. #5
    Join Date
    Jan 2004
    Posts
    58,265
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: how to set order id backwards,a smaller one?

    A more important question is WHY are you even wanting this? What brought you to a position where you need to ask this question? What business problem are you trying to "solve"?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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
    Apr 2012
    Posts
    170
    Plugin Contributions
    0

    Default Re: how to set order id backwards,a smaller one?

    just because of making a wrong orderid setting by mistake,would like to restore
    optimizing my only one zencart template untill it becomes perfect.
    ting_cbm#hotmail.com

 

 

Similar Threads

  1. How to set up several songs as one product?
    By gbengoose in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 16 Oct 2010, 08:14 PM
  2. How to set shipping for just one country
    By chris13 in forum Managing Customers and Orders
    Replies: 10
    Last Post: 21 Feb 2010, 06:38 PM
  3. How to set Attribute for certain quantity of one product?
    By lioncity in forum General Questions
    Replies: 2
    Last Post: 8 Dec 2008, 04:49 PM
  4. How to restrict one order only with one Categorie?
    By paranoia in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 22 Apr 2008, 05:10 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
  •