I am in developing a shopping cart.
Every Product
has a Price
and a SubCategory
.
Product:
ID Price Product No ProductName 1 250.5$ esp1 Electronic Machine 2 500.0$ esp2 Scanner
A user can choose the product by selecting any of the above Product
s.
There is also a CommonProduct
associated with each Product
.
CommonProduct:
Common_id Price Name cs1 1.2$ Addional_Item1 cs2 5.0$ Additional_Item2
After a selection is made, the shopping cart will look like this:
Qty Name Price 1 Electronic Machine 256.7$ Additional_item1 Additional_item2 1 Scanner 505.0$ Additional_item2
I need implementation ideas for the above process. It is very tough for me to integrate Product
with Common Product
.
Does anyone know of a good way to do this using AJAX?