{% extends 'base.html' %} {% block content %} Products View Cart {% for product in products %} {% if product.image %} {% else %} 📷 {% endif %} {{ product.name }} {{ product.description }} ${{ product.price }} {% if product.stock > 0 %} In Stock: {{ product.stock }} {% else %} Out of Stock {% endif %} {% csrf_token %} {% if product.stock > 0 %} Add to Cart {% else %} Out of Stock {% endif %} {% empty %} No products available. {% endfor %} {% endblock %}
{{ product.description }}
No products available.