title: if and else condition not working in laravel for the array of data
body: <p>else condition, sorry no items in your cart not printing when the cart is empty</p>
  
  <pre><code>@if($datas)
     @foreach($datas as $data)
     &lt;h5&gt;This is product&lt;/h5&gt;
      @endforeach
  @else
          &lt;h5&gt;Sorry no items in your cart&lt;/h5&gt;    // Not printing when cart is empty  
  @endif
  </code></pre>