{{ script({ include: "js/listremovebutton.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }} {% block widget_product_listitem_line %} {% set product = oView.getProduct() %} {% set blDisableToCart = oView.getDisableToCart() %} {% set iIndex = oView.getIndex() %} {% set showMainLink = oView.getShowMainLink() %} {% set owishid = oView.getWishId() %} {% set removeFunction = oView.getRemoveFunction() %} {% set recommid = oView.getRecommId() %} {% set toBasketFunction = oView.getToBasketFunction() %} {% set altproduct = oView.getAltProduct() %} {% set testid = oView.getIndex() %} {% set currency = oView.getActCurrency() %} {% if showMainLink %} {% set _productLink = product.getMainLink() %} {% else %} {% set _productLink = product.getLink() %} {% endif %} {% set aVariantSelections = product.getVariantSelections("null", "null", 1) %} {% set blShowToBasket = true %} {# tobasket or more info ? #} {% if blDisableToCart or product.isNotBuyable() or (aVariantSelections and aVariantSelections.selections) or product.getVariants() or (oViewConf.showSelectListsInList() and product.getSelections(1)) %} {% set blShowToBasket = false %} {% endif %} {{ oViewConf.getNavFormParams()|raw }} {{ oViewConf.getHiddenSid()|raw }} {% if recommid %} {% endif %} {% if blShowToBasket %} {% hasrights { ident: "TOBASKET" } %} {% if owishid %} {% endif %} {% if toBasketFunction %} {% else %} {% endif %} {% if altproduct %} {% else %} {% endif %} {% endhasrights %} {% else %} {% endif %}