osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 05-21-2008, 05:26 AM
New Member
 
Join Date: Apr 2008
Location: Brussels
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
clapat is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
  #2  
Old 05-22-2008, 04:26 AM
New Member
 
Join Date: Apr 2008
Location: Brussels
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
clapat is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 11:56 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax