Se Cart Shopify vazio

{% if cart.item_count == 0 %}
<script>window.location.replace("/collections/all");</script>
{% endif %}
Joynal Abedin