Relative Content

Tag Archive for laravellaravel-blade

Laravel 11 Blade component for select with array

I’m pretty new to Laravel and I’ve created a blade component for displaying selection components but I’m getting the following error when the page is rendered.. The attributes merge is causing the problem as I’ve hard coded it and it displays the select component with all options. It sounds like it’s trying to render the array in the select line to me?? Any help would be greatly appreciated..

Final total not calculating display as 0 using Laravel 11

i am a beginner level of laravel programming my problem is when i add item into the cart all the item added successfully but final total calculation is become 0.what i tried so far i attached the code below.
i have attached below the controller and view can you check and solve my problem i attached the photo also.
enter image description here