• Thursday , 4 June 2020

Responsive PHP Shopping Cart with Bootstrap

Code Canyon
https://i.ytimg.com/vi/YvXaKDnHKVk/hqdefault.jpg



Create responsive shopping cart with PHP, simple MySQL database and Bootstrap CSS. We’re going to be using Microsoft OneNote to organize our code and keep track of the project progress. We’ll implement sessions in PHP to store our product data from submitted form GET and POST variables and present the data under Order Details page. We’ll also create numeric array to keep track of the keys and match them with product ids in our cart.

“““““““““““““““““““““““““““““““““““““““““““““““
Hey guys, I’m now using Patreon to share improved and updated video lesson material. For a small fee you can access all the downloadable files from this lesson (source code, icons & graphics, cheat sheets) and everything else included in the video from the Patreon page. Additionally, you will get access to ALL Clever Techie videos in HD format with no ads. Thank you so much for supporting Clever Techie 🙂

Download this video’s files here:
https://www.patreon.com/posts/responsive-php-20819058

This download (Patreon unlock) includes:
(php-shopping-cart.one OneNote outline, shopping-cart.css source code, cart.php and index.php source code, products.sql database tables source, product images)
+
( You also get access to ALL source code and any downloadable content of ALL Clever Techie videos, as well as access to ALL videos in HD 1080p quality format with all video ads removed! )

“““““““““““““““““““““““““““““““““““““““““““““““
( Website ) https://clevertechie.com – PHP, JavaScript, WordPress, CSS, and HTML tutorials in video and text format with cool looking graphics and diagrams.

( YouTube Channel ) https://www.youtube.com/c/CleverTechieTube

( Google Plus ) https://goo.gl/J71p6f – clever techie video tutorials.

( Facebook ) https://www.facebook.com/CleverTechie/

( Twitter ) https://twitter.com/theclevertechie

Original source

3d Ocean

Related Posts

47 Comments

  1. Kristian Maldonado
    April 27, 2019 at 15:33

    Oh men your the best, you already have another sub.
    Thanks for your content.

  2. code4Fun
    April 27, 2019 at 15:33

    Great Tutorial. Thanks

  3. tanya weder
    April 27, 2019 at 15:33

    I'm trying to get this to work in a PHP page that is loaded with jQuery into a div. It all works but the form action sends reloads the shopping cart page rather than keeping it in the div that it is loaded into. Suggestions on how to change the form action so it doesn't navigate away like this?

  4. Darragh McKinney
    April 27, 2019 at 15:33

    Complete waste of time unless you want a one-page site

  5. Stef Code Expert Power
    April 27, 2019 at 15:33

    Security problem : the 'price' is in the form.. Better if selected from the database once form submitted…

  6. Paul Berkers
    April 27, 2019 at 15:33

    He doesn't add the name to the session can you help?

  7. Eduardo Ignacio Robles Sosa
    April 27, 2019 at 15:33

    crack

  8. Teller - تيلر
    April 27, 2019 at 15:33

    src pls ):

  9. Driss
    April 27, 2019 at 15:33

    what are you writing you code in

  10. ramesh mzh
    April 27, 2019 at 15:33

    Thanks alot its very helful for my assignment

  11. ton caspe
    April 27, 2019 at 15:33

    what's index.php all about? please answer!!!

  12. Jizzervirus Reptikonski
    April 27, 2019 at 15:33

    Will it work without index.php?

  13. Shehban Patel
    April 27, 2019 at 15:33

    Which IDE are you using?

  14. mathrobz777
    April 27, 2019 at 15:33

    Everytime I refresh the page it adds one to the quantity of the cart, anybody else have this issue?

  15. gokunex3
    April 27, 2019 at 15:33

    A checkout button TUTORIAL plz.. plzz @clever

  16. Petr Svoboda
    April 27, 2019 at 15:33

    Thanks. I learned a little from this
    but also: holy *hit! that is one long and coplicated code, hard to read

  17. Muhammad Abdullah
    April 27, 2019 at 15:33

    sir can you made a video on checkout continuing this project. It would be of great help ty.

  18. Ahmed Nabil
    April 27, 2019 at 15:33

    hello i got 12 pic mean i got 12 item how to make it all balance in the web cause i use "col-sm-4 col-md-4" and the table so not arrange. please help

  19. Roswell New Mexico
    April 27, 2019 at 15:33

    Thanks Clever, but what's with Checkout function, index.php and chopping-cart.css pages?

  20. Wasif Imran
    April 27, 2019 at 15:33

    what about the index.php file?

  21. Joe Rubio
    April 27, 2019 at 15:33

    Great video, nice presentation style and flow. I got a lot out of it, thanks.

  22. Raymond Cruz
    April 27, 2019 at 15:33

    The quality of teaching took a nose dive when you copied and pasted the code to save time.

  23. Rexcel Delera
    April 27, 2019 at 15:33

    how am i going to store it in a database? thanks in advance

  24. Design With Taufiq
    April 27, 2019 at 15:33

    One more thing, how do i send the cart details to a database table after the checkout button is clicked

  25. Design With Taufiq
    April 27, 2019 at 15:33

    Great Tutorial. Please how do i display image on the cart? I used an input type hidden to get the image but it's not displaying on the cart

  26. Glory Gaming
    April 27, 2019 at 15:33

    Hello, very useful video however im facing a problem, when i press the add to cart button it only creates an array once for 1 product only as if the buttons arent for each product, when i press the button on a certain product it doesnt show its information it only shows the information of one product in the only 1 created array HELP?!?!

  27. Mitch Frankein O Desierto
    April 27, 2019 at 15:33

    thanks!
    but my products only displays vertically on my webpage, i wonder how to fix that?

  28. Fernando Castanon
    April 27, 2019 at 15:33

    is this from sratch?

  29. Vaughn Gigataras
    April 27, 2019 at 15:33

    how do u change the font color and style?

  30. David Bermudez
    April 27, 2019 at 15:33

    How can I replace $ for Cryptocurrency?

  31. Kr Dev
    April 27, 2019 at 15:33

    #SourceCodePimping 🤣

  32. akshith a.k
    April 27, 2019 at 15:33

    CleverTechie, you have helped me A LOT! Like and subscribe for you!

  33. MdAsif Hasan
    April 27, 2019 at 15:33

    Thank you for your presentation. It really good. But can't understand calculeting total and grand total 😢😢. Plz help sir😢

  34. franck herve kehi
    April 27, 2019 at 15:33

    thank you very much for your tutorial I followed it to the letter and it works very well and now I ask you the request to save the items in this shopping cart in a database

  35. keySG SGkey
    April 27, 2019 at 15:33

    @clevertechie when i add another product to the cart, it doesn't increment the quantity, it just adds another product. any ideas?

  36. A 1 App Builders
    April 27, 2019 at 15:33

    This works great. problem is i need to show the description of the product as well. thus far i've add a second button next to the one that is there already. I have no php knowledge but i'm trying. I program in visual basic. anyways, i've tried this

    <input type="submit" name="desc" style="margin-top:15px;" class="btn btn-info"
    value="Details" onclick="window.open('ihttp://1anovelities.com')" />

    it shows my website in a second window. what I need to do is show 1214.html in a pop up or another window. any help would be appreciated

  37. Alan Rojas
    April 27, 2019 at 15:33

    🙂

  38. DEO TIIE MUSIC
    April 27, 2019 at 15:33

    hey this is good staff but i am getting this error
    Fatal error: Call to undefined function filter_input() in C:Program Files (x86)xampphtdocscartcart.php on line 12

  39. Recoil Insanity
    April 27, 2019 at 15:33

    Seen around 3 comments I believe with "What is in the index file" or something along the lines. This is SAID in the video in the start. It contains all the code of the source code, no different than what you will create from the above video.

  40. Rhys Williams
    April 27, 2019 at 15:33

    Awsome Tut; great job!!!

  41. Robert JF
    April 27, 2019 at 15:33

    Excellent explanation!, Thank you very much! 😉

  42. Hưng Nguyễn Việt
    April 27, 2019 at 15:33

    Thanks ,easy to understand
    !

  43. Vidar
    April 27, 2019 at 15:33

    Can we please get the index.php?

  44. sadman sakib
    April 27, 2019 at 15:33

    Awesome..Thanks man.That was really helpful

  45. Lara Ma
    April 27, 2019 at 15:33

    there is no index.php file in the download link. help!

  46. Andres Rivera
    April 27, 2019 at 15:33

    You can pronounce array as "r ray".

  47. Andres Rivera
    April 27, 2019 at 15:33

    This is great, but how do you connect to PayPal? That is what I am interseted in.

Leave A Comment

You must be logged in to post a comment.