|
| |
| FlowerSales.com Documentation |
| Dutch Flowers:
(Vendor: Z-Flor) |
The Dutch Flower section involves the following:
- Uploading a comma delimited text file (extension .csv) with the following columns in order: Product Description, Quality Grade, Color, Unit Count, and Cost
- Updating the database by reading in data from the file
- Generating static pages from the new database
- Publishing the newly generated static pages
Click here to go
a page that lists the steps in the process.
Note that uploading the file through this front end may be confusing.
If you are having trouble with the file upload, manually copy the
local .csv file to the folder flowersales2/dutch/static
on intra. After this is done, you can skip to Step 2 on the front
end page.
Creating a .csv file: The pricelist is Word file containing a table. Ensure that the columns are correct and in order and select the table cells containing the data
(Note: If the first row is a header row containing descriptions, do NOT make it a part of your selection). Copy and paste this data into a blank Excel file. Go to
"File", then "Save As". In the "Save as type" dropdown, select "CSV (comma delimited) (*.csv)" and save the file. This .csv file is the pricelist that will be either uploaded
via ASP script or manually copied to intra as mentioned before.
|
| California, Hawaiian, Miami, Bangkok Orchids |
The sections listed below
all use a similiar update interface. Shown below are the respective
folders (on intra/flowersales2) and vendors for each section. If a
vendor is unspecified, then genereally any vendor specializing in
that particular category will be able to fill the order.
Click on the section name to go to the update page.
Each update page is a front end to the database. Several features are available.
- Add: At the top of each page is an Add New Item box.
If there are multiple types of products in the section, there
will be a series of circular radio buttons, one for each type.
To add an item, select the appropriate type (if applicable), fill
in any available information, and click the Add Item button to
add the new item to the database. Note: If there is a box
for Image Filename and an image is desired, input only the filename
of the picture (not the full path). This image must be located
in the /images folder of the particular section. Thumbnails (with
height of about 50 pixels and prefixed by "mini-") should also
be placed in this folder. For example, a flower.jpg and a mini-flower.jpg
should be in the /images folder or pictures may not appear. In
the Image Filename box, flower.jpg should be entered.
-
Edit: To edit an individual item, make the changes in its row and click on the Edit button. The database record will be updated.
-
Delete: To delete an item, click the delete button on the row of the item you wish to delete from the database.
- Generate Static Pages: A button for generating static
pages is located on the page. Click
it to run the specific script that will generate the static pages
for that product type. If a section has mutliple product types,
each type page will have its own button.
Once these pages have been generated, the site should be published
to make the changes public.
|
| Additional Documentation |
| Code Notes: globalVars.inc |
| Each section had a folder named "static" in it. In this folder is
a file called globalVars.inc, an include file that contains variables
throughout the section. For more information on these editable variables,
click here.
|
|