@foreach ($list as $item) {{-- {{dd($item)}} --}}
iPhone 12 Pro Max 256GB Chính Hãng (VN/A)
{{languageName($item['name'])}}
{{$item['discount']>0 ? number_format($item['price']-($item['price']*($item['discount']/100))) : number_format($item['price'])}}₫ @if ($item['discount']>0) {{number_format($item['price'])}}₫ @endif
Còn hàng
@endforeach

Cấu hình sản phẩm

@foreach ($list as $item)
@php $size = json_decode($item['size']); @endphp @foreach ($size as $i) @endforeach
{{$i->title}} {{$i->detail}}
@endforeach