Cart Start: Store Fronts
The stores use a set of web pages generated from templates. The web pages are module scripts for modules like PHP, Pearl, etc.
Session Control and User Identity
The template pages that present products to a user at his site are module scripts parameterized by the User ID and the encrypted
user password. The scripts relay the login to the CartStart server and keep the user identity within the user session.
Item Selection Lines and Product Displays
Each template page that presents products to a user contains entries for presenting the product and for user interaction.
Each entry contains parameters such as the product identity, an image link to the product, a price, and a description. Each entry
includes the inventory count for the product. Finally, each entry has a button or link for interacting with the CartStart system.
The button passes product description information to a script, addproduct, which is responsible for interacting with
the CartStart server.
Product Information Updating
When a store sticks with using the template script pages, the store retains script components which update product information in
near real time. The page has a time interval, whose endpoint corresponds to an event for requesting updated product information.
The page GETs information from the store for the products on display on the page. The page takes the information from the
server reply and rewrites the entry fields. Things that may be changed would be prices and inventory.
( The interval may be set by configuration tools. )