title: Show a ribbon in Laravel 8
body: <p>I am using Laravel 8 for my shop containing products. I also have flash sales and free files. Now I want to use a ribbon, but the ribbon also shows on the free file?</p>
  <p>**index.blade.php **</p>
  <pre><code>&lt;div&gt;
      @if($featured-&gt;item_flash === 1)
          &lt;div class=&quot;ribbon4 rib4-primary&quot;&gt;
          &lt;span class=&quot;ribbon4-band ribbon4-band-primary text-white text-center&quot;&gt;
              50% Sell
          &lt;/span&gt;
          &lt;/div&gt;
      @endif
  &lt;/div&gt;
  </code></pre>