{% extends "dashboard/base.html" %} {% load i18n %} {% block title %}{% trans "Delete variant" %} - {{ block.super }}{% endblock %} {% block body_class %}body-store body-products{% endblock %} {% block header_menu %} {% url "dashboard:product-update" pk=product.pk as url %} {% include "dashboard/includes/_back-link.html" with url=url hash="#variants" %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block menu_catalogue_class %} active{% endblock %} {% block content %}
{% csrf_token %}
{% if is_only_variant %}

{% trans 'This is the only variant. Deleting it will make the product unavailable for your customers.' %}

{% endif %}
{{ variant }}{% if variant.name %} {{ variant.name }}{% endif %}
{% endblock %}