@php $headerText = !empty(@$userBs->header_text) ? @$userBs->header_text : (!empty(@$userHeader->header_text) ? @$userHeader->header_text : ''); @endphp @if (!empty($headerText)) @php $notices = explode('|', $headerText); @endphp @foreach ($notices as $not)
{{ trim($not) }}
@endforeach @foreach ($notices as $not)
{{ trim($not) }}
@endforeach @else
🌾 {{ __('Vegetables 20% OFF Today') }}
🍎 {{ __('Buy 2 Get 1 Free on Fruits') }}
🥛 {{ __('Dairy Products Starting at $1.99') }}
🍞 {{ __('Fresh Bakery Items Daily') }}
🎉 {{ __('Weekend Special: Extra 15% OFF on All Items') }}
🌾 {{ __('Vegetables 20% OFF Today') }}
🍎 {{ __('Buy 2 Get 1 Free on Fruits') }}
🥛 {{ __('Dairy Products Starting at $1.99') }}
🍞 {{ __('Fresh Bakery Items Daily') }}
🎉 {{ __('Weekend Special: Extra 15% OFF on All Items') }}
@endif