I waiting your next video? please uploade your next video. thank you.💐
@DCodeMania7 ай бұрын
Next video uploaded
@beticohernandez95368 ай бұрын
Hello. I don't understand your language but I'm going with the project. Please finish it.
@rajendraparmar15018 ай бұрын
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.
@inspireofbd8 ай бұрын
Nice tutorial 💐💐💐
@leocincint21495 ай бұрын
bug on qty - fix: $cart_items[$existing_item]['quantity'] = $qty + $item['quantity']; and 'total_amount' => $product->price * $qty,
@wraulcontreras21 күн бұрын
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); }
@jungleimpact14 күн бұрын
$cart_items[$existing_item]['quantity'] += $qty;
@jesikagurung44658 ай бұрын
Hello, how are you? Been more than 7 days since you last posted. Hope you are well.
@DCodeMania7 ай бұрын
Actually I'm sick, that's why I'm not able to record video. But I'll try to upload soon.
@jesikagurung44657 ай бұрын
@@DCodeMania ohh ok. Hoping for a speedy recovery 🤗
@kingpese4 ай бұрын
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
@amrittimsina37628 ай бұрын
Having problem installing filament in laravel 11
@DCodeMania8 ай бұрын
I still not tried Filamentphp 3 with Laravel 11. What exact issue you are facing while installing???