@if(!empty($pageDataParts)) @foreach ($pageDataParts as $pd) @if($pd['name'] == 'newline')
 
@else
...

{{ $pd['name'] }}

@if(isset($pd['price']))

${{ number_format($pd['price'],2) }}

@endif
@endif @endforeach @endif