Home arrow PHP arrow Page 4 - Building an E-Commerce Site Part 3: Catalogs and Shopping Carts

MyMarket Shopping Experience - PHP

This is the third and final article in a three-part series dealing with using PHP 4 and MySQL to make a comprehensive e-commerce storefront solution. This article covers the shopping cart, payment processing, and database engine considerations, among many other topics. Full source code included!

  1. Building an E-Commerce Site Part 3: Catalogs and Shopping Carts
  2. Assumptions and Requirements
  3. Overview of The Process
  4. MyMarket Shopping Experience
  5. The Product Catalog
  6. The Shopping Cart
  7. Payment Processing
  8. Step 1: Database Changes
  9. Step 2: Extracting the New Scripts
  10. Step 3: General Script Changes from Tutorial 2
  11. Step 4: New Shopping Scripts
  12. Conclusion
By: Ying Zhang
Rating: starstarstarstarstar / 50
June 08, 2000

print this article



This is the set of interactions the customer makes with MyMarket:

  1. Customer browses the product catalog
  2. Customer adds items to shopping cart
  3. Customer confirms the purchase
    Payment Processing
    Once the customer has confirmed the purchase, we have to process their payment:
  4. Transaction goes to payment processing / transaction clearing company
  5. Company verifies the amount and takes if from the customer's account
  6. Company pays MyMarket (after taking off their processing fee)
    Order Fulfillment
  7. Warehouse gathers the products in the order for shipping
  8. Courier company ships the goods off to the customer, and the purchase is complete

That's overly simplified, but it should help to get a feel for the whole process.

>>> More PHP Articles          >>> More By Ying Zhang

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort


- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates


Dev Shed Tutorial Topics: