Index  Up  <<  >>  


order

CALL INFORMATION
Parameters: code quantity

Positional parameters in same order.

Pass attribute hash as last to subroutine: no

Must pass named parameter interpolate=1 to cause interpolation.

Invalidates cache: no

Called Routine:

ASP/perl tag calls:

    $Tag->order(
        {
         code => VALUE,
         quantity => VALUE,
        }
    )
  
 OR
 
    $Tag->order($code, $quantity);

 

DESCRIPTION
Expands into a hypertext link which will include the specified code in the list of products to order and display the order page. code should be a product code listed in one of the ``products'' databases. The optional argument cart/page selects the shopping cart the item will be placed in (begin with / to use the default cart main) and the order page that will display the order. The optional argument database constrains the order to a particular products file -- if not specified, all databases defined as products files will be searched in sequence for the item.

Example:

  Order a [order TK112]Toaster[/order] today.


Index  Up  <<  >>