osCmax v2.5 User Manual
Results 1 to 2 of 2

Change Order #

This is a discussion on Change Order # within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; Hi to all of you. I would like to change the Order ID # with putting a "name" before. If ...

      
  1. #1
    New Member
    Join Date
    Apr 2008
    Location
    Brussels
    Posts
    15
    Rep Power
    0


    Question Change Order #

    Hi to all of you.
    I would like to change the Order ID # with putting a "name" before.
    If I good understood what I red, I've to change "$oID" somewhere but I can find the good file .
    My problem came when I did some test paiement live with paypal IPN, 'cause I've 9 shops ready to be put on-line.
    When I do a test payment from Shop1, it's OK. After I'll try to do a payment from Shop2, but I've a message who told me that invoice is already paid and that I've to take contact with the site admin .
    Someone have an idee for the mod ?
    I look for the contrib "Order Controller" but, at this time of my ability to mod OSCMax, it's not for me.
    Thanks again for your help.
    Patrick.

  2. #2
    New Member
    Join Date
    Apr 2008
    Location
    Brussels
    Posts
    15
    Rep Power
    0


    Lightbulb Re: Change Order #

    Hi to all again,

    I was wrong, it's not in a file that we have to change the order# but in the db directly.
    I found the answer and process on oscommerce forum.
    Here is how I did it :

    First I open my db with phpMyAdmin.
    After I dislayed the table tree.
    When done, I've clicked on SQL and add this request : alter table orders auto_increment = 1000;

    You can replace the number 1000 with numbers between : -2147483648 to 2147483647 but no letters it seems.

    Thats all folks.

    Patrick

Similar Threads

  1. change default order number system
    By Rod1mu5 in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 12-16-2007, 06:11 AM
  2. Change order number
    By garjowan in forum osCmax v2 Customization/Mods
    Replies: 0
    Last Post: 03-30-2006, 07:22 AM
  3. anyone know where I can change email for order status
    By Redeye_Joe in forum osCmax v2 Customization/Mods
    Replies: 9
    Last Post: 02-15-2006, 11:23 AM
  4. Change sort order on new products
    By Lord in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 03-23-2005, 02:05 AM
  5. How to change product listing order?
    By AdvantageEpoxyComposites in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 07-16-2003, 11:48 PM

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
  •