11. E – Commerce Website Tutorial – Display the PHP Shopping Cart

www.developphp.com In this 11th video we will gather all the variables for each cart item by accessing our MySQL database. This way we can design our cart to look any way we wish. The E – Commerce Web Site we will be assembling is one in which all of the inventory is in a MySQL database and we offer a custom PHP cart for a unique shopping experience.


  • Will the price be changing when the quantity is increased? Like example if the quantity is 1 the price is $4.99, but when the quantity is incresed to 2 it will show the total price as $9.98 .

  • u rock adam what an intro heheh :P, i wanna ask uu, will u show how to create product’s categories and how to add a new product from admincp ??

  • @flashbuilding ha srry, It was 4am when I was watching this…I thought it said wanna suck my not wanna suck your, my bad….just hope it isnt a guy who wants to do that HA

  • Stay happy, Life is too short to be sad. You definitely make me really happy with producing all these excellent tutorials.

    Thanks again,


  • Firstly Just wanna say many thanks for your generous and descriptive tutorials.. ive learned more from you in these tuts than i did in three years at a good uni. However no more ass kissin, ive noticed a small error with the scripting..a problem is cause when you add one item, then a different one, then try to add the original item again through the product page. The array tries to update the quantity of the last array added, therefore resulting in a mismatch of info and ends up in an….pto.

  • continue.. ends up in a infinite loop. I have found a way which simply masks the problem by endin the script an redirecting using a header file using an else{}ting. however this does not solve the problem as the product quantity does not get updated. only a small thing that will rarely cause an issue (especially after addin the else clause) but nonetheless thought u and everyone here shud kno! thanks again

  • Thanks for the great video! If you need help installing, configuring, or setting up zen cart, check out our channel for lots of Easy Help Zen Cart Tutorials:

  • Hi, I have an Money Format Error(Fatal error: Call to undefined function money_format() ), please help !!!!!!!!!!!

Leave a Reply

Your email address will not be published. Required fields are marked *