#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF #IF(#FormError)

{InputError}

{PleaseCorrectErrors} #LOOP(#FormErrors.Form.AddProduct.Errors) #IF(#Reason EQ "DOWNLOAD_PRODUCTS_NOT_ASSIGNED")
{CanNotAssignDownloadProducts}:#JOIN(", ",#FROMPLAINLOOP(#ProductAliases))#Element#ENDJOIN#ENDIF #ENDLOOP
#ENDIF #INCLUDE("INC-PagerHeader") #IF(NOT #Pager.Items) #ELSE #IF(#DEFINED(#INPUT.OrderBy) AND #INPUT.OrderBy NE "Alias") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #ENDIF #IF(#Pager.Items) #LOOP(#Pager.Items) #ENDLOOP #ENDIF
{SKU}{SKU}{SKU}{Name}
#INCLUDE("Pager")
#INCLUDE("INC-ProductIcon") #Alias #Name
{AddProductsFromTray}