Site structure

eCart Object definition files and the global definition file are stored in the WA_eCart folder off of the site root.

WebAssist default button images are stored in a further sub-directory WA_eCart/Images off of the site root. Likewise, CSS files used in conjunction with the shopping cart display are stored in the WA_eCart/CSS folder.

Note: If images are moved from the images directory, Dreamweaver should maintain the image paths to the new directory.

There are two include files necessary for each eCart integration. These files contain the code that is the heart of the eCart object. The first is WA_eCart_Definition. This file contains code universal to all eCart objects in the site and does not require editing of any kind. A different version is written for each server model. For example, the definition file for ASP-JavaScript is named WA_eCart_Definition_JS.asp.

Each eCart Object defined for the site also has it's own specific include file. These include files follow the convention: ObjectName_Server model designation (JS: JavaScript, VB: VBScript, CF: ColdFusion, and PHP: PHP).

Example:
An ASP JavaScript eCart Object, WA_eCart1, would have an include file named:

WA_eCart1_JS.asp.

This is the object definition file and it contains all of the information specific to each defined eCart Object including but not limited to the following: Removing eCart definition files from this directory effectively removes them from the site. This means that the files will no longer appear in the list of available eCart™ Objects in the eCart floater.