18 - E-Commerce Project with Laravel 10, Livewire 3, Filament 3 & Tailwind CSS

  Рет қаралды 3,139

DCodeMania

DCodeMania

Күн бұрын

Пікірлер: 15
@arshalanrawshan4035
@arshalanrawshan4035 8 ай бұрын
excellent tutorial. waiting for next
@inspireofbd
@inspireofbd 7 ай бұрын
I waiting your next video? please uploade your next video. thank you.💐
@DCodeMania
@DCodeMania 7 ай бұрын
Next video uploaded
@beticohernandez9536
@beticohernandez9536 8 ай бұрын
Hello. I don't understand your language but I'm going with the project. Please finish it.
@rajendraparmar1501
@rajendraparmar1501 8 ай бұрын
Sirji, Great work!!! Hats off to you, my humble request to you please cover the product variations like(Color, Size), etc if it's possible. waiting for next.
@inspireofbd
@inspireofbd 8 ай бұрын
Nice tutorial 💐💐💐
@leocincint2149
@leocincint2149 5 ай бұрын
bug on qty - fix: $cart_items[$existing_item]['quantity'] = $qty + $item['quantity']; and 'total_amount' => $product->price * $qty,
@wraulcontreras
@wraulcontreras 21 күн бұрын
If I had that mistake, thank you very much, it served me, here it works completely: // add item to cart with quantity static public function addItemToCartWithQuantity($product_id, $qty = 1) { $cart_items = self::getCartItemsFromCookie(); $existing_item = null; foreach ($cart_items as $key => $item) { if ($item['product_id'] == $product_id) { $existing_item = $key; break; } } if ($existing_item !== null) { $cart_items[$existing_item]['quantity'] = $qty + $item['quantity']; $cart_items[$existing_item]['total_amount'] = $cart_items[$existing_item]['quantity'] * $cart_items[$existing_item]['unit_amount']; } else { $product = Product::where('id', $product_id)->first(['id', 'name', 'price', 'images']); if ($product) { $cart_items[] = [ 'product_id' => $product_id, 'name' => $product->name, 'image' => $product->images[0], 'quantity' => $qty , 'unit_amount' => $product->price, 'total_amount' => $product->price * $qty ]; } } self::addCartItemsToCookie($cart_items); return count($cart_items); }
@jungleimpact
@jungleimpact 14 күн бұрын
$cart_items[$existing_item]['quantity'] += $qty;
@jesikagurung4465
@jesikagurung4465 8 ай бұрын
Hello, how are you? Been more than 7 days since you last posted. Hope you are well.
@DCodeMania
@DCodeMania 7 ай бұрын
Actually I'm sick, that's why I'm not able to record video. But I'll try to upload soon.
@jesikagurung4465
@jesikagurung4465 7 ай бұрын
@@DCodeMania ohh ok. Hoping for a speedy recovery 🤗
@kingpese
@kingpese 4 ай бұрын
Hello, i love your tutorial from day one, but i think there's an issue when you add product to cart from the product-detail-page, instead of the total amount to be increased when you add more than one quantity, it remains the same. Kindly check it out. Thanks
@amrittimsina3762
@amrittimsina3762 8 ай бұрын
Having problem installing filament in laravel 11
@DCodeMania
@DCodeMania 8 ай бұрын
I still not tried Filamentphp 3 with Laravel 11. What exact issue you are facing while installing???
How to (Still) Use Bootstrap in Laravel 10?
3:59
Laravel Daily
Рет қаралды 35 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 26 МЛН
Amazing remote control#devil  #lilith #funny #shorts
00:30
Devil Lilith
Рет қаралды 15 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 6 МЛН
Laravel Best E-Commerce Packages: Comparison Review
7:51
Laravel Daily
Рет қаралды 12 М.
Build any layout with tailwind | crash course
34:28
Hitesh Choudhary
Рет қаралды 94 М.
Next.js 15 Changed EVERYTHING... But I Still Hate It
27:11
Piyush Garg
Рет қаралды 11 М.
This UI Library is a GAME CHANGER! (Not Lying)
20:48
Harkirat Singh
Рет қаралды 271 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 26 МЛН