could some1 help me with ShoppingCart?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 5 of 5

Thread: could some1 help me with ShoppingCart?

  1. #1
    Join Date
    Apr 2006
    Posts
    4

    Unhappy could some1 help me with ShoppingCart?

    Hi!

    i have created Catalogue servlet which customers click to buy an item then it takes them to confirm by entering no of quantities they want which take them to basket where i dont have option of Remove/edit the items ...could some1 tel me how to do that ???? ....it is one of my assignments and part of my project ....

    thanks in advance....

    nilo

    p.s. it is in JSP

  2. #2
    Join Date
    Mar 2005
    Location
    UK, London
    Posts
    150
    are u using sessions to track the items or storing it ino a database?

  3. #3
    Join Date
    Apr 2006
    Posts
    4
    hi Major!

    Thanks for replying....i am storing it in a database ...

  4. #4
    Join Date
    Feb 2006
    Location
    Cologne - Germany
    Posts
    271
    then you should list all items in the shopping cart (db) to the user offering a delete button for every entry. the delete button, or better: link should contain the id of the item and on invokation, just delete the desired entry in the database through delete from shoppingcart where userid=xxx and itemid=yyy.

  5. #5
    Join Date
    Apr 2006
    Posts
    4
    Thanks for replying....
    i got it sort it out.... i hadnt read ur reply , but i have done it similiar way....

    bye

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center