If your going to do an add to cart function - first i'd check into in the new asp.net 2.0 and see what new objects they have in this area - but basically you have a few different options for doing this - first create your shopping cart page and decide how your going to list the products in your cart, in asp.net you'd probably want a data grid, or if your going to manually create it and use a table tags and maybe css to style it, or what ever method your most comfortable listing your cart objects - once your figure out how your going to show it then you need to figure out how your going to save the data, once again you have a few different options off the top of my head with out knowing much about how your site layout and what technologies your using i'd say your best options are:
- use a cookie
- storing data in the session cache (not practical)
- create a temp xml file and store it locally and use that to store user shoping info - delete on check out or session ends
- create a temp dataset
- create a type dataset associated with your shopping cart page
once you figure out how you want to display the data and how you want to store the data, the you need to figure out how your going to process payments
Theres actually only two ways to accept credit card payments on a site
-Using your own merchant account: To do this you actually have to get a bank to let you open a merchant account and requirements will vary from bank to bank
-Through a third party merchant: there are numerous companies on the web that provide this service i.e. paypal - and a lot of these companies will provide the shopping cart and credit card processing pages for you, but it costs, and if all your know is html it is probably your best bet |