#REM
Parameters:
#SNIPPET.PagerSetting... name of the pagersetting e.g. "SF_ProductsFourColumns"
#SNIPPET.ItemLayoutTemplate... layout template name of the productlistitems
#SNIPPET.ShowOnStartPage... layout could be used on startpage
Example:
#SNIPPET("SNIPPET-FacetsSearchResults", "PagerSetting,ItemLayout,ShowOnStartPage", "SF_ProductsFourColumns", "INC-ListProductFourColumns", 1)
#ENDREM
#REM#ENDREM
#INCLUDE("INC-AddToBasketWarnings")
#LOCAL("OnStartPage", #DEFINED(#SNIPPET.ShowOnStartPage) AND #SNIPPET.ShowOnStartPage AND #Class.Alias EQ "StartPage")
#IF(#OnStartPage)
#LOCAL("ProductsLoop", #VisibleProducts)
#IF(#COUNT(#ProductsLoop))
#LOOP(#ProductsLoop)
#INCLUDE(#SNIPPET.ItemLayoutTemplate)
#ENDLOOP
#LOCAL("DisplayGross", #DISPLAYPRICETAGINFOGROSS(#Object, #Shop.TaxModel, #Session.User.Object))
#IF((#DisplayGross AND #Shop.PriceTagInfoMultiProductGross) OR (NOT #DisplayGross AND #Shop.PriceTagInfoMultiProductNet))
*
#IF(#DisplayGross)
#IF(#Shop.PriceTagInfoMultiProductGross)
#Shop.PriceTagInfoMultiProductGross[0]
#ENDIF
#ELSE
#IF(#Shop.PriceTagInfoMultiProductNet)
#Shop.PriceTagInfoMultiProductNet[0]
#ENDIF
#ENDIF
#ENDIF
#ENDLOCAL
#ENDIF
#ENDLOCAL
#ELSE
#LOCAL("PagerSetting", #PAGER_SETTING(#Shop.Object, #SNIPPET.PagerSetting))
#IF(#Pager.CountOfItems > 0)
#INCLUDE("INC-ChangeListOrder")
#IF(#Pager.CountOfPages > 1)
#INCLUDE("Pager")
#ENDIF
#LOOP(#Pager.Items)
#INCLUDE(#SNIPPET.ItemLayoutTemplate)
#ENDLOOP
#LOCAL("DisplayGross", #DISPLAYPRICETAGINFOGROSS(#Object, #Shop.TaxModel, #Session.User.Object))
#IF((#DisplayGross AND #Shop.PriceTagInfoMultiProductGross) OR (NOT #DisplayGross AND #Shop.PriceTagInfoMultiProductNet))
*
#IF(#DisplayGross)
#IF(#Shop.PriceTagInfoMultiProductGross)
#Shop.PriceTagInfoMultiProductGross[0]
#ENDIF
#ELSE
#IF(#Shop.PriceTagInfoMultiProductNet)
#Shop.PriceTagInfoMultiProductNet[0]
#ENDIF
#ENDIF
#ENDIF
#ENDLOCAL
#IF(#Pager.CountOfPages > 1)
#INCLUDE("Pager")
#ENDIF
#ENDIF
#ENDLOCAL
#ENDIF
#ENDLOCAL