Skip to main content
August 6, 2006
Question

Shopping cart design questions

  • August 6, 2006
  • 3 replies
  • 401 views
I plan to redesign the menu section of a restaurant Web site, and would like some design advice. Two requirements: (1) the shopping cart should stay on the screen (upper-left, for example) while the customer scrolls through the menu items, and (2) the shopping cart should reflect the items that have been selected, the quantiy, the extended price and a running total.

Frames? JavaScript? DHTML? I would not mind refreshing a frame and using ColdFusion do the calculations.

Any thoughts would be appreciated.
    This topic has been closed for replies.

    3 replies

    August 8, 2006
    jdeline,

    from what i have read, there seems to be some real security issues with ajax.

    i would read up before using. sending u a private message with link that has iframe cart that i built.
    August 7, 2006
    don't know ajax so might be a better solution...

    the way i would work this is if you are not already using frames, split page with a frame or if you just want a small window, use an iframe.

    remember though, with iframe on all pages is that you would need a cfif statement each page to detect if cart in use (to add iframe to page(s))
    August 8, 2006
    kaasu, I've been looking for a reason to learn Ajax. Could you suggest a good tutorial on the subject? Is http://www.indiankey.com/cfajax/ the definitive site on it? Ranger, you bring up a good point about when to show the cart from page to page.

    Thanks to both of you.
    August 7, 2006
    I would suggest using AJAX. There are numerous tutorials and sample applications available online which you can use as a reference.

    HTH