Siebel Interactive Selling Transact Server Interface Reference > Transact API for Siebel eAdvisor >

ShowCart


ShowCart function displays the shopping cart.

Syntax

OL.ShowCart(target)

Arguments

target
To use a frame, supply the name of the frame in which you want the cart to appear: OL.showCart(`framename')
If you want the cart to appear in its own window, use: OL.showCart(`_new')

Usage

This function is commonly called from the onClick event handler of a link, but it can also be referred to from an image map or called from another user-defined JavaScript function. See Siebel Interactive Designer Administration Guide for instructions on adding a link object in your Siebel application.

Example

<a href="" onClick="OL.ShowCart('_new'); return false;">Show Cart</ a>


 Siebel Interactive Selling Transact Server Interface Reference 
 Published: 18 April 2003