PHP
MySQL Shopping Cart Tutorial
Yes, this is a another shopping cart tutorial.
I am planning to make this tutorial to cover a more sophisticated shopping
cart solution but for now it only explains a basic shopping cart. I will improve
it in time so stay tuned.
Here is what we have in this site :
- Introduction
This page explains the big picture. What kind of shopping cart software we
will create. The shopping cart flow, file organizations, requirements and
configuration.
- Database Design
Here you will see what tables do we need and the relation between tables.
An Entity Relationship (ER) diagram is also included so you can see the database
relation better.
- Admin, Control Panel
Where all shopping cart administration work takes place. This page explains
the basic structure of the admin pages and brief explanation on each admin
submodules.
- Admin, Login
We have to create this one first of course. Making an administrator page
without one is simply a crazy move :)
- Admin, View Category
List all available categories and it's child categories.
- Admin, Add Category
You can't build the online store if you don't have product categories, right
?
- Admin, Edit Category
Modify existing categories, to change the name, description or maybe the
image
- Admin, Delete Category
Unused categories can be deleted here.
- Admin, View Products
List all products in our online shop, search and view by category is also
available
- Admin, Add Product
After finish working with the category pages. We start writing the product
scripts.
- Admin, Edit Product
Modify every aspect of the product
- Admin, Delete Product
Remove product from the database.
- Admin, Order Management
Let's see how many orders we have, how many completed orders and abandoned
ones.
- Admin, Shop Configuration
Here we can set several aspects in our shop. For now we can only set the
shop information ( name, address, etc ), the currency and shipping cost.
- Admin, User Management
This page covers adding a user, modify password and delete user
- Shop, Main page
This is where the customers will go. They will browse around and view the
products and hopefully if they're interested enough they'll put some products
in the cart.
- Shop, Browse Categories
Just to add some navigation so the customer can browse around
- Shop, View Product List
Display all product in a category
- Shop, View Product Detail
Display detailed information about a product.
- Shop, Add to Cart
All interesting goodies goes here
- View Shopping Cart
Customer can view what's in her shoping cart. Probably modifying the product
quantity or dump some products ( or even abandon the whole cart ).
- Shop, Checkout
Our real target, getting the sale.
- Resources
Some useful online resources like a study on shopping cart usability, shopping
cart security issues, alternative shopping cart solutions, etc
- Source code
The source code files for this shopping cart tutorial.
- Demo site
Have a look on our completed shop. It's not much but it works.
- Question and Answers
Some questions that i received regarding this tutorial and the answers. Not much here for now but i'll try adding more. I need to dig my inbox to find all those questions and upload them here.
- Link Exchange
Got a website? Would you exchange link with me? Just browse around the categories and
put your site in the one you think fit the best.
- Book Store
Just some books about e-commerce in general
By the way, what exactly your ideal shopping cart solution look like. If
it's not too much trouble could you let me know about it. What features do
you want from a shopping cart software.Please drop me
an email and tell me what's on your mind |