"Fly Pages" July 3, 2000 ------------- Also see the parsed HTML document in the DOCS directory! As of version 3.2, there is a new way to display cart contents. If the system detects display_cart=1 (or dc=1) in the URL or in POST form data then the cart will be displayed. Formerly syntax such as View Cart was used to view the cart. With the simplified view cart code it becomes View Cart This simplifies the HTML and prevents false error messages about reloaded pages. The producPage.inc file options have changed considerably since agora.cgi was first released. Agorascript has greatly enhanced the ability to display products. With the ppinc= option, there are many ways to mix and match the display of product information. Here are some of the files available for displaying products "on-the-fly": productPage.inc current standard display, 2 across, agorascript productPage-1a.inc early standard, no agorascript, 1 item across productPage-2a.inc agorascript, 2 items across, same as standard productPage-2a0.inc agorascript, 2 items across, another way productPage-2a1.inc agorascript, 2 items across, yet another way Here are a couple other files to look at: productPage-agorascript_example.inc agorascript example of table format productPage-search.inc used in search displays productPage-search2.inc ditto **************************************************************************** ** Agora.cgi 3.0a 00ReadMe.txt for productPage.in file ** This file describes the HTML for the dynamically created product pages that can be designed to the users tastes. Tokens are used here to display the values generated from the database and the script. Simply place the appropriate tokens in the customizable productPage.inc HTML file and the fields will appear there on your pages! The following tokens are REQUIRED! Please take a look at how they are used below, and be careful not to break them when you edit the file. %%cartID%% %%itemID%% %%make_hidden_fields%% %%scriptURL%% The following fields are optional and can be used if desired. Remember, the token called %%optionFile%% will display all of the HTML from the option file assigned to the product being displayed. %%description%% %%image%% %%name%% %%optionFile%% %%price%% %%shipping%% The following fields are optional, they are the user defined fields set in the Store Manager. %%userFieldOne%% %%userFieldTwo%% %%userFieldThree%% %%userFieldFour%% %%userFieldFive%% ######################################################################### Sample productPage.inc file shipped with 3.0a: %%make_hidden_fields%% %%optionFile%% %%image%% %%name%% %%description%% %%price%% Check Out