Chapter 4 - Catalog files.
Each catalog file is an ascii file that contains
information about group of items that have something in common. A specific menu entry will
point to each catalog. Each line in the catalog represents one item.
Line Format:
ItemNo|Description|Price|ItemDesc.txt|Picture.gif|Audio.au|PurchaseForm|
ShipHandleInfo |
| ItemNo |
- is an item number or SKU
number |
| Description |
- is a short item
description |
| Price |
- is an item price (1.00,
58.95, etc) |
| ItemDesc.txt |
- is a ascii text file in
Txt directory. This file can be up to 32K long. It usually contains detailed information
about this item. |
| Picture.gif
|
- is a GIF or JPG file that
contains image of this item in the Pic directory. |
| Audio.au |
- is an audio file for this
item in the Aud directory. This should be used with caution because audio file in .au
format are large even if you have just a few seconds of audio.
Use '*' for JSCF |
| PurchaseForm |
- is a name of the ascii
purchase form file in Frm directory. See chapter 5 for information on how to create this
form.
Use '*' for JSCF |
| ShipHandleInfo |
- is the indicator with
represents a type of an item. See Chapter 5 for more info. |
The line contains 8 fields separated with '|'. You have use
any text edit to create it as long as you save this file as plain ascii text file. The
fields can contain an "*" if specific field is not utilized.
Example: Five line catalog with
no Audio files
D-202|Garden Club
Dress|159.90|club_dress.txt|club_dress.jpg|*|pform_dress.txt|*
D-364|Elegant figure-flattering gown|155.00|black_dress2.txt|black_dress2.jpg|*|
pform_black_dress1.txt|*
D-743|Black trumpet-flare dress|180.00||black_dress1.txt|black_dress1.jpg|*|
pform_black_dress1.txt|*
D-436|Animal print sleek halter dress|170.90|animal_print_dress.txt|animal_print
_dress.jpg|*|pform_print_dress.txt|*
D-385|Rich velvet evening dress|198.99|velvet_dress.txt|velvet_dress.jpg|*|
pform_black_dress1.txt|*

up
next
webmaster@vssd.com

Copyright © 1996-1998 Vilgorin Software Systems Development.
All Rights Reserved. .
|