How do I hide the color or size if their values are empty?
<p class="lx-sizes">
<span>SIZE :</span> @foreach ($produit->sizes as $size)
<a data-id="" href="javascript:;" class=""></a> @endforeach
</p>
<p class="lx-colors">
<span>COLOR :</span> @foreach ($produit->colors as $color)
<a data-id="" href="javascript:;" class=""></a> @endforeach
</p>
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire