Redirect If Empty server behavior
The eCart Redirect if Empty server behavior sets a default location to redirect to if the shopping cart is empty.
It is most commonly used on a shopping cart display page in place of the Show If server behavior, which displays specified HTML in place of the shopping cart when it is empty.
It is most commonly used on a shopping cart display page in place of the Show If server behavior, which displays specified HTML in place of the shopping cart when it is empty.
To apply the eCart Redirect if Empty server behavior:
- In the Server Behaviors panel group, click the plus button and select eCart > General > Redirect if Empty.
The eCart Redirect if Empty dialog box opens.
- Select the eCart object applied to the page specific to the shopping cart implementation that will trigger this server behavior.
(i.e. the shopping cart implementation that will be empty). - Specify the redirect location either by browsing to the page within the context of your site, or by specifying an http:// address.
- Click OK to apply the server behavior to the page.