Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2002
    Location
    Florida
    Posts
    12
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Here we go again...

    I originally presented this question in the MySQL forum section, but received more of a battle over who's answer was better than the other's, and left me just as confused as when I began. So, maybe it will be easier to get an understandable answer in the PHP section. Here goes... again:

    I've seen on some shopping carts the following scenario, but can't figure out how it's done.

    You buy something on a cart, then, a box appears stating that... "Customers who purchased this item also purchased ...whatever". It also shows "Customers who looked at this item also looked at ...whatever".

    I've also seen a box that contains a running $$$ total of all things that have been purchased during a customers visit to the site, which is viewable at all times by the customer.

    I've spent a lot of time trying to learn PHP, but am being told by a friend who is new to ASP programming that is more of a ASP scenario. Is this true, or will PHP work just as well?

    It's an awesome feature on a shopping cart, but I can't even begin to understand how they do it.

    Thanks in advance,
    Jim

  • #2
    Regular Coder
    Join Date
    Oct 2002
    Posts
    380
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Several answers given here.

    Running totals are simple based on the current customer's order and a total of their orders. This is very simple to do.

    This can be done in either asp or php. Both are flexible code bases, and capable of most things. I'm not sure why anyone would suggest that asp is better at this problem than php. Either are equally capable of doing it.

  • #3
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    As pointed out you already have a topic open for this discussion. Closing thread.....
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •