feat: implement FeaturedVariant and CatalogController for managing featured variants and catalog display

This commit is contained in:
2026-07-14 14:55:48 -03:00
parent 299a462283
commit c2efec8906
17 changed files with 200 additions and 61 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Domains\Product\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdateFeaturedVariantRequest extends FormRequest
{
public function authorize(): bool
{
return true;
}
public function rules(): array
{
return [
'order' => ['sometimes', 'integer'],
];
}
}