Waren about products with hidden_if_available

This commit is contained in:
Raphael Michel
2019-12-01 12:34:47 +01:00
parent 11d0c37415
commit 098b7363e6

View File

@@ -24,6 +24,15 @@
{% endblocktrans %}
</div>
{% endif %}
{% if object.hidden_if_available and object.hidden_if_available.availability.0 == 100 %}
<div class="alert alert-warning">
{% blocktrans trimmed %}
This product is currently not being shown since you configured below that it should only be visible
if a certain other quota is already sold out.
{% endblocktrans %}
</div>
{% endif %}
{% block inside %}
{% endblock %}
{% endblock %}