{{-- Product metafields: editable (auto-filled still editable; choice fields show allowed options) --}} @php $mfFilled = $metafieldPlan['filled'] ?? []; $mfNeeds = $metafieldPlan['needs_you'] ?? []; $mfManual = is_array($form['guide_metafield_manual'] ?? null) ? $form['guide_metafield_manual'] : []; $mfAll = array_merge($mfFilled, $mfNeeds); @endphp @if(count($mfAll))
Product metafields Only fields the guide product already has filled. Auto values are editable — changes save automatically (and again on Create/Update Shopify).

Notes still look wrong? Fix them on Details, then use Re-read notes — we’ll map Diamond, Weight, Length, clarity, and more without wiping your guide.

@if(count($mfFilled))
@foreach($mfFilled as $row) @include('product_ai_import.partials.guide_metafield_input', [ 'row' => $row, 'mfManual' => $mfManual, 'mode' => 'filled', ]) @endforeach
@endif @if(count($mfNeeds))

The guide has these filled, but I couldn’t set them from your notes. Fill or leave blank to skip. Saves automatically as you type — or try Re-read notes above.

@foreach($mfNeeds as $row) @include('product_ai_import.partials.guide_metafield_input', [ 'row' => $row, 'mfManual' => $mfManual, 'mode' => 'needs', ]) @endforeach
@endif
@elseif(trim((string) ($import->product_details ?? '')) !== '' && filled($guideProductId ?? null))
Product metafields Guide is set, but nothing mapped yet from notes.
@endif