Page 1 of 1

hello , i need help... how to make add to cart (shopping)..

Posted: Wed Apr 04, 2012 1:00 pm
by mekha
hello , i need help... how to make add to cart (shopping)..
how to start
how many tables i need
what fields..
and how it does work ?
thank u

Re: hello , i need help... how to make add to cart (shopping

Posted: Wed Apr 04, 2012 1:11 pm
by Celauran
PHP shopping cart

Once you've done some work, post back with specific questions and we'll help you out.

Re: hello , i need help... how to make add to cart (shopping

Posted: Wed Apr 04, 2012 1:35 pm
by mekha
http://topline.me/shop ... i have built all things..what i need is add to cart..shop cart ..click on more info in main page and u will see the full article of product..now i need add to cart and to see the products and edit quintety and save it..i dont know to use $_COOKIE

Re: hello , i need help... how to make add to cart (shopping

Posted: Wed Apr 04, 2012 7:14 pm
by califdon
I'm afraid you're expecting to learn web development by asking a short question in a forum. That's totally unrealistic. We would like to help you, but you are evidently starting with almost no knowledge of PHP, such as using cookies, and appear to be reluctant to study tutorial materials that are suggested to you. Your project is not like coding a simple web page. There are many options that only YOU can decide. And you want to modify a rather complex commercial web store design to add a shopping cart functionality. That would be a substantial project for a professional web developer to do. We can answer questions, but you are asking for someone to design your system for you.

Re: hello , i need help... how to make add to cart (shopping

Posted: Thu Apr 05, 2012 1:30 am
by mekha
Totally no!!!!!
i asked for tips...
like:
how many tables in mysql database
and a simple example of how cookies work
i want do design my project for trainning only with out members area
only add to cart...
so i asked only for
how many tables
and a simple example of cookies :) not to design my web :)

Re: hello , i need help... how to make add to cart (shopping

Posted: Thu Apr 05, 2012 12:20 pm
by califdon
If I misunderstood your questions, I apologize to you. Let me try to address your questions, then:

Nobody can tell you how many tables any database needs without knowing the entire scope of the system you are going to model with a database. There are many factors that are involved in that determination. All of them can be summed up in the statement "Each real-world entity requires its own table and each many-to-many relationship requires an additional table." The web contains many good database design tutorials, just search for the terms database relational tutorial.

Cookies are well documented, with examples, in the PHP Manual http://php.net/manual/en/features.cookies.php and http://www.php.net/manual/en/function.setcookie.php and there must be hundreds of examples in other tutorials.

I'm sorry if I sound like I'm being harsh with you, but forums are a poor primary source for learning about anything from scratch. They are very useful in dealing with a specific problem. We are frustrated when someone asks broad, general questions that would require lengthy explanations of concepts because we know that we can't provide useful help in the limited time and space we have and without a great deal of requests for additional information. I am being totally sincere when I tell you that your own interests will be better served by using the online resources available on these topics, then when you have a particular point that you don't understand, or when you try something and it doesn't work, that's when a forum is valuable.

Re: hello , i need help... how to make add to cart (shopping

Posted: Fri Apr 06, 2012 1:59 am
by mekha
aha....great man ;)....thank u ;)))