#BLOCK("CachedInclude", #Object, "SF-Product.Content-AutoCrossSelling" . #CacheIncludesPrices, NOT #Shop.ShowCustomerSpecificPrices) #LOCAL("VisAutoCrossSelling", #VisibleAutoCrossSelling) #IF(#Shop.FeatureMaxValue.AutoCrossSelling AND #Shop.AutoCrossSellingIsVisible AND #COUNT(#VisAutoCrossSelling))

{CustomersWhoBoughtThisProductAlsoBoughtThese}

#LOCAL("HasPrice", 0) #LOOP(#VisAutoCrossSelling) #LOCAL("DisplayPrice", "") #IF(#DefaultSubProduct AND NOT #SuperProduct) #SET("DisplayPrice", #DISPLAYPRICE(#DefaultSubProduct.Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #ELSE #SET("DisplayPrice", #DISPLAYPRICE(#Object, #INPUT.Currency, #Shop.TaxModel, #Session.User.Object)) #ENDIF #IF((NOT (#ItemNo % 3))AND(#ItemNo NNE 0))#ENDIF #IF(NOT (#ItemNo % 3))#ENDIF #ENDLOCAL #ENDLOOP
#IF (#ImageSmall)
#IF(NOT #SuperProduct AND #DefaultSubProduct) #ELSE #ENDIF #NameOrAlias
#ENDIF
#IF(NOT #SuperProduct AND #DefaultSubProduct) #NameOrAlias #ELSE #NameOrAlias #ENDIF
#SNIPPET("INC-DisplayPrice", "OrderUnitDisplayOption,EnableAsterisk", "Short", "1") #IF(#DisplayPrice)#SET("HasPrice", 1)#ENDIF #LOCAL("ReferencePrice",#FUNCTION("REFERENCEPRICE", #Object, #DisplayPrice, #INPUT.Currency))#IF(#ReferencePrice != #DisplayPrice) (#RefAmount #IF(#DEFINED(#RefUnit.Abbreviation))#RefUnit.Abbreviation#ELSE#RefUnit.NameOrAlias#ENDIF = #ReferencePrice[money])#ENDIF #ENDLOCAL
#IF(#IsAvailable) #IF(NOT #DefaultSubProduct OR #SuperProduct)
#LOCAL("LinkOption","NoOption")#INCLUDE("INC-BasketLink")#ENDLOCAL
#ELSIF(#DefaultSubProduct) #ENDIF #ENDIF
#IF(#DisplayDeliveryWeight AND #Weight)
{Weight}: #Weight[float] #WeightUnit.Abbreviation
#ENDIF
#IF(#HasPrice) #IF(#FUNCTION("DISPLAYPRICETAGINFOGROSS", #Object, #Shop.TaxModel, #Session.User.Object)) #IF(#Shop.PriceTagInfoMultiProductGross)
* #Shop.PriceTagInfoMultiProductGross[0]
#ENDIF #ELSIF(#Shop.PriceTagInfoMultiProductNet)
* #Shop.PriceTagInfoMultiProductNet[0]
#ENDIF #ENDIF #ENDLOCAL
#ENDIF #ENDLOCAL #ENDBLOCK