WebXess Support: Shopping Cart ProgramScript Install & Server Customization Catalog Page Creation Note: All the catalog pages will be stored in the /cgi-local/store/catalog directory. Navigation You can link to other pages in your catalog through two methods. The first is to have submit buttons leading to other pages. The code for them is as follows:
The second method is to plan your pages in a linear fashion, and have a "Previous Page" and "Next Page" style navigation system at the top and bottom of each page. This is accomplished by placing the following tag at the top of each catalog page: <--PSTAG prevpage=page1.htm nextpage=page3.htm--> This would be the tag on the hypothetical "page2.htm". For the first and last pages (i.e. page1.htm) you place the page in as the previous or next page to close the line. For example, on page1.htm your tag would read: <--PSTAG prevpage=page1.htm nextpage=page2.htm--> This would display only a "Next Page" button. This tag goes at the very top of the page, above the <html> tag. See our online demo for an example. Item Selection There are two main type of item forms you can make. They are single-item forms, and multi-item forms. The later is probably the most useful, but you have either type or both types on the same page if you like. For single item selection, where each item has its own Order button (like the items on our first demo page), you would use the following code: <form METHOD=POST
ACTION="!MYURL!"> Again, the fields you would change are in bold. For multi-item selection, with one Order button at the bottom (or top, etc.) of the page, you would structure the page as follows (like the second page of our online demo): <form METHOD=POST ACTION="!MYURL!"> *** Repeat this section for each product *** <INPUT TYPE=HIDDEN NAME=ITEM_ID
VALUE="12345"> *** End Repeated Section *** <INPUT TYPE=SUBMIT NAME=dummy
VALUE="Press to Order"> Optional Tags The following tags are optional:
Tag Order The order of the tags is very important. The following must be observed:
|
|
|
Home -
About -
Austin Texas Web Design -
Technology - Copyright © 1996-2004. WebXess, Inc. ; All Rights Reserved. WebXess, Inc. 8900 Business Park Drive, Suite 100. Austin, Texas 78759 |
|