{% block widget_product_listitem_grid %} {% set oProduct = oView.getProduct() %} {% set blDisableToCart = oView.getDisableToCart() %} {% set blShowMainLink = oView.getShowMainLink()|raw %} {% set oParentArticle = oProduct.getParentArticle() %} {% set sArticleId = oProduct.oxarticles__oxid.value %} {% set blCanBuyNotLoggedIn = oViewConf.getViewThemeParam("blCanBuyNotLoggedIn") %} {% set blShowArticleNumber = oViewConf.getViewThemeParam("blShowArticleNumber") %} {% set blDisplayShortDesc = oViewConf.getViewThemeParam("blDisplayShortDesc") %} {% set blDisplayWeight = oViewConf.getViewThemeParam("blDisplayWeight") %} {% set blDisplayPrice = oViewConf.getViewThemeParam("blDisplayPrice") %} {% set blDisplayBuyBox = oViewConf.getViewThemeParam("blDisplayBuyBox") %} {% set blPerfLoadPrice = oViewConf.isFunctionalityEnabled("bl_perfLoadPrice") %} {% set iColIdent = oView.getViewParameter('iColIdent') %} {% set sListId = oView.getViewParameter('sListId') %} {% set iIndex = oView.getViewParameter('iIndex') %} {% set oCurrency = oView.getActCurrency() %} {% if blShowMainLink %} {% set sProductLink = oProduct.getMainLink()|raw %} {% else %} {% set sProductLink = oProduct.getLink()|raw %} {% endif %} {% set aVariantSelections = oProduct.getVariantSelections("null", "null", 1) %} {% if blDisableToCart or oProduct.isNotBuyable() or (aVariantSelections and aVariantSelections.selections) or oProduct.hasMdVariants() or (oViewConf.showSelectListsInList() and oProduct.getSelections(1)) or oProduct.getVariants() %} {% set blDisplayBuyBox = false %} {% endif %} {% if iColIdent %} {# tpl call from list.tpl #}