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.
`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?
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.
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')); }
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
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');
@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!
@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
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.
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
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) "
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.
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??
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. :)
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! Спасабо за уроки! Я из Украины. Очень класные видео. На русском таких похоже нет. Спасибо. От меня лайк и подписка!
@@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
@@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.
@@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
How many videos are left ??
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.
thanks alot brother you really help me. this mistake make me stres all day long.
`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?
Can admin post products from admin panel like voyger? Great tutorial!
How can I structure my product to create simple and variant product?
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.
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'));
}
My regular product height & width are messed up and they are very short now tried increasing size in css but didnt work...Help
Hello, would you please zoom your display? There is nothing to be seen and I have a lot of problems! Thanks a lot
Why I am getting undefined variable $popular_products error?. Can you advice pls
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
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');
Good morning, would have this project on github .. if yes you can send the link ...
@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!
Obrigado
@@SurfsideMedia merci 🙏
I'm getting this error, plz help me. Invalid route action: [DetailsComponent]. Route::get('/detail/{slug}',DetailsComponent::class)->name('product.details');
@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
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.
How can we make product image sliders dynamic @Surfside Media
Bien, me parece avanzado el proyecto tal vez hay el curso completo pagado?
tell us some useful composer package for laravel please
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
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) "
I have the same problem
Hello. How do I get the import class option?
Sir, when is your next video coming?
my images are not displaying on the page please help
why u r not code for product slider for multipal image
Thank you so much............
Add product from modal admin??
sir where is the slider thumbnail under the prodcut image
Sir how can we publish this project
In livewire components i get php inteliphense error whenever i include layout function do you have any solution for that?
idk why it shows the error but it doestnt matter it will still work
@@itzdaksh7235 hello ... did it work for you on the details page ?
did it work for you the layout on this details component
@@thipa_icon9220 no
and it was almost 1 year old...
how does popular_product data are coming they are not even any popular_product table on database.... please sir explain this to reply
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.
@@maxmillianafanga1358 Now I got the point....Thank You, Brother!
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??
hey sir am getting this error Trying to get property 'category_id' of non-object
I have the same problem, have you result?
HELP HELP
Error
Class "App\Http\Livewire\Product" not found
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. :)
Nice
Muito bom, parabéns!
let make how to show product from product category
sir please make next video
Nice :D
nice:D
Gold
sir please integrate admindashboard please and create product from dashboard pleasssssssssssssssse
Someone would have this project on git.
I dont see you answering any question
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!
Спасабо за уроки! Я из Украины. Очень класные видео. На русском таких похоже нет. Спасибо. От меня лайк и подписка!
Help need help
please .. please .. can someone help !! @Surfside Media Please help!
Hi xlrb, where is your question? maybe we(laravel/surfside comunity) can help you
@@jacksragingbrain5828 when i try to make the product details page this error happen? $product is the problem?
@@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
@@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.
@@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
improper content