Detailed File Explanation
NOTE:
Any of the files can be modified, edited, renamed, or customized even further. The information we have in each file is basic generic information. Be sure to back up your files in a backup folder so you have them on file in case you need them later (in other words, if you screw something up you will have the backup file to restore).
config.php
This is the configuration file. There are only two things you need to edit. Be sure to change the affiliate ID number to your own and the unavailable product redirect url to a url on your site. If a product becomes unavailable for some reason you will need to have this so if anyone tries to visit that page it will then redirect them to the URL of your choice. The url can either be your main page or a customized "This product is no longer available..." page.
style.php
This is your style sheet. Use this as an include in your headers so if you want to change the style of your site you only have to change one file.
date.php
This file gets the date that the database was last updated. If you want to display the last updated date on your site you would simply use this file as an include wherever you want the date to show.
brands-drop-down.php
This is the drop down menu for all the brand names. The generic template shows this as an include file. Simply move this include file to wherever you would like your brands drop down menu to appear on your website.
brand.php
This file displays the products within a particular brand. It also works with the "brands-drop-down" file and when you pull a brand from the menu it will redirect to this file.
brandshop.php
This is the file that reads from your "brands-listed.php" file and is a seperate page.
brands-listed.php
This is the file that lists all the vitamins and supplements brand names, one per line. This file works with the "brand.php" file and the "brandshop.php" file.
category-drop-down.php
This does the exact same thing as the "brands-drop-down.php" but works for the categories. Again, simply move the include for this file to wherever you would like for the category drop down menu to show on your site.
categories-listed.php
This is the file that lists all the categories, one per line.
category.php
This file displays all the products within a specific category. This file works with the "categories-drop-down" and the "categories-listed" files. If anyone uses the drop down menue or category list it will redirect them to this page to retrieve information about the particular cateroy that they choose.
bottom.php
This is the bottom of all of your pages. Edit this to show your copyright, disclaimer, navigation links, etc...
current-specials.php
This file will list any special offers that we may have such as free shipping, coupon offers, etc... This file can be used as an include file to display these specials wherever you would like on your site.
index.php
The main page of your vitamin store.
newest_products.php
This file will grab the last 10 products that were added to the product line. This file can be used as an include file to show the newest products where you want them to appear. You can also change the number of products to display by editing the "LIMIT" function within the file.
product.php
This is the file that displays the product details such as description, price, image, ingredients, recommended use, etc...
search-box.php
This file is simply the search box form. Use this file in an include wherever you would like for the search box to be shown on your site.
search.php
This file displays the search results from the search term that was entered in the search box form. This file works with "search-box.php."
show-thumbnail.php
This is the file that shows all the thumbnails and partial desciptions, also know as the "teasers." This is is an include in the following files where the thumbnails are displayed: brand.php, category.php, product.php, and search.php.
