{% load i18n l10n pcart_catalog pcart_core %} {% if product.available %} {% trans "Add to cart" %} {% else %} {{product.status}} {% endif %}