#IF(#INPUT.Page) #ENDIF#IF(#INPUT.PageSize) #ENDIF #IF(#INPUT.OrderDesc) #ENDIF #BLOCK("WITH_FORM_ERROR",#FormError) #IF(#FormError) #LOCAL("RealError",0) #LOOP(#FormErrors.Errors) #IF(NOT (#Reason EQ "EbayRequestSuccessfulWithWarnings")) #SET("RealError",1)#ENDIF #ENDLOOP #IF(#RealError) #IF(#FormError_ScheduleTime OR #FormError_ScheduleRepeatTimeValue OR #FormError_ScheduleRepeatCount)

{InputError}

{PleaseCorrectErrors}
#REM #ENDREM #ELSE

{Error}:

#IF(#FormErrors.Reason.CanNotAuctionMasterProduct) {CanNotAuctionMasterProduct}:
#LOOP(#FormErrors.Reason.CanNotAuctionMasterProduct.Errors) #Product.NameOrAlias
#ENDLOOP #ENDIF #IF(#FormErrors.Reason.CanNotAuctionDownloadProduct) {CanNotAuctionDownloadProduct}:
#LOOP(#FormErrors.Reason.CanNotAuctionDownloadProduct.Errors) #Product.NameOrAlias
#ENDLOOP #ENDIF #IF(#FormErrors.Reason.NoShopEnvironment)

{NoEbayAccount}
{PleaseChooseEbayAccountFirst} {ClickSave}

#ENDIF #IF(#FormErrors.Reason.CanNotUploadUnverifiedAuctions) {CanNotUploadUnverifiedAuctions} #LOOP(#FormErrors.Reason.CanNotUploadUnverifiedAuctions.Errors) {VerifyAuctionNow} #ENDLOOP #ENDIF #IF(#FormErrors.Reason.CanNotRepeatUnscheduledAuctions) {CanNotRepeatUnscheduledAuctions}
#LOOP(#FormErrors.Reason.CanNotRepeatUnscheduledAuctions.Errors) #Auction.Name #IF(#ItemNo+1 < #FormErrors.Reason.CanNotRepeatUnscheduledAuctions.ErrorCount), #ENDIF
#ENDLOOP #ENDIF #IF(#FormErrors.Reason.CanNotVerifyRunningAuctions) #LOOP(#FormErrors.Reason.CanNotVerifyRunningAuctions.Errors) #Auction.Name #IF(#ItemNo+1 < #FormErrors.Reason.CanNotVerifyRunningAuctions.ErrorCount),
#ELSE : #ENDIF #ENDLOOP {CanNotVerifyRunningAuctions}
#ENDIF #IF(#FormErrors.Reason.EbayRequestNotSuccessful) #LOOP(#FormErrors.Reason.EbayRequestNotSuccessful.Errors) #IF(#ShopEnvironment)#ShopEnvironment.NameOrAlias: #ENDIF #IF(#Auction)#Auction.Name : #ENDIF #Message#IF(#Code)(#Code)#ENDIF
#ENDLOOP #ENDIF #IF(#FormErrors.Reason.EbayRequestFailed) {EbayRequestFailed}:
#LOOP(#FormErrors.Reason.EbayRequestFailed.Errors) #IF(#ShopEnvironment)#ShopEnvironment.NameOrAlias: #ENDIF #Message
#ENDLOOP #ENDIF #IF(#FormErrors.Reason.ServerTimeDifferentToEbayTime) {ServerTimeDifferentToEbayTime}: #LOOP(#FormErrors.Reason.ServerTimeDifferentToEbayTime.Errors) #Minutes {Minutes} #ENDLOOP
#ENDIF #IF(#FormErrors.Reason.EbayFeatureLimitExceeded)

{EbayFeatureLimitExceeded}
{FeatureMaxValue} #Shop.FeatureMaxValue.EbayAuctions

#INCLUDE("FeaturePromotion") #ENDIF #IF(#FormErrors.Reason.ERROR_INVALIDPRODUCT)

{InvalidProduct}

#ENDIF #IF(#FormErrors.Reason.EbayNoToken OR #FormErrors.Reason.EbayTokenError)

{Token}
#IF(#FormErrors.Reason.EbayNoToken) {NoEbayToken}#ELSE #LOOP(#FormErrors.Errors) #Message#ENDLOOP#ENDIF


#ENDIF #IF(#FormErrors.Reason.PARAMETER_MISSING)

{NoMailSent}

{NoMailSentInfo}
{GotoEmailSettings}

#ENDIF #IF(#FormErrors.Reason.NoProductInAuction) {NoProductInAuction}

#LOOP(#FormErrors.Reason.NoProductInAuction.Errors)   #Auction.Name
#ENDLOOP
#ENDIF
#REM #ENDREM #ENDIF #ENDIF #ENDLOCAL #ELSE #IF(#Shop.FeatureCurrentValue.EbayAuctions NGE #Shop.FeatureMaxValue.EbayAuctions AND NOT #DELETE)

{Notification}

{MaxFeatureValueReached}
{FeatureMaxValue} #Shop.FeatureMaxValue.EbayAuctions

#INCLUDE("FeaturePromotion")
#REM #ENDREM #ENDIF #ENDIF #IF(#COUNT(#FormErrors.Reason.EbayRequestSuccessfulWithWarnings.Errors))

{EbayWarning}:

#LOOP(#FormErrors.Reason.EbayRequestSuccessfulWithWarnings.Errors) #Auction.Name : #Message (#Code) #IF(#DEFINED(#MoreInfo))

{More}

#MoreInfo[decodehtml]

#ENDIF
#ENDLOOP
#REM #ENDREM #ENDIF #IF(#DEFINED(#ItemID))

{UploadSuccessful}

{UploadSuccessfulMsg} #ItemID.

#REM #ENDREM #ENDIF #ENDBLOCK #SNIPPET("INC-PagerHeader", "ContextObjects", "{ContextObjects}") #IF(NOT #DELETE)
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions") #IF(#CanAssignProducts) #ENDIF
#REM #ENDREM #ENDIF #IF(#Pager.OrderBy NE "Name") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "ExternalAuctionId") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "StartTime") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#Pager.OrderBy NE "EndTime") #ELSIF(#INPUT.OrderDesc) #ELSE #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #INCLUDE("AuctionListItem") #ENDLOOP #ELSIF(#SCHEDULEREPEAT) #LOOP(#ChangeObjects) #INCLUDE("AuctionListItem") #ENDLOOP #ELSE #IF(NOT #COUNT(#Pager.Items)) #IF(#INPUT.ViewAction EQ "MBO-SearchEbayAuctions") #ELSE #ENDIF #ELSE #LOOP(#Pager.Items) #INCLUDE("AuctionListItem") #ENDLOOP #ENDIF #ENDIF
{Auction}{Auction}{Auction}{ExternalAuctionId}{ExternalAuctionId}{ExternalAuctionId}{Status}{StartTime}{StartTime}{StartTime}{EndTime}{EndTime}{EndTime}{Ranking}
{NoSearchResult}
{noEbayAuctions}
#IF(NOT #DELETE AND NOT #SCHEDULEREPEAT) #SNIPPET("Pager", "ContextObjects", "{ContextObjects}") #ENDIF
#IF(#DELETE) #ELSIF(#SCHEDULEREPEAT) #ENDIF