[docs] docs - edl modified ic_ecommerce.sdf
docs@interchange.redhat.com
docs@interchange.redhat.com
Tue Oct 30 19:59:00 2001
User: edl
Date: 2001-10-31 00:58:11 GMT
Modified: . ic_ecommerce.sdf
Log:
Changes to sections on [order] tag and form-based orders.
Revision Changes Path
1.2 +13 -11 docs/ic_ecommerce.sdf
rev 1.2, prev_rev 1.1
Index: ic_ecommerce.sdf
===================================================================
RCS file: /var/cvs/docs/ic_ecommerce.sdf,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ic_ecommerce.sdf 2001/10/31 00:25:38 1.1
+++ ic_ecommerce.sdf 2001/10/31 00:58:11 1.2
@@ -1,10 +1,10 @@
!init OPT_LOOK="akopia"; OPT_STYLE="manual"
-# $Id: ic_ecommerce.sdf,v 1.1 2001/10/31 00:25:38 edl Exp $
+# $Id: ic_ecommerce.sdf,v 1.2 2001/10/31 00:58:11 edl Exp $
!define DOC_NAME "Interchange Ecommerce Functions"
!define DOC_TYPE ""
!define DOC_CODE "ic_ecommerce"
-!define DOC_VERSION substr('$Revision: 1.1 $',11, -2)
+!define DOC_VERSION substr('$Revision: 1.2 $',11, -2)
!define DOC_STATUS "Draft"
!define DOC_PROJECT "Interchange"
!define DOC_URL "http://interchange.redhat.com/doc/ic_ecommerce.html"
@@ -58,15 +58,18 @@
Expands into a hypertext link which will include the specified
code in the list of products to order and display the order page. B<code>
-should be a product SKU listed in one of the "products" tables. The
-optional argument B<cart/page> selects the shopping cart the item will be
-placed in (begin with / to use the default cart C<main>) and the order page
-that will display the order. The optional argument B<base> constrains
+should be a product SKU listed in one of the "products" tables, and is the
+only required parameter. B<quantity> may be specified if more than one
+(the default) of the item should be
+placed in the cart. B<href> allows some page other than the default order
+page to be displayed once the item has been added to the cart. B<cart>
+selects the shopping cart the item will be placed in. The optional argument
+B<base> constrains
the order to a particular products file -- if not specified, all tables
defined as products files will be searched in sequence for the item.
+N:
+N: Example:
-\Example:
-
> Order a [order TK112]Toaster[/order] today.
Note that this is the same as:
@@ -113,10 +116,9 @@
Items that have a quantity of zero (or blank) will be skipped, and only
items with a positive quantity will be placed in the basket.
-
-You may also specify attributes like size or color at time of order.
-
+You may also specify attributes like size or color at time of order (see
+I<How to set up an order button>).
=head2 How to set up an order link