“The PHP Shopping Cart Tutorial is designed to teach total beginners a simple, practical way to create a PHP shopping cart that works with PayPal.”
For a lot of people new to web programming, the ability to create a shopping cart is a must!
... After months of ignoring requests, I finally decided to put out a video tutorial on how to create a shopping cart with PHP.
I didn't do this particular video myself (I got my right-hand-man Jon to do it) ... but being the control freak that I am, the video lessons were put together with the killersites philosophy in mind: Keep it simple, practical and get to the point!
In this series of videos, you learn how to build a PHP based shopping cart that works with Paypal. Some highlights:
- Learn to use object oriented techniques!
- This shopping cart 'talks' to Paypal so you can do live credit card and Paypal processing!
- Learn how to create XML documents and how to process them with PHP.
- You will also learn a few 'best practices' when it comes to programming.
Thanks,
Stefan Mischook
Build a PHP Shopping Cart with Paypal Integration Video
Videos by: Jon Lebensold
PART 1: INTRODUCTION
Duration: 4:49
We'll quickly go through what the end result our project is supposed to look like and some of the tools that will help us get there.
PART 2: TECHNOLOGY OVERVIEW
Duration: 10:42
A better look at the technologies as well as some of the tools we're going to be used to build our PayPal shopping cart. We'll also do a bit of refactoring and explain some of the benefits of using an IDE (integrated development environment).
PART 3: BUILDING AN XML CATALOG
Duration: 17:22
Using XML as our data storage format, we're going to create a catalog of items for our shopping cart.
PART 4: BUILDING THE CATALOG PAGE
Duration: 15:30
We're going to put some skin on that catalog and start making it look a little more like a page to buy items and a little less like the index of a phone book.
PART 5: FINISHING THE CATALOG TEMPLATE
Duration: 12:54
With our catalog completed, we're going to tidy up – or refactor – our project and get ready to build the ShoppingCart object.
PART 6: MAKING AN "ADD TO CART" PAGE
Duration: 15:58
We'll cover how we can use the $_SESSION array in PHP to store our customer's order as they navigate our website and add items to the shopping cart. We'll also start building the Shopping Cart class and look at some object-oriented programming concepts.
PART 7: BUILDING THE SHOPPING CART
Duration: 15:54
We will be adding the major functionality of our shopping cart class in this video and getting it ready for calculating subtotals and totals with shipping costs.
PART 8: CALCULATING COST
Duration: 7:37
We'll be creating templates for our checkout page in order to have a proper line-item for each product with the necessary cost details.
PART 9: SHIPPING COST
Duration: 10:09
Now that we have the individual items lined up in our checkout page, we can add the shipping costs.
PART 10: FINISHING THE CART TEMPLATE
Duration: 8:38
We're finally done writing our shopping cart class! Now we can put it to work with our newly created checkout page.
PART 11: SENDING DATA TO PAYPAL
Duration: 11:36
PayPal requires a collection of preset hidden form elements on form submission. These elements act as the glue between our shopping cart and their website, and we're going to flush them out in this video.
PART 12: PAYPAL SANDBOX INTEGRATION
Duration: 12:31
We're going to go through the steps needed to create a PayPal Sandbox account. This tool lets us complete transactions without having to pass money through PayPal.
PART 13: A QUICK LOOK AT PAYPAL'S IPN
Duration: 5:47
PayPal's IPN (Instant Payment Notification) is a handy way of knowing when a transaction has been completed succesfully. We'll quickly go over how we can pick up data collected by PayPal and how it can be used to track orders after they've been placed.
Buy the Complete PHP Shopping Cart Video Course!
I love giving away videos, but we need to pay the bills around here too ...
:)
So you can get the entire video course on creating a shopping cart with PHP etc ... for practically nothing! Oh yea, when you buy the videos, you get all the source code too.
Questions?
Just post them on the PHP forum.
Thanks,
Stefan Mischook
Testimonials
-
Hi from New Zealand, I have recently been introduced to PHP and I find your tutorials very helpful. Many thanks and please keep up the good work. I could not find any that I could follow on the internet. At least not as easy to understand as your tutorials.
Many Thanks - Stephen T.
-
Hello, I'd just like to thank you for producing the tutorials/videos for OOPHP, this helped me greatly understanding how object oriented programming is done.
Thanks again, - Yukitan
-
Stefan, Thank you very much for your helpful PHP tutorials you posted on killerphp.com.. I live in Tajikistan, that is small mountain and post Soviet Union country north from Afghanistan. In my country i know only one PHP programmer, i want to be second one :). I'm interested in everything you have, from beginner to ZF, MsQLY, i don't need Ipod, because we don't have them here.
thank!!! - Dima
-
Dude, love your tutorials on php...thanks for that, i don't think anyone explains stuff so well.
- Camilo
-
First of all allow me to congratulate you on such a phenomenal job with the PHP videos...I have about 4 yrs looking such type of tutorials, not web monkey nor any other site has offered what you so generously share with others. It is like almost being in class with you.
Thanks A Million Stefan. -Fernando
-
Hello, I've been viewing your php videos to get a handle on using php. I don't have any programming background of any kind. Your videos have been very helpful and easy to follow. The videos are helping me to make head-way to understanding that which I once thought as way beyond of my abilities.So, I just want to take a little time and thank you for providing these extraordinary videos that making learning a language much, much easier.
Thank you - Jim
-
Hi Stefan, Please more php tutorials. Your last collection came along just as I was looking around for options on how to learn the basics. I came across your tutorials on Web Designer magazine. Fantastic. Simple to follow and exactly what I needed. So please, more of the same.
Regards, - Martin
-
Hi Stefan, I have just seen your videos on killerphp.com. They are really grate. I must appreciate your effort. In fact they made me to request you more stuff like that. Do you have more videos or pdf materials, like how to use class objects in db connections and how to use them for front end interface.
Thanks - Masood
-
Hi Stef, I was very impressed with youR basic php videos, and would very much like to learn more. I have been creating basic web sites for various clients and want to grow with my knowledge, for better sites.
Grateful, - Rich L.
PS. I thought your style of teaching was as good as I have ever had with many years as a Support Technician.
-
Hey guys, Firstly, congratulations on the php tutorial videos. They're simply amazing. I'm just starting out and every other tutorial assumes far too much. Stefan is a brilliant teacher.
Thanks for your time. - Paul
-
Hi, Excellent work on PHP. I just finished your video tutorials. The content is very specific and the course is very well paced.
Regards, - Nasiruddin K. A.
-
Hi Stefan, Killerphp site is simply great. Excellent work !! Hoping for more videos on 'mysql'.
Thanks - :-)
-
Stefan, Thank you! I just watched the introduction tutorials on the Zend Framework and PHP OOP. You do a tremendously good job at explaining it for noobs like me. Really well laid out, taking in account all the elements that noobs don't have a clue about. I'm really looking forward to more . In any case, thank you for the help already.
Kind regards, - Willem Van den B.
P.S. Oh, and you're funny, too, which makes it all the more digestible.
Check out my videos in Web Designer Magazine.
Killersites.com Support:
- stefan@killersites.com
- 514-932-8091 (10 to 5)
Questions about the videos:
- videos@killersites.com
Hosting and domain name support:
- (480) 624-2500
PayPal Customer Support: 1-888-221-1161
Killersites.com has been a PayPal Verified Merchant since 2001. We also accept payment via check or money order.
Please send payment to:
Killersites.com Inc. 4156 Dorchester #2 Westmount, Quebec Canada H3Z 1V1
The more you learn, the more you earn!