#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF#IF(#INPUT.OrderBy) #ENDIF#IF(#INPUT.OrderDesc) #ENDIF#IF(#INPUT.SearchString) #ENDIF#IF(#INPUT.Alias) #ENDIF #IF(#FormError) #LOCAL("SpecificError",0)
#IF(#FormErrors.Reason.ProductMatchingFailed) #SET("SpecificError",1)

{ProductMatchingFailed}

#LOOP(#FormErrors.Reason.ProductMatchingFailed.Errors) #IF(#Code EQ "InvalidParameterValue")

{WrongCredentials} (#Message). {CheckCredentials}

#ELSE

{ConnectionFailed} (#Message). {ContactSupport}

#ENDIF #ENDLOOP #ENDIF #IF(#FormErrors.Reason.ProductOfferExists OR #FormErrors.Reason.DownloadProductsNotSupported OR #FormErrors.Reason.ERROR_INVALIDPRODUCT) #SET("SpecificError",1)

{CannotAddProducts}

#IF(#FormErrors.Reason.ProductOfferExists) #LOOP(#FormErrors.Reason.ProductOfferExists.Errors)

{ProductOfferExists}: #Product.NameOrAlias

#ENDLOOP #ENDIF #IF(#FormErrors.Reason.DownloadProductsNotSupported) #LOOP(#FormErrors.Reason.DownloadProductsNotSupported.Errors)

{CanNotAssignDownloadProduct}:#Product.NameOrAlias

#ENDLOOP #ENDIF #IF(#FormErrors.Reason.ERROR_INVALIDPRODUCT)

{InvalidProduct}

#ENDIF #ENDIF #IF(#FormErrors.Reason.OFFER_PRODUCT_NO_UPCEAN OR #FormErrors.Reason.OFFER_PRODUCT_NO_ASIN OR #FormErrors.Reason.OFFER_PRODUCT_TOO_MANY_ASINS) #SET("SpecificError",1)

{CannotAssignProducts}

#IF(#FormErrors.Reason.OFFER_PRODUCT_NO_UPCEAN)

{NoUPCEAN}

#LOOP(#FormErrors.Reason.OFFER_PRODUCT_NO_UPCEAN.Errors) #Name
#ENDLOOP
#ENDIF #IF(#FormErrors.Reason.OFFER_PRODUCT_NO_ASIN)

{NoASIN}

#LOOP(#FormErrors.Reason.OFFER_PRODUCT_NO_ASIN.Errors) #Name
#ENDLOOP
#ENDIF #IF(#FormErrors.Reason.OFFER_PRODUCT_TOO_MANY_ASINS)

{TooManyASINs}

#LOOP(#FormErrors.Reason.OFFER_PRODUCT_TOO_MANY_ASINS.Errors) #Name
#ENDLOOP
#ENDIF #ENDIF #IF(#FormErrors.Reason.OFFER_PRODUCT_NO_CONDITION OR #FormErrors.Reason.OFFER_PRODUCT_NO_DELIVERY_PERIOD OR #FormErrors.Reason.OFFER_PRODUCT_NO_PRICE) #SET("SpecificError",1)

{AmazonValueMissing}

#IF(#FormErrors.Reason.OFFER_PRODUCT_NO_CONDITION) {Condition}
#LOOP(#FormErrors.Reason.OFFER_PRODUCT_NO_CONDITION.Errors) #Name
#ENDLOOP
#ENDIF #IF(#FormErrors.Reason.OFFER_PRODUCT_NO_DELIVERY_PERIOD) {DeliveryPeriod}
#LOOP(#FormErrors.Reason.OFFER_PRODUCT_NO_DELIVERY_PERIOD.Errors) #Name
#ENDLOOP
#ENDIF #IF(#FormErrors.Reason.OFFER_PRODUCT_NO_PRICE) {Price}
#LOOP(#FormErrors.Reason.OFFER_PRODUCT_NO_PRICE.Errors) #Name
#ENDLOOP
#ENDIF #ENDIF #IF(NOT #SpecificError)

{InputError}

{PleaseCorrectErrors}

#ENDIF
#ENDLOCAL #ENDIF #IF(NOT (#IsSettingsComplete))

{AccountSettingsIncomplete}

{CompleteAccountSettings}

#ELSE #INCLUDE("INC-FeedSummary") #LOCAL("AllowNewEntry",1) #IF(NOT #DELETEALL) #IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #ENDIF #INCLUDE("INC-PagerHeader") #ENDIF #INCLUDE("INC-AmazonOfferTable") #ENDLOCAL #IF((NOT #DELETEALL) AND (NOT #DELETE))
#IF(#IsSettingsComplete) #ELSE #ENDIF
#ENDIF #IF(#DELETE)
#ENDIF
#ENDIF