Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Change Order ID

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-15-2003, 12:30 PM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Look through the email tpl/s you can just add whatever you want infront of the productID part.

You need to change all the subject lines and places where it mentions the order ID.

Doing it in the tpl's means it doesn't affect the real numbers in the database.

You can also change this in the order history display templates too.
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #12  
Old 10-15-2003, 12:56 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

just run this patch in admin:

Code:
INSERT INTO `xcart_orders` VALUES ( '12345', '', '0.00', '0.00', '', '0.00', '0.00', '', '0.00', '0', '', '0.00', '0.00', '0.00', '0.00', '0.00', 'G', '0', 'Q', '', 'N', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'US', '' );

where 12345 is replaced by the number of your choice.

The next order id produced by the system will be 12346

Once you have had an order you can delete this entry by running the following patch:

Code:
DELETE FROM `xcart_order` WHERE orderid = '12345'
__________________
ex x-cart guru
Reply With Quote
  #13  
Old 10-15-2003, 01:05 PM
 
midori midori is offline
 

Member
  
Join Date: May 2003
Posts: 18
 

Default

Great! Thanks to you both for your help. I really appreciate it!

-Midori
Reply With Quote
  #14  
Old 11-16-2003, 11:48 AM
 
concepts concepts is offline
 

Senior Member
  
Join Date: Nov 2003
Posts: 104
 

Default

I just went through PHPadmin, found the last order and changed the value. Since it is on auto appending, it goes to the next value after the last one.

30000 = 30001 next
Reply With Quote
  #15  
Old 11-17-2003, 03:07 PM
 
bluecat bluecat is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 674
 

Default

sounds good.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:14 PM.

   

 
X-Cart forums © 2001-2020