www.webdeveloper.com
Results 1 to 3 of 3

Thread: Need function for shopping cart

  1. #1
    Join Date
    Apr 2009
    Posts
    33

    Exclamation Need function for shopping cart

    Does anyone know the function for a shopping cart so when you add an item to a cart, it adds it up on the page? I know its an onclick event to add the item to the cart, but whats the function or an example of one similar?

  2. #2
    Join Date
    Jul 2007
    Location
    Québec
    Posts
    61
    Your question is a little bit confused, so give me a little more details and maybe I could answer it...

  3. #3
    Join Date
    Apr 2009
    Posts
    33
    This is my idea, I have a group of radio buttons, each button has a product with a price, when someone click on radio button 1, the price adds up to the shopping cart at the top of the page, then if someone clicks radio button 2, that gets added and radio button 1 gets subtracted. I have about 11 categories of radio button groups, each group has around 5 options. At the end of the page, I need it so that when someone clicks "submit" for the form, it will then display the totals of the form on another page.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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



Recent Articles