#LOCAL("CurrentShop",#Shop) #LOCAL("WidgetPreviewMode",1)
#LOOP(#System.WidgetGroups)
#IF(#COUNT(#GroupWidgets(#INPUT.ObjectID, #ID)))
    #LOOP(#GroupWidgets(#INPUT.ObjectID, #ID)) #INCLUDE("WidgetBase") #ENDLOOP #ENDIF
#ENDLOOP
#ENDLOCAL#ENDLOCAL