fix: Show Offers section only if offers exist

This commit is contained in:
marination
2021-05-10 17:28:22 +05:30
parent acb6ce8f95
commit 163a62476e

View File

@@ -45,6 +45,7 @@
{% endif %} {% endif %}
<!-- Offers --> <!-- Offers -->
{% if doc.offers %}
<br> <br>
<h3>Offers</h3> <h3>Offers</h3>
<div class="offer-container"> <div class="offer-container">
@@ -70,6 +71,7 @@
</div> </div>
{% endfor %} {% endfor %}
</div> </div>
{% endif %}
<!-- Add to Cart / View in Cart, Contact Us --> <!-- Add to Cart / View in Cart, Contact Us -->
<div class="mt-5 mb-5"> <div class="mt-5 mb-5">