47 thoughts on “Laravel 5.2 PHP – Build a Shopping Cart – #1 Intro & Setup

  1. Laravel, at least when im watching this video, it has jquery as a node dependency, you can just use webpack to require it, and then you just need to link to the compiled app.js folder and job done.

  2. @foreach($productChunk as $product)
    <div class="col-sm-6 col-md-4">
    <div class="thumbnail" <img class ="img-responsive" src="{{ $product->imagePath}}" alt="…">
    <div class="btn-group pull-right sizevalue">
    <button type="button " class="btn btn-default" >S</button>
    <button type="button " class="btn btn-default" >M</button>
    <button type="button " class="btn btn-default">L</button>
    <h3> {{$product->title}}</h3>
    <p> {{$product->description}}
    <div class="clearfix">
    <div class="pull-left price"> $ {{$product->price}}</div>
    <a href="{{ route('product.addtocart', ['id'=> $product->id, 'size' => 'selectedbuttonvalue'] )}}" class="btn btn-success pull-right" role="button">Add to Cart



    I am following your tutorial thoroughly. I wanted to add size to the t-shirt. How do I send a value from javascript to the controller? I wanted to get the value from the selected bootstrap button. Can anyone help?

  3. I would like to thank you.. Thanks to you I managed to start programming again after 10 years of inactivity. I was lost because the web programming world has changed so much but your tutorials updated me on all those changes in such a simple way. Thanks! Max.

  4. I'm a beginner PHP developer, however, I've been programming Java for almost 2 years now. Do you think it is a good option to directly dive into Laravel or is it better to dig deep in PHP first? I am learning Laravel since it really speeds up development.

  5. $ composer update
    Loading composer repositories with package information
    Updating dependencies (including require-dev)
    The "http://packagist.org/p/symfony/event-dispatcher%24b691b3c505c584f0929db40cbf5e81e2440d1e5f9bffe8b940932769cf66edc0.json" file could not be downloaded: failed to open stream: HTTP request failed!
    http://packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date

    SOMEBODY PLS HELP ME HELP ME I try running that command in my git bash

  6. Hi I've been watching your videos for weeks now. I want to apply this tutorial on my new project. Just 1 question, what are the changes since the version 5.4 was updated? Is it too much? Thanks and more power!

  7. awesome tutorial ..i have small doubt about php strom.. when i type html:5 for me html snippet is not at all opening ..:( is i need save tat as template by manually before using it
    Am saying about content at 5.58 in the above video
    please help me sort this
    Thanks in Advace


  8. Hi Mindspace! Your training videos are really well produced. Would it be possible to develop this further and make it into a Multi-Vendor shopping cart. Make a basic Etsy laravel. I have PHP training and also Laravel basic foundation training. How long do you think a project like a multivendor in Laravel would take to develop? How difficult do you think it would be ? Thanks.

  9. I have an error when i tried to "artisan serve/artisan key:generate" the downloaded source code from your github. It says "No such file or directory in C:xampphtdocsbookbootsrapautoload.php on line 17" Please help me im just a student.

Leave a Reply

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