#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#Shop.IsTrialShop)

{IsTrialShop}

{EbayAuctionsAreBinding}

#ENDIF #IF(NOT #DEFINED(#Product))

{Error}

{NoProductInAuction}

#ELSE #IF(#FormError)
#IF(#FormErrors.Reason.EbayRequestNotSuccessful)

{EbayRequestNotSuccessful}:

#LOOP(#FormErrors.Reason.EbayRequestNotSuccessful.Errors)

#Message (#Code) #IF(#DEFINED(#MoreInfo)) {More}

#MoreInfo[decodehtml]
#ENDIF

#ENDLOOP #IF(#PayPalError)

{PayPalError}

{CheckPaymentSettings}

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

{EbayRequestFailed}:

#LOOP(#FormErrors.Reason.EbayRequestFailed.Errors)

#Message

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

{Notification}

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

#ENDIF
#ELSE #IF(#Shop.FeatureCurrentValue.EbayAuctions NGE #Shop.FeatureMaxValue.EbayAuctions)

{Notification}

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

#ENDIF #IF(#Status == 0) #IF(#ScheduleType == 0)

{StepHeadline}

{PleaseCheckIfAuctionIsCorrect}

#ELSE

{StepHeadline}

{PleaseActivateScheduling}

#ENDIF #ELSIF(#Status == 1)

{Result}

{AuctionSeemsCorrect} #IF(#COUNT(#Fees)>0){ExpectedFeesAreShownBelow}#ENDIF

#ELSIF(#Status == 2)

{Result}

{AuctionSuccessfullyUploaded} #IF(#COUNT(#Fees)>0){FeesAreShownBelow}#ENDIF

#ELSIF(#Status == 8)

{Result}

{AuctionScheduled} #IF(#COUNT(#Fees)>0){ExpectedFeesAreShownBelow}#ENDIF

#ENDIF #IF(#EbayWarningNoToken AND NOT #FormError)

{EbayWarning}

{NoEbayToken}

#ENDIF #ENDIF #ENDIF #IF(#COUNT(#Fees))

{Fees}:

#LOOP(#Shop.Currencies) #LOCAL("ShopCurrencyID", #CurrencyID) #IF(#EbayShopEnvironment.EbayEnvironment.CurrencyID EQ #ShopCurrencyID) #LOOP(#Fees) #IF(#Name NE "ListingFee") #REM #ENDREM #ENDIF #ENDLOOP #ENDIF #ENDLOCAL #ENDLOOP #IF(#IsEbayStoreOwner) #ENDIF #IF(#ItemID) #ENDIF
{FeeFor}: #TRANSLATE(#Name) #Fee[money]
{TotalFee} #ListingFee[money]

{EbayFeesCanDiffer}


{ExternalAuctionId} {Environment} #ExternalAuctionId

#ENDIF
#IF(#Status == 0) #ENDIF #IF(#Status == 1 OR #Status == 8) #ENDIF
#ENDBLOCK