The Shopping Cart

The shopping cart displays all the items in the basket. Each items can be edited or deleted.

The best way to get a feel for how this page and the entire SendSafe system works is to play with a working system. Feel free to place orders into the SendSafe system running on the C Prompt web site. You can place items in the shopping basket starting with either of the pages listed below. The buysample page is a page which contains various pre-configurations of the BuyButtons available. Since the source code is provided you can create any kind of buying page possible.

Remember not to use a real credit card number. This is a fully functioning system. Use one of these test credit card numbers to complete your orders (no charges will complete / all orders will be declined).

Instant Add to Cart
When this mode is enabled the system will add items to the cart without leaving the shopping page. In non-instant mode the add to cart operation will end with the display of the cart and its contents.

This mode is enabled by setting:
Application("InstantAddToCartEnabled" ) = true
Application("InstantATCPopup" ) = true or false

If InstantATCPopup = true THEN a pop-up will be displayed after each load. If InstantATCPopup = false then a pop-up will not be displayed after each load.

Configuration note:
You can select the database column that is displayed for "item name" inside the shopping basket. The database column defaults to NickName. To set the database column modify the subroutine call SetItemDisplayField() in the asp file that contains the addBasket page logic (typically: SendSafe.addBasket.asp or Store.addBasket.asp). Set the subroutine parameter to the name of a database column (from the items table) that you want to display.

' This is demo code to show how to control what is displayed for the product name.
' This OPTIONAL variable holds Items table column name which will be used to display
' the "Item Name" in the entry form
' If this variable is empty THEN the name will be the FullName
'SetItemDisplayField "NickName"

Below is an example of how the Shopping Cart looks:
(Actual file: SendSafe.addBasket.asp)


SendSafe I-Commerce System © Copyright 2001 KJB Software Development Inc. d/b/a C Prompt. All rights reserved.