42: Product Page
In this lesson, you will work through Product Page as part of How to build a CMS with Filament 3 and Laravel 11 (package-development focused).
Caption excerpt: In this video, I'm going to show you exactly how I go to work with the ability to order images and also having ability to have multiple images inside the product table. So what I've gone ahead and done is essentially inside public function images. We have this belongs to many relationships to the media class using the product images table, product ID for the foreign pivot key. And related pivot key is going to be media with pivot position. So in create products table, I've added a position here, which is basically...