Laravel “Add to Cart“: With/Without Livewire [LIVE-CODING]

A demo step-by-step project of adding a product to cart, first with full page refresh, and then introducing Livewire to avoid that refresh. 00:00 Intro, Starting Point and Plan 01:26 Why ShoppingCart Package? 02:22 Build Add To Cart Form 04:24 Fill Cart with Package 07:51 Calculate Cart on Top 09:06 Check if Product is in Cart 11:07 Livewire: Install 12:18 Livewire: Cart Counter Component 14:58 Livewire: Table Component 16:39 Add To Cart: Livewire Version 21:28 Cart Counter: Livewire Events Repository: Laravel Shopping Cart package: Why not store money values in floats? - - - - - Support the channel by checking out our products: - Try our Laravel QuickAdminPanel: - Enroll in my Laravel courses: - Purchase my Livewire Kit: https://livewirekit.c
Back to Top