Logo 
Search:

Asp.net Forum

Ask Question   UnAnswered
Home » Forum » Asp.net       RSS Feeds

AddToCart

  Asked By: Ella    Date: Dec 18    Category: Asp.net    Views: 955
  

I am trying to implement a shopping cart (c#). How to add items in
the cart when the user is not logged in. After adding, the same
catalog page should be displayed.

Share: 

 

4 Answers Found

 
Answer #1    Answered By: Husani Chalthoum     Answered On: Dec 18

could u be a little more specific about your problem...
Or do u have to start yet and asking for design tips?
Use a dataTable to store data of shopping  cart in, so u can project it to a datagrid...
u can u a redirection between catalog page  and cart  page...
In catalog page u
{
 add  data to dataTable
redirect to cart page
bind dataTable to dataGrid
}

 
Answer #2    Answered By: Jared Adams     Answered On: Dec 18

i am using datalist to display products from my ms access table.
when i click addtocart button.. i want to perform add  to cart  as a
function in the same page.. so can u tell how to implement  the
function.

 
Answer #3    Answered By: Tarrant Thompson     Answered On: Dec 18

You could use eiter Session or Cookie. Or you could temporarily stor into
database related to Session ID. I think, most of the shopping  carts are made
with cookies.

 
Answer #4    Answered By: Janelle Evans     Answered On: Dec 18

Look at Petshop application available from MS ... it uses a hash table which
is then stored in Session.

 
Didn't find what you were looking for? Find more on AddToCart Or get search suggestion and latest updates.

Related Topics:



Tagged:  

 

Related Post