I am building an asp.NET application and am going to need a shopping cart feature on my site. Before I attempt to do this, I was wondering if anyone could provide some helpful links/models that might assist me in doing this. I ask because I'm new to asp.NET and I anticipate that I'm going to have a hard time creating this.
I'd suggest reading up on ASP.NET because some things you try to do there are probably much easier ways to do them. If not, I'd look into databinding and authentication as primary points.
I've been using this site http://www.sitepoint.com/article/net...t-datatables/2
as a starting point to help me build this shopping cart.. I've ran into a problem. I can successfully add one row to the shopping cart, but when I go back to attempt to add a second row, it simply overwrites the first and displays only one row with the last product I added to the cart. I think it may have something to do with storing the data table in the session. Maybe you will be able to see something I'm overlooking.
If Not IsPostBack Then
makeCart()
End If
'check if the customer is adding something to the cart or just browsing
Dim AddCheck As Integer = CType(Session.Item("CallAdd"), Integer)
If AddCheck = 1 Then
Dim part As Integer = CType(Session.Item("partAdd"), Integer)
Dim quant As Integer = CType(Session.Item("quanadd"), Integer)
Bookmarks