| Create Shop Page |
| There
are 2 methods to add products to your shopping cart.
1) Use active server page scripts (.asp) that access your database to dynamically create your web page. In the demo shopping cart we have several most common display types that you can use. 2) You can create your own shop page using any good HTML editor. You can mix dynamic pages with your own custom pages. |
| Images: All
images by default are placed in the images sub folder.
Do not use spaces in the file name. Recommend thumbnail size
is under 12K and larger images is under 50K. There are 3 default images in the images folder called "add.gif, rightarrow.gif and leftarrow.gif". Do not delete these images but you can change them if you wish. |
| Template database
pages: You can customize your pages by writing your
own .asp pages or customize the existing templates. The cart
uses standard Microsoft active server pages. You need to use a HTML text editor to make the changes. You can also use WYSIWYG editors but make sure they have "round trip source editing" and recognize active server page scripting. Recommended editors are Namo.com WebEditor, Microsoft Frontpage, Macromedia Dreamweaver and Adobe GoLive. Making links to template display pages. All the demo display pages sort by the Category field. To make a link to display a specific category just add something like: <a href="display.asp?category=computers">Computers</a> If there is a space in the category data use a plus sign e.g. <a href="display2.asp?category=real+estate">Real Estate</a> |
|
|
| Create your own
shopping
cart order web page: You can mix dynamically created pages and manual HTML pages. To create a manual HTML page and place an item in your shopping cart you need to send the correct product information to the cart using FORM input values. You design your web page using your own web editor. All item information for each item is between the FORM statement and a SUBMIT button. The web page sends the product information to the cart by "hidden" or user selectable statements. When your web page is in the parent folder (/shop is a sub folder), then the Form should Post to : <form action="shop/chadd.asp" method="post"> There are Required values and Optional values. The "name" must be exactly as shown. The "quantity" can be an input box or a "hidden" value. Required values: <input type="hidden" name="itemID" value="UPC 634398492885"> <input type="hidden" name="item" value="Black and Decker Drill"> <input type="hidden" name="price" value="29.95"> <input type="hidden" name="quantity"> Optional values: ItemID - this could be the product ID, SKU or Model number etc. This
is used for all reports. |
|
|