Display TypesTYPE=order
'TYPE=order', also known as the "direct to the cart" call, can be used in two ways as described below.
Used by itself, 'TYPE=order' delivers the buyer directly to the cart, allowing them to view products placed in it.
Local Syntax
<!-- SMARTCAT START
AZ=xxxxxxxx
TYPE=order
SMARTCAT END -->
'TYPE=order' has limited usefulness in the local syntax, as it automatically carries out its function when the page it is on is accessed. A possible scenario could be if the supplier were running a 'special' in which products were automatically added to the cart - which might occur to the chagrin of the potential buyer. A more appropriate application of the call is to create a cart link with the portable syntax that would appear consistently throughout the site. Click here for information on utilizing the portable syntax in Thomas Register-hosted Custom e-Catalogs.
Portable Syntax
<a href="smartcat.cgi?az=xxxxxxxx&type=order"> When used in conjunction with the part or record tag, 'TYPE=order' places the specified items into the cart while delivering the buyer to the cart. Do not use both the PART= and RECORD= tags within the same Custom e-Catalog call. Local Syntax
<!-- SMARTCAT START
AZ=xxxxxxxx
TYPE=order
PART=xxxx
PART=yyyy
PART=zzzz
SMARTCAT END -->
OR
<!-- SMARTCAT START
AZ=xxxxxxxx
TYPE=order
RECORD=123
RECORD=456
RECORD=789
SMARTCAT END -->
Portable Syntax
<a href="smartcat.cgi?az=xxxxxxxx& <a href="smartcat.cgi?az=xxxxxxxx&type=order&rn=123+456+789">
TYPE=order_order'TYPE=order_order' is similar to the 'TYPE=order' used in conjunction with the part or record tag, in that it adds the specified items to the cart. However 'TYPE=order_order' does not deliver the buyer to the cart. The buyer remains on the page from which the link is activated. Local Syntax
<!-- SMARTCAT START
AZ=xxxxxxxx
TYPE=order_order
PART=xxxx
PART=yyyy
PART=zzzz
SMARTCAT END -->
OR
<!-- SMARTCAT START
AZ=xxxxxxxx
TYPE=order_order
RECORD=123
RECORD=456
RECORD=789
SMARTCAT END -->
Portable Syntax
In the portable syntax:
Copyright © 2002 Thomas Publishing Company
|