JavaScript for E-Commerce

Back | Contents | Next
Please note that this tutorial was first published in the year 2000, and is based on work conducted between 1997 and 2000. While we trust that it still constitutes useful tutorial material, it should not necessarily be construed as to impart best practice in the year 2017. For more details please see this blog post.

Shop Structure

FOMS (our Ficticious Online Music Shop) sells three types of product:

For each product type, there are a number of categories that items can fall into:

Each item has the following properties:

It would appear that there is a property missing from the above list, namely Category. The reason this is not included is that when the owner of FOMS is shipping items, they find them by product type and name. The different categories are only an aid to the user of the online shop.


Back | Contents | Next

This tutorial has been translated to Serbo-Croatian language by Jovana Milutinovich from Webhostinggeeks.com.

This tutorial has been translated to Slovak by Juraj Rehorovsky from Coupofy team.

If you find this tutorial useful and want to show your apprectiation, a small donation is most welcome, either in Bitcoins to 19QpWDmZPmTqawcr8VsXcbdc4Znq1ecrza, or via PayPal.