#24 Make E-commerce website in Laravel 5.6 | #35 Admin Panel | Category / Listing Pages

#24 Make E-commerce website in Laravel 5.6 | #35 Admin Panel | Category / Listing Pages

Stack Developers

6 лет назад

5,731 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Muhammad Aatif saeed
Muhammad Aatif saeed - 31.01.2022 20:30

thank you sir

Ответить
Diño Gaming
Diño Gaming - 07.08.2020 06:37

to avoid the error on the line
$ productsAll = Product :: where (['category_id' => $ categoryDetails-> id]) -> get ();
they have to send the correct url of the category, look at their DB
for example /products/value_of_url_in the categories table

Ответить
Aditi Gupta
Aditi Gupta - 11.07.2020 16:54

Sir, I am getting "trying to get property 'id' of non-object" for variable categoryDetails while creating the url part.What should I do?? And my code is same as yours.

Ответить
Delvin Duel
Delvin Duel - 29.06.2020 12:32

well done..

Ответить
Neshad Kaumitha
Neshad Kaumitha - 06.04.2020 10:06

Hi sir, Thank you for your tutorial, i have question when i type this code $productsAll=Product::where(['category_id'=>$categoryDetails->id])->get();
not show any result what is the question with this.
I try to get result in different way
$productsAll=Product::where(['category_id'=>$categoryDetails->parent_id])->get();
it's work but show all the t-shirt please help me to get correct answer

Ответить
Ali
Ali - 14.02.2020 19:00

Hi, just for me to understand clear, how does variable name $productsAll in productcontroller.php connect to $productAll in indexcontroller.php under two different page (two differen file) ? .... productcontroller.php does not show any indexcontroller.php file so how they connect to each other! please help thanks.

Ответить
Muntaser Muttaqi
Muntaser Muttaqi - 28.10.2019 00:36

If i have some products in Main Category, what i gonna do?

Ответить
Bishal Shrestha
Bishal Shrestha - 10.09.2019 17:40

You are great teacher <3 and learn much more thing. Thank you so much. :)

Ответить
Techs Genius
Techs Genius - 14.04.2019 00:06

(Y) good tutorial

Ответить
Pesca Man
Pesca Man - 18.01.2019 20:01

how can we add a message for displaying that a category does not have products to be shown?

Ответить
Rahul Shimpi
Rahul Shimpi - 26.12.2018 19:28

Hello sir, video tutorial is very good but please make video for review and rating product by customer.

Ответить
alpesh navadiya
alpesh navadiya - 12.12.2018 19:09

Nice video but what about pagination and searching??

Ответить
Tshepo Mohlatlole
Tshepo Mohlatlole - 10.09.2018 02:27

So far this tutorial is great and simple to follow, thank you and keep up the good work

Ответить
Mausmi R
Mausmi R - 20.08.2018 15:35

Is there any source code link?

Ответить