Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Selling Transact Server Interface Reference > Transact Server Callout/Override Points >
COP_Before AddToCart
This callout point could be used to ask for confirmation before adding an item to the cart. If the function returns true, the Add To Cart operation will continue, but if it returns false, the item will not be added to the cart.
Example
function COP_BeforeAddToCart(dataobj;target) {
return (confirm("Are you sure you want to add this item to your cart?"));
}
Bookshelf Home | Contents | Index | Search | PDF |
Siebel Interactive Selling Transact Server Interface Reference Published: 18 April 2003 |