{% block widget_product_listitem_grid %} {% set product = oView.getProduct() %} {% set blDisableToCart = oView.getDisableToCart() %} {% set iIndex = oView.getIndex() %} {% set showMainLink = oView.getShowMainLink() %} {% set currency = oView.getActCurrency() %} {% set oUnitPrice = product.getUnitPrice() %} {% set tprice = product.getTPrice() %} {% set price = product.getPrice() %} {% 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.hasMdVariants() or (oViewConf.showSelectListsInList() and product.getSelections(1)) or product.getVariants() %} {% set blShowToBasket = false %} {% endif %} {% if testid == null %} {% set testid = oView.getViewParameter('testid') %} {% endif %}
{{ format_price(oUnitPrice, { currency: currency }) }}/{{ product.getUnitName() }}
{% endif %} {% endblock %}