@php $isEdit = ($formMode ?? 'create') === 'edit'; $product = $product ?? null; $productAttributes = $productAttributes ?? []; $brands = $brands ?? collect(); $storeId = $storeId ?? null; $redirectUrl = $redirectUrl ?? null; $idPrefix = $formIdPrefix ?? 'product_form'; @endphp
@if ($isEdit) @endif