Chciałbym wprowadzić 7 cyfrowy numer zamówienia zaczynając np w ten sposób 1600001. Jak to mogę zrobić? proszę o rady.
Robert
Shadowed
2006-11-08 13:04
Hi troberto,
read this: http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=3132 you should find your answer.
Shadowed
troberto
2006-11-08 16:48
thx for this advice, but i am still not satified. How can i change iOrder to start with definited value and this value will be increasing accordingly with quantity of orders. Can you help me?
Robert
Shadowed
2006-11-08 16:57
Some link :) dude called Jo posted:
I have just added a 10 in front of $aData[iOrder] in all files where the customer will see order ID (e.g. templates/orders_print.tpl) so if order ID is 34 it will display 1034. Like so: $lang[Order_id] $aData[iOrder] changed to this - $lang[Order_id] 10$aData[iOrder]
As you can se at last row ($lang[Order_id] 10$aData[iOrder]) between $lang[Order_id] and $aData[iOrder] there is number 10. so numbering will be 10 and automatic number 10(1),10(2),103,104... Just write there your number 160000 or any else and here you are.