Laravel 8 E-Commerce - Create Product Details Page

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 84

  • @fidellistaz766
    @fidellistaz766 3 года назад +5

    How many videos are left ??

  • @dadomultimediamusic
    @dadomultimediamusic 3 года назад +1

    Hi Surfside Media:
    I followed all the process from the chapter 1 up to here.
    But I have been stucked, the slider it´s not working. After more than 1 week, I found my mistake:
    ASSET must be in scripts!!
    Thank you for all your effort sharing this course. Greetings.

    • @dio5817
      @dio5817 2 года назад

      thanks alot brother you really help me. this mistake make me stres all day long.

  • @knowledgegurug7026
    @knowledgegurug7026 2 года назад +1

    `DetailsComponent` was not found: Controller class `DetailsComponent` for one of your routes was not found. Are you sure this controller exists and is imported correctly?

  • @benedictmunge5389
    @benedictmunge5389 3 года назад +1

    Can admin post products from admin panel like voyger? Great tutorial!

  • @itsmohy
    @itsmohy 3 года назад +1

    How can I structure my product to create simple and variant product?

  • @CdLf-dv6vo
    @CdLf-dv6vo 3 года назад

    Wonderful Playlist however I am stuck at paginate because my next button shows me a empty page until I refresh and when I press previous it shows me a empty page again unless I refresh it. what's the cause of this.

  • @TheWorldGame77
    @TheWorldGame77 2 года назад

    I have this question!
    How to open a page in a browser without a category?
    Now all pages are opened (/category/post), but how to do this (/post)?
    Here is how I wrote
    web.php
    Route::get('{post_slug}', [App\Http\Controllers\Frontend\FrontendController::class, 'viewsPost']);
    FrontendController.php
    public function viewsPost(string $post_slug) {
    $post = Post::where('status','0')->get();
    return view('frontend.post.views', compact('post'));
    }

  • @itzdaksh7235
    @itzdaksh7235 2 года назад

    My regular product height & width are messed up and they are very short now tried increasing size in css but didnt work...Help

  • @nadermahmudtabrizi7216
    @nadermahmudtabrizi7216 3 года назад

    Hello, would you please zoom your display? There is nothing to be seen and I have a lot of problems! Thanks a lot

  • @tamilvillage7749
    @tamilvillage7749 2 года назад

    Why I am getting undefined variable $popular_products error?. Can you advice pls

  • @OrlandoDouglasRocha
    @OrlandoDouglasRocha 3 года назад +2

    I have this problem: Route [product.details] not defined. (View: C:\xampp\htdocs\loja
    esources\views\livewire\shop-component.blade.php) how to solve.
    dentro do hrf: {{route('product.details',['slug'=>$product->slug])}} / can you tell me where this error is here

    • @SurfsideMedia
      @SurfsideMedia  3 года назад +1

      Make sure this route is added on web.php file or not
      use App\Http\Livewire\DetailsComponent;
      Route::get('/product/{slug}',DetailsComponent::class)->name('product.details');

    • @OrlandoDouglasRocha
      @OrlandoDouglasRocha 3 года назад

      Good morning, would have this project on github .. if yes you can send the link ...

    • @Xlrb102
      @Xlrb102 3 года назад +1

      @or Rocha Hi.. did you get any errors when u make details-component page dynamic? I have commented my error. Please if you get the same error please inform me... I really need help!

    • @OrlandoDouglasRocha
      @OrlandoDouglasRocha 3 года назад +1

      Obrigado

    • @versachLTE
      @versachLTE 3 года назад

      @@SurfsideMedia merci 🙏

  • @kakolisaha981
    @kakolisaha981 2 года назад

    I'm getting this error, plz help me. Invalid route action: [DetailsComponent]. Route::get('/detail/{slug}',DetailsComponent::class)->name('product.details');

  • @Xlrb102
    @Xlrb102 3 года назад

    ​ @Surfside Media Sir please i have added the a tag in shop page but it doesn't work. please please sir explain each an every steps in the video without missing anything... please sir

  • @dadomultimediamusic
    @dadomultimediamusic 3 года назад

    First of all, Thank you so much for sharing all this course.
    1) I´m stucked with the details product, sliders are not working, even that I added the flexslider,
    2) Also, the TAB menu: (Description, Reviews, Additional Information) is not working,
    3) I don´t understood why for images in certain moments it´s not necessary to include "asset" in the URL {{ asset('xxxxxx.xx') }} and this Details.blade, images do not work without "asset".
    Thank you @Surfside Media for any help in advance .
    Greetings.

  • @onderio.2686
    @onderio.2686 3 года назад

    How can we make product image sliders dynamic @Surfside Media

  • @jfcode9584
    @jfcode9584 3 года назад

    Bien, me parece avanzado el proyecto tal vez hay el curso completo pagado?

  • @mohammadtavakoly6160
    @mohammadtavakoly6160 2 года назад

    tell us some useful composer package for laravel please

  • @neelamnasir467
    @neelamnasir467 2 года назад

    syntax error, unexpected identifier "assets", expecting ")" (View: D:\xampp\htdocs\E_Comerce
    esources\views\livewire\details-component.blade.php) sir plz help me i can remove this error

  • @Xlrb102
    @Xlrb102 3 года назад

    please I really need help!! Why i'm getting this error when making the page dynamic? "ErrorException
    Trying to get property 'image' of non-object (View: C:\xampp\htdocs\laravel8ecommerce
    esources\views\livewire\details-component.blade.php) "

  • @beticohernandez9536
    @beticohernandez9536 2 года назад

    Hello. How do I get the import class option?

  • @dilipkanogiya2456
    @dilipkanogiya2456 3 года назад

    Sir, when is your next video coming?

  • @thipa_icon9220
    @thipa_icon9220 Год назад

    my images are not displaying on the page please help

  • @prashantkapse3047
    @prashantkapse3047 2 года назад

    why u r not code for product slider for multipal image

  • @pritesh55s
    @pritesh55s 3 года назад +1

    Thank you so much............

  • @agro-ku-channel923
    @agro-ku-channel923 3 года назад

    Add product from modal admin??

  • @marwanwehbe5684
    @marwanwehbe5684 3 года назад

    sir where is the slider thumbnail under the prodcut image

  • @paulfurniturebapon1566
    @paulfurniturebapon1566 3 года назад

    Sir how can we publish this project

  • @Arman-eb6sv
    @Arman-eb6sv 3 года назад

    In livewire components i get php inteliphense error whenever i include layout function do you have any solution for that?

    • @itzdaksh7235
      @itzdaksh7235 2 года назад +1

      idk why it shows the error but it doestnt matter it will still work

    • @thipa_icon9220
      @thipa_icon9220 Год назад

      @@itzdaksh7235 hello ... did it work for you on the details page ?

    • @thipa_icon9220
      @thipa_icon9220 Год назад

      did it work for you the layout on this details component

    • @itzdaksh7235
      @itzdaksh7235 Год назад

      @@thipa_icon9220 no

    • @itzdaksh7235
      @itzdaksh7235 Год назад +1

      and it was almost 1 year old...

  • @abdurrahattarek
    @abdurrahattarek 3 года назад

    how does popular_product data are coming they are not even any popular_product table on database.... please sir explain this to reply

    • @maxmillianafanga1358
      @maxmillianafanga1358 3 года назад +1

      DetailsComponent.php file has $popular_products= Product::inRandomOrder()->limit(4)->get();
      $related_products= Product::where('category_id',$product->category_id)->inRandomOrder()->get(); which are both selections from table Products using eloquent.

    • @abdurrahattarek
      @abdurrahattarek 3 года назад

      @@maxmillianafanga1358 Now I got the point....Thank You, Brother!

  • @barrygarrick8673
    @barrygarrick8673 2 года назад

    ReflectionException
    Function () does not exist
    Web.php
    Route::get('/product/{slug}',[DetailsComponent::class])->name('product.details');
    Details component.php same as in video
    shop-component.blade.php same as in video
    Im using laravel 8.82
    What should I do??

  • @richmotivation8876
    @richmotivation8876 3 года назад

    hey sir am getting this error Trying to get property 'category_id' of non-object

    • @emmanguekam9256
      @emmanguekam9256 2 года назад

      I have the same problem, have you result?

  • @cynic_bloke
    @cynic_bloke 2 года назад

    HELP HELP
    Error
    Class "App\Http\Livewire\Product" not found

    • @jtech04
      @jtech04 2 года назад

      tip: use phpstorm , namespace added/not added error will not be there when u will use phpstorm suggestions.
      your problem's solution: You forget to import "use App\Http\Livewire\Product" inside web.php file. :)

  • @fidellistaz766
    @fidellistaz766 3 года назад

    Nice

  • @fabiocarvalho5358
    @fabiocarvalho5358 3 года назад

    Muito bom, parabéns!

  • @dnq.1310
    @dnq.1310 3 года назад

    let make how to show product from product category

  • @amitjaiswal4586
    @amitjaiswal4586 3 года назад

    sir please make next video

  • @Calcasmen
    @Calcasmen 3 года назад

    Nice :D

  • @paulfurniturebapon1566
    @paulfurniturebapon1566 3 года назад

    nice:D

  • @kouzokiodin3623
    @kouzokiodin3623 2 года назад

    Gold

  • @ahmadkhanahmadzai7941
    @ahmadkhanahmadzai7941 3 года назад

    sir please integrate admindashboard please and create product from dashboard pleasssssssssssssssse

  • @OrlandoDouglasRocha
    @OrlandoDouglasRocha 3 года назад

    Someone would have this project on git.

  • @stickyicky33
    @stickyicky33 2 года назад

    I dont see you answering any question

  • @artemdeveloper7304
    @artemdeveloper7304 3 года назад

    Thank you for the lessons! I'm from Ukraine. Very cool videos. In Russian, there seem to be no such. Thanks. Like and subscribe from me!
    Спасабо за уроки! Я из Украины. Очень класные видео. На русском таких похоже нет. Спасибо. От меня лайк и подписка!

  • @barrygarrick8673
    @barrygarrick8673 2 года назад

    Help need help

  • @Xlrb102
    @Xlrb102 3 года назад

    please .. please .. can someone help !! @Surfside Media Please help!

    • @jacksragingbrain5828
      @jacksragingbrain5828 3 года назад +1

      Hi xlrb, where is your question? maybe we(laravel/surfside comunity) can help you

    • @Xlrb102
      @Xlrb102 3 года назад

      @@jacksragingbrain5828 when i try to make the product details page this error happen? $product is the problem?

    • @jacksragingbrain5828
      @jacksragingbrain5828 3 года назад

      @@Xlrb102 this error? can you be more specific? what error code/description do you get? have you added the use App\Models\product in the top of your component? and the other use in the top of your routes

    • @Xlrb102
      @Xlrb102 3 года назад

      @@jacksragingbrain5828 ya i have.. i have upload my problem in stack overflow page.. please can u search this question like this "How to solve this Error when trying to make details.blade.php page dynamic (laravel 8) “ ErrorException Trying to get property 'image' of non-object " in google and check it on stack overflow.

    • @jacksragingbrain5828
      @jacksragingbrain5828 3 года назад +1

      @@Xlrb102 in your bladefile you have an empty space where it should be
      and in your factory you are missing the name of your corresponding model
      protected $model = Product::class;
      hope this helps you

  • @abhis00717
    @abhis00717 3 года назад +1

    improper content