Jul 20, 2008

How Make Shoping Cart Using Php

Free Web Hosting, No Ads > CONTRIBUTE > The Internet > Web Design

free web hosting

How Make Shoping Cart Using Php

shibo
hallo, Anyone can tell me how to make shoping chart using PHP. thanks biggrin.gif

Reply

ghostrider
Unless you are really skilled with PHP, or have more than one person working with you, I wouldn't attempt to write a PHP shopping cart. I believe the Agora shopping cart is included somewhere in the cPanel. However here is what you would need to write and design.

Make a database in mysql with all the items for sale, their prices, descriptions, and other stuff.

Make a page that displays the items.

Make a script that calculates price and delivers the order to you.

Write a search engine specifically for seraching your MySQL database.

Create a page for admins to change/add/remove items

Debug it all and get all the modules to work perfectly biggrin.gif

You might also need a banner that displays the shopping cart of the user.

A page that displays what the user is going to buy, or has already bought

A login system, and another mysql table for that data

And if you want to be really safe, use SSL.

Hope this helps you.

 

 

 


Reply

garbage
from what I hear that is really difficult to do, I've been on a site where they said that had to pay someone to do it for them and they had to pay a big amount of oney simply because of the difficulty of it.

Reply

hts
if you are asking how to build a shopping cart, then you are certainly and obviously not able to build one...start learning php (or another server-side language)- start with the basics ..then, if you like it and really want to learn, bit by bit you`ll achieve the level of php knowledge at which you can develop your own shopping cart.

but enough with all this blabbering - just install a pre-made script (free or not tongue.gif )..

Reply

shibo
thank for replies...

i have learned PHP (one of popular server-side language),
but I looking for some of literatur or tutorial about it in *.pdf, *.doc,*.ps...tec,
who can explain step by step to make it one, and can be downloaded.

anyone can tell me where i can find it.

U Will Never Know Till U Have Tried. biggrin.gif

Reply

midnitesun
well i just happened to be curently working on a php shopping cart script for one of my projects, i am using mysql as database, sessions and paypal as mode of payment, the bulk of the script is finished but i have to start on the admin part of the script now, once finished i am willing to give the files to anyone interested here, you may contact me if you want

Reply

shadowx
hey shibo, i think its great that youre trying to make some "real world script" i usually make pointless things just to test myself but atleast if you did make it, it would be usefull. The only thing (and its a big thing!) is security...

midnitesun said he/she is making a shopping cart and using paypal to handle the payment and i would suggest that if you are going to make this script definately use paypal to handle all payment including credit card details etc... The reason being that a shopping cart system needs to e 99.9% secure (i find it hard to think that anything is 100% secure) because you would potentially have thousands of pounds (dollars/yen/etc..) of money floating about your site daily and that makes it a potential hit for hackers etc.. and if they gain access to credit card details you are in a lot of trouble.

ghostrider spelled things out pretty well so if you wanted to make this script make all of those things listed there and you will have a backbone and from that you can make the paypal integration etc... What ghostrider listed shouldnt be too hard to create, just using SQL queries to pull data, sessions to store it and HTML to show it, using get and post variables to put the data into sessions etc..

But just be wary of security! I wouldnt want you having to pay out thousand of pounds etc because someone found a hole! It would be fine to store things like name, username etc... Possibly address if encrypted but i would make the user enter their credit card details every time rather than storing them in a DB because even encryption can be broken and a has (like md5 etc..) would be useless as its one way.

Good luck and if you do make it then keep us posted, i might be tempted to follow in your footsteps smile.gif

Reply

75rLs3U4
As everybody said, the first place is to learn PHP, and SQL, and I ain't kidding. wink.gif

The other thing that you have to learn is math, accounting, statistics, some of css and html, security and other related stuff that you need to make a good algorithm.

Two years ago I try to make something similar, but, man, for a 14yo kid is very difficult to know this. At the year of study all of that stuff, I decide go with oscommerce and modify myself the php code.

But, if you need something more professional, there are other carts that you can pay as x-cart, cre loaded, sunshop and other more.

If you need to pick a cart for you, I recommend something that help you to know how much you are selling, how much is your inventory, and an easy way to upload data from excel or access to the site, in order to update fast your inventory.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Similar Topics

Keywords : shoping cart php

  1. What's The Best Online Shopping Cart - looking for opions from people (7)
    I'm creating a shopping cart for a client and was wondering what's the best one out there?
    He doesn't have thousands and thousands of items to sell so i'm just looking for something
    that really reliable and simple to use because i do not want do tech support for him.round....
  2. What Do You Want In A Shopping Cart? - Idea for niche market... (0)
  3. Shopping Cart System - i need a shopping cart system (2)
    I sell coins and I wwant to make a website that cells collectibles. I need a good shopping cart
    system that i can chane the sking of to fit my website. I need somrhting that will mathe the idea of
    collectable and will look frofesional like the us mint website. If u know of a adjustible shopping
    cart system pleese let me know. Thank you very much....
  4. Shopping Cart - Please Help - I've been searching for 12 hours (7)
    I've been on the computer for almost 12 hours straight trying to figure out how to enable my
    website to be ecommerce ready. I'm selling single items, so when one is sold that item is
    sold out. None of the items I've downloaded can dynamically change my site, which means I would
    have to manually change it and make the items unavailable. Meanwhile, I don't want a bunch of
    people buying the same item when it's no longer available, which I would then have to refund
    their money, and upset potential return customers. I need some solution that will au...
  5. Shopping Cart - (5)
    hi, 1) I have to create a PHP shopping cart for a client. Does anyone a PHP script from which i can
    begin? 2) How does it works to make have a https just before entering the VISA/credit card? Any
    help is welcome!!! ...



Looking for make, shoping, cart, php

Searching Video's for make, shoping, cart, php
advertisement



How Make Shoping Cart Using Php



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE