{% set blUseLivePrice = aQuickorderConfig.priceMode == 'live' and aQuickorderConfig.hasActivePriceMode %} {% set blIsPrototype = blPrototype|default(false) %} {# Precompute row values to avoid duplicate markup and to not access oArticle in prototype mode #} {% if blIsPrototype %} {% set sArtNum = '' %} {% set sArticleId = '' %} {% set fMinAmount = 1 %} {% set fMaxAmount = 0 %} {% set fAmountValue = 1 %} {% set sUnitName = '' %} {% set sTitle = '' %} {% else %} {% set sArtNum = oArticle.getArticleNumber() %} {% set sArticleId = oArticle.getId() %} {% set fMinAmount = oArticle.getMinAmount() > 0 ? oArticle.getMinAmount() : 1 %} {% set fMaxAmount = oArticle.getMaxAmount() %} {% set fAmountValue = fAmount|default(1) %} {% set sUnitName = oArticle.getUnitName()|default('') %} {% set sTitle = oArticle.getTitle() %} {% endif %} {% block c4s_quickorder_row %}
{% endblock %}