@if(!empty($mockup['sale_text']))
{{ $mockup['sale_text'] }}
@endif
@if(!empty($mockup['banner_btn']))
{{ $mockup['banner_btn'] }}
@endif
@php $categories = $mockup['categories'] ?? ['All', 'Electronics', 'Fashion', 'Home']; @endphp
@if(count($categories))
@foreach($categories as $i => $cat)
{{ $cat }}
@endforeach
@endif
@php $products = $mockup['products'] ?? []; @endphp
@if(count($products))
@foreach($products as $product)
@if(!empty($product['badge']))
{{ $product['badge'] }}
@endif
@if(!empty($product['price']))
{{ $product['price'] }}
@endif
@if(!empty($product['rating']))
{{ $product['rating'] }}
@endif
@endforeach
@endif
@if(!empty($mockup['checkout_text']) || !empty($mockup['checkout_btn']))
@if(!empty($mockup['checkout_text']))
{!! $mockup['checkout_text'] !!}
@endif
@if(!empty($mockup['checkout_btn']))
{{ $mockup['checkout_btn'] }}
@endif
@endif