{% set oBargainArticleList = oView.getBargainArticleList() %}
{% set iBargainArticlesCount = oBargainArticleList.count() %}
{% if iBargainArticlesCount > 4 %}
{% set iBargainArticlesCount = 4 %}
{% endif %}
{% set iColIdent = 12 / iBargainArticlesCount %}
{% for _product in oView.getBargainArticleList() %}
{% set sBargainArtTitle = _product.oxarticles__oxtitle.value ~ " " ~ _product.oxarticles__oxvarselect.value %}
{% 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 %}
{% endfor %}