MongoDB Products Manager

{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for category, message in messages %}
{{ message }}
{% endfor %}
{% endif %} {% endwith %}

Add Product

Products

{% if products %}
{% for product in products %} {% endfor %}
product_id name category price in_stock rating tags supplier_name supplier_country created_at actions
{{ product.product_id }} {{ product.name }} {{ product.category or '' }} {{ product.price if product.price != '' else '' }} {{ product.in_stock }} {{ product.rating if product.rating != '' else '' }} {{ product.tags_text }} {{ product.supplier_name or '' }} {{ product.supplier_country or '' }} {{ product.created_at }}
Edit
{% else %}
No products found yet.
{% endif %}