[Javascript] product.js

Kelly--CES jkcravy at cox-internet.com
Mon Aug 13 16:48:34 CDT 2001


Hi,

I am re-working a shopping cart
To use a simple product.js file.

With two choices to pick from.

I understand a file that is formatted like :
( And it is easy to edit)

c1p1 = ["KnS4401","Red Bird","$ 6.95","2.39 x 3.48 inches"]
c2p2 = ["KnS4402","Red Apple","$ 6.95","2.5 x 3.5 inches"]


But what is this ?
I have the function and it works
but am not clear what Add means here.

// Add (product_ID,description,price)

   Add ('KCD960', 'Pro CD and Mixer Kit',123.45);
   Add ('BPro', ' Deluxe 19" DJ Mixer Metallic Blue Finish',283.45);
   Add ('KMX100', 'DJ Mixer',199.00);

Thanks, Kelly




More information about the Javascript mailing list