Order number?

22.11.2013 15:03
#1
mommek
Joomshopping forum user no avatar
Name: mommek
15.09.2011
Posts: 136
Quote
Order number?

Hello,

I set order number to 8500 and when I create order - order number is set as 00008500
Is possible to "delete" zero and have only 8510 number.. ? (4 charactes, no 8..)


Joomla: latest
JoomShopping: latest
PHP: latest
MySQL: latest
 
22.11.2013 15:30
#2
mishazegrya
Joomshopping forum user no avatar
Name: Misha
01.06.2012
Posts: 72
Quote
Aw: Order number?

It's not possible

 
22.11.2013 15:34
#3
mommek
Joomshopping forum user no avatar
Name: mommek
15.09.2011
Posts: 136
Quote
Aw: Order number?

modify the source code?

 
22.11.2013 15:39
#4
mishazegrya
Joomshopping forum user no avatar
Name: Misha
01.06.2012
Posts: 72
Quote
Aw: Order number?

/components/com_jshopping/tables/order.php

code

function formatOrderNumber($num){
$number = outputDigit($num, 8);
return $number;
}


change to

function formatOrderNumber($num){
$number = outputDigit($num, 4);
return $number;
}


But I'm not sure what all the other features will work, need to test

 
22.11.2013 15:52
#5
mommek
Joomshopping forum user no avatar
Name: mommek
15.09.2011
Posts: 136
Quote
Aw: Order number?

thanks!

 
Copyrights MAXXmarketing GmbH. All Rights Reserved