How to build a php/mysql shopping cart

Posted on 2012-09-22
Last Modified: 2012-09-24
I am trying to find a tutorial How to learn to build a php/mysql shopping cart
with out sessions
Question by:starview
    LVL 11

    Accepted Solution

    Hello starview,

    you can use table to store cart information if you do not want to store cart in sessions.

    did not get you exactly how you want it to be.

    Please look at following links to get basic knowledge of shopping carts

    Hope this will help you.

    Thank you.

    Amar Bardoliwala
    LVL 107

    Assisted Solution

    by:Ray Paseur
    with out sessions
    That part of the question has me scratching my head.  Why would you put a huge, artificially restrictive stumbling block in your path. Or maybe a better question would be why wouldn't you use the same tools that everyone else uses?  If we can understand where you're coming from on that point, maybe we can help more.  For example, you can effectively write your own state handler using cookies and your data base.  But that is a lot of work and the PHP session handler already does most of that for you.

    in addition, there are many good shopping carts already built -- all you have to do is configure one.  If it were up to me, I would choose Magento.

    Tell us a little more about your specific needs and maybe we can help more.
    LVL 9

    Assisted Solution


    Author Comment

    Thank you Amar Bardoliwala
    This what I am looking for, using table to store cart information in and not store cart in sessions. php/mysql learning and building a shopping cart. I know some php/mysql and I know there are shopping carts all ready out there, but I feel I can learn better this way and I might not every use the cart after I am done with the tutorial
     I hpe this gives you more of and idea of what I am looking, it does not have to be a video and I would rather it not be onlline.
    LVL 107

    Expert Comment

    by:Ray Paseur
    If you are just wanting to learn, buy this book.  It teaches the principles you need to know.

    It's now in its fifth printing and has been a permanent part of my professional library since Edition One.  Very readable with great examples and a downloadable code library that you can copy and modify for your own applications.

    Author Comment

    I know about the books, but I would rather get it from the internet in a tutorial form thank you

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Join & Write a Comment

    I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
    This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
    Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
    Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now