Home > Contents > Index >
CART.GETITEMS
Obtains all items in the cart.
Syntax
<CART.GETITEMS NAME="cartname" [STOREID="storeid" LIST="inputlist"]
LISTVARNAME="varlist"/>Parameters
NAME(required)- Input parameter. Name of the shopping cart.
STOREID(optional)- Input parameter. ID of the store where the items exist, if the cart represents more than one store. If
STOREIDis not included, returns all items for all stores.
LIST(optional)- Input parameter. Describes the minimum input parameters. By default, only the six fixed columns are returned, and any values set for items.
LISTVARNAME(required)- Input and output parameter. As input, name of the list to create on output with the following columns:
rowid,assettype,assetid,storeid,quantity,price,parametername
Description
See Order Item Parameters, for item parameter names and values.
Example
<!-- Build a resultset list that holds all item parameters. --> <LISTOBJECT.CREATE NAME="itemlist" COLUMNS="value"/> <LISTOBJECT.ADDROW NAME="itemlist" value="name"/> <LISTOBJECT.ADDROW NAME="itemlist" value="uniqueid"/> <LISTOBJECT.TOLIST NAME="itemlist" value="itemlist"/> <!-- Get any existing items from the cart. --> <CART.GETITEMS NAME="thiscart" LIST="itemlist" LISTVARNAME="cartlist"/>
Home > Contents > Index > ![]()
Oracle XML Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.