{% block widget_product_listitem_infogrid %} {% set product = oView.getProduct() %} {% set blDisableToCart = oView.getDisableToCart() %} {% set iIndex = oView.getIndex() %} {% set showMainLink = oView.getShowMainLink()|raw %} {% set oCurrency = oView.getActCurrency() %} {% if showMainLink %} {% set sProductLink = product.getMainLink()|raw %} {% else %} {% set sProductLink = product.getLink()|raw %} {% 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.hasMdVariants() or (oViewConf.showSelectListsInList() and product.getSelections(1)) or product.getVariants() %} {% set blShowToBasket = false %} {% endif %}