{% if editable %} {% set basketNoticeListButtonFunction = oViewConf.getViewThemeParam('sBasketNoticeListButtonFunction') %}

{{ translate({ ident: "CART" }) }}

{% endif %} {# basket items #} {% set basketitemlist = oView.getBasketArticles() %} {% for basketindex, basketitem in oxcmp_basket.getContents() %} {% block checkout_basketcontents_basketitem_main %}
{% block checkout_basketcontents_basketitem %} {% set basketproduct = basketitemlist[basketindex] %} {% set oArticle = basketitem.getArticle() %} {% set oAttributes = oArticle.getAttributesDisplayableInBasket() %}
{% block checkout_basketcontents_basketitem_image %} {% set oBasketitemArticle = basketitem.getArticle() %} {% if editable %}{% endif %} {{ basketitem.getTitle()|striptags }} {{ product.oxarticles__oxvarselect.value }} {% if editable %}{% endif %} {% endblock %}
{% block checkout_basketcontents_basketitem_titlenumber %} {# Product Title #} {% block checkout_basketcontents_basketitem_title %}
{% if not editable %} {{ basketitem.getAmount() }} x {% endif %} {{ basketitem.getTitle() }} {% if basketitem.isSkipDiscount() %} ** {% endif %}
{% if editable %}
{% endif %}
{% endblock %}
{# Attributes #} {% block checkout_basketcontents_basketitem_attributes %} {% if oAttributes|length %}
    {% for oAttr in oAttributes %}
  • {{ oAttr.oxattribute__oxtitle.value }}{{ translate({ ident: "COLON" }) }} {{ oAttr.oxattribute__oxvalue.value }}
  • {% endfor %}
{% endif %} {% endblock %}
{% block checkout_basketcontents_basketitem_artnum %}
  • {{ translate({ ident: "PRODUCT_NO" }) }} {{ basketproduct.oxarticles__oxartnum.value }}
{% endblock %} {% block checkout_basketcontents_basketitem_unitprice %} {# product price #} {% if basketitem.getUnitPrice() %}
  • {{ translate({ ident: "UNIT_PRICE" }) }}: {% if oArticle.getTPrice() %} {{ format_price(oArticle.getTPrice(), { currency: currency }) }} {% endif %} {% if not basketitem.isBundle() and not oArticle.getTPrice() %} {% set dRegUnitPrice = basketitem.getRegularUnitPrice() %} {% set dUnitPrice = basketitem.getUnitPrice() %} {% if dRegUnitPrice.getPrice() > dUnitPrice.getPrice() %} {{ format_price(basketitem.getRegularUnitPrice(), { currency: currency }) }} {% endif %} {% endif %} {{ format_price(basketitem.getUnitPrice(), { currency: currency }) }} {% block checkout_basketcontents_basketitem_vat %} {{ basketitem.getVatPercent() }} % {{ translate({ ident: "VAT" }) }} {% endblock %}
{% endif %} {% endblock %} {# Weight #} {% if oArticle.oxarticles__oxweight.value %}
  • {{ translate({ ident: "WEIGHT", suffix: "COLON" }) }} {% block checkout_basketcontents_basketitem_weight %} {{ oArticle.oxarticles__oxweight.value }} {{ translate({ ident: "KG" }) }} {% endblock %} {% hasrights { ident: "SHOWARTICLEPRICE" } %} {% set oUnitPrice = oArticle.getUnitPrice() %} {% block checkout_basketcontents_basketitem_priceunit %} {% if oUnitPrice %} ({{ format_price(oUnitPrice, { currency: currency }) }}/{{ oArticle.getUnitName() }}) {% endif %} {% endblock %} {% endhasrights %}
{% endif %} {% block checkout_basketcontents_basketitem_selectlists %} {% if not basketitem.isBundle() or not basketitem.isDiscountArticle() %} {% set oSelections = basketproduct.getSelections("null", basketitem.getSelList()) %} {% if oSelections %}
{% for oList in oSelections %} {% if oViewConf.showSelectListsInList() %} {% include "widget/product/selectbox.html.twig" with {oSelectionList: oList, sFieldName: "aproducts[" ~ basketindex ~ "][sel]", iKey: loop.index0, blHideDefault: true, sSelType: "seldrop"} %} {% else %} {% set oActiveSelection = oList.getActiveSelection() %} {% if oActiveSelection %}
{{ oList.getLabel() }}: {{ oActiveSelection.getName() }}
{% endif %} {% endif %} {% endfor %}
{% endif %} {% endif %} {% endblock %} {% block checkout_basketcontents_basketitem_persparams %} {% if not editable and basketitem.getPersParams() %}

{% for sVar, aParam in basketitem.getPersParams() %} {% if not loop.first %}
{% endif %} {% if loop.first and loop.last %} {{ translate({ ident: "LABEL" }) }} {% else %} {{ sVar }} : {% endif %} {{ aParam }} {% endfor %}

{% else %} {% if basketproduct.oxarticles__oxisconfigurable.value %} {% if basketitem.getPersParams() %}
{% for sVar, aParam in basketitem.getPersParams() %}

{% endfor %} {% else %}

{% endif %} {% endif %} {% endif %} {% endblock %}
{% block checkout_basketcontents_basketitem_quantity %}
{% if editable %} {% if basketitem.isBundle() %} {% endif %} {% if not basketitem.isBundle() or not basketitem.isDiscountArticle() %}
{% endif %} {% else %} {{ basketitem.getAmount() }} {% endif %} {% if basketitem.getdBundledAmount() > 0 and (basketitem.isBundle() or basketitem.isDiscountArticle()) %} +{{ basketitem.getdBundledAmount() }} {% endif %}
{% endblock %} {% block checkout_basketcontents_basketitem_removecheckbox %} {% if editable %}
{% if basketNoticeListButtonFunction != 'hide' %} {% endif %}
{% endif %} {% endblock %}
{% block checkout_basketcontents_basketitem_totalprice %} {# product quantity * price #}
{{ format_price(basketitem.getPrice(), { currency: currency }) }}
{% endblock %}
{% endblock %}
{% block checkout_basketcontents_basketitem_wrapping %} {# product wrapping #} {% if oView.isWrapping() %}
{% if not basketitem.getWrappingId() %} {% if editable %} {{ translate({ ident: "WRAPPING" }) }} {{ translate({ ident: "ADD" }) }} {% else %} {{ translate({ ident: "WRAPPING" }) }} : {{ translate({ ident: "NONE" }) }} {% endif %} {% else %} {% set oWrap = basketitem.getWrapping() %} {% if editable %} {{ translate({ ident: "WRAPPING" }) }}: {% if oWrap.oxwrapping__oxname %} {{ oWrap.oxwrapping__oxname.value }} {% else %} {{ translate({ ident: "NONE" }) }} {% endif %} {% else %} {{ translate({ ident: "WRAPPING" }) }} : {{ oWrap.oxwrapping__oxname.value }} {% endif %} {% endif %}
{% endif %} {% endblock %}
{% endblock %} {# packing unit #} {% block checkout_basketcontents_itemerror %} {% for key, oEr in Errors.basket %} {% if oEr.getErrorClassType() == 'oxOutOfStockException' %} {# display only the exceptions for the current article #} {% if basketindex == oEr.getValue('basketIndex') %} {% if editable %} {% endif %} {{ oEr.getOxMessage() }} {{ oEr.getValue('remainingAmount') }} {% if oView.isWrapping() %} {% endif %} {% endif %} {% endif %} {% if oEr.getErrorClassType() == 'oxArticleInputException' %} {% if basketitem.getProductId() == oEr.getValue('productId') %} {% if editable %} {% endif %} {{ oEr.getOxMessage() }} {% if oView.isWrapping() %} {% endif %} {% endif %} {% endif %} {% endfor %} {% endblock %} {# basket items end #}
{% endblock %} {% endfor %} {% block checkout_basketcontents_giftwrapping %} {% if oViewConf.getShowGiftWrapping() %} {% set oCard = oxcmp_basket.getCard() %} {% if oCard %}
{{ card.oxwrapping__oxname.value }}
{{ translate({ ident: "GREETING_CARD" }) }} "{{ oCard.oxwrapping__oxname.value }}"
{{ translate({ ident: "YOUR_MESSAGE" }) }}
{{ oxcmp_basket.getCardMessage()|nl2br }}
{% if editable %} {{ translate({ ident: "EDIT" }) }} {% endif %} {% if oxcmp_basket.isProportionalCalculationOn() %} {{ translate({ ident: "PROPORTIONALLY_CALCULATED" }) }} {% else %} {% if oxcmp_basket.getGiftCardCostVat() %}{{ oxcmp_basket.getGiftCardCostVatPercent() }}%{% endif %} {% endif %}
{{ format_price(oCard.getPrice(), { currency: currency }) }}
{% endif %} {% endif %} {% endblock %} {% block checkout_basketcontents_basketfunctions %}{% endblock %} {% if editable %}
{{ script({ include: "js/changeamount.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }} {% endif %}