For more information... RTFM!
NAVIGATION
PAGES THAT LINK HERE
ACCOUNT LOGIN

You are not logged in

Powered by Interchange version 5.7.0

OrderCounter

Specify the file that stores the order number count.

Synopsis

OrderCounter  filename

The default is blank.

Scope

This directive is only available for use in the local (catalog.cfg) configuration file.  It will not affect any other website in any way.  This directive will not work in the global (interchange.cfg) configuration file. 

Description

This directive specifies the name of the file, relative to website's home directory, that stores the order number count.  If not set, the order will be assigned a string based upon the time of the order and the user's session ID.

Interchange provides the order number only as a convenience for display;  No internal functions depend upon it.  Custom order number routines may be defined and used without fear of adverse consequences.

If a Route is configured to "supplant", and its "counter" attribute is set, then this is directive will be ignored during the order process.

Note

Note

If this directive is not specified then "order numbers" will consist of the user's session ID, followed by a dot (.) and then the current date and time.  The date and time will be output as the number of seconds since 01 January 1970, and so the resulting "order number" will look something like "YEMzWezi.1149547979".

Example

OrderCounter  etc/order.number

Category:  Local config directives
Last modified by: Kevin Walsh
Modification date: Tuesday 27 June 2006 at 8:09 PM (EDT)
Home  |  Legal nonsense  |  Privacy policy  |  Contact us