![]() |
![]() |
![]() |
|
![]() |
|||
![]() |
|||
![]() |
GoLive 6 Dynamic Content Samples | ||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||
Main View | Administration View | How it Works | ||||||
![]() |
||||||||
![]() |
|
The E-Commerce sample shows how to create an online store using GoLive's Custom Merchant e-commerce features. In order to create a working store, you need to sign up with a Custom Merchant provider. The provider handles all the logic of running the store, including keeping track of each user's shopping cart, managing the checkout process, validating credit card information, and recording final orders. You interact with your provider through a web interface that lets you edit products, prices, and promotions, and track orders so that you can fulfill them. The GoLive Preconfigured Server package includes an e-commerce test provider so that you can prototype an e-commerce site before hooking it up to a real Custom Merchant provider. The test provider is a valuable tool to help refine your site design. Once an e-commerce site works correctly with the test provider, it is usually a straightforward process to hook it up to a real provider. This sample uses the e-commerce test provider. Main ViewThe Main View consists of three parts: a products page, a shopping cart page, and four checkout pages. The Products page displays the products for sale. It demonstrates how to put an Add to Cart button next to each product, how to include images for product promotions, and how to use a Show/Hide Container to conditionally display information, in this case the original price of a product that is on sale. The Shopping Cart page shows how to display a user's shopping cart using the Custom Merchant Shopping Cart object. The checkout pages collect the user's shipping, billing, and credit card information in a Custom Merchant Order Form. These pages demonstrate how to handle errors when the user submits incorrect or incomplete information. With a real Custom Merchant provider, clicking Place Order on the final page records the order in the provider's database or sends an e-mail to the store owner with the details. With the test provider, clicking Place Order simply clears the shopping cart so that the user can start over. Administration ViewThe Administration View lets the store owner edit products, prices, and promotions. Putting a product on promotion simply places an image next to it on the Products page; it is up to the store owner to manually edit the price. The two pages in the Administration View demonstrate how to use record navigation, database form actions, and form controls, including dynamically constructed popup menus. |