[ic] Order prefix

Leon Harris interchange-users@lists.akopia.com
Thu Aug 2 13:42:00 2001


change etc/order.number in /var/lib/interchange/yourcatalog to something
other than TEST0000

I use an ugly little cron job to be run at one past midnight to generate the
date and 0000

eg
1 0 * * *  (perl -e '($d,$m,$y)=(localtime)[3,4,5];printf "%04d%02d%02d%04d",
$y+1900,$m+1,$d,"0000";') > /var/lib/interchange/catalog/etc/order.number



Cheers,
Leon


Mangeng Michael wrote:

> Hi
>
> How can I change the "Order prefix" supplied to each order number? In the
> "foundation" demo shop its "TEST". You know.. Order: "TEST0001". I want to
> change "TEST" to something else. How/Where can I do this ?
>
> thanx
> Mike
>
> _______________________________________________
> interchange-users mailing list
> interchange-users@lists.akopia.com
> http://lists.akopia.com/mailman/listinfo/interchange-users