#WITH_ERROR(#FormError)
#IF(#FormError)

{InputError}

#IF(#OBJECT_EXISTS) {DoubleObject} #ELSE {PleaseCorrectErrors} #ENDIF
#ENDIF #IF(#DELETE)

{Warning}

{AcceptAction}
#LOOP(#DeleteObjects)#ENDLOOP #ELSE #IF(#FeatureMaxValueReached)

{Notification}

{CouldNotCreateShippingOption}
{FeatureMaxValueShippingOptions} #Shop.FeatureMaxValue.ShippingOption #INCLUDE("FeaturePromotion")
#ELSIF(#COUNT(#ShippingOptions) >= #Shop.FeatureMaxValue.ShippingOption)

{Notification}

{FeatureMaxValueReached}
{FeatureMaxValueShippingOptions} #Shop.FeatureMaxValue.ShippingOption #INCLUDE("FeaturePromotion")
#ENDIF
{ShippingOptionLinkText}  {BubbleHelpShippingOptionLinkText} #LOOP(#Languages) #BLOCK("WITH_LANGUAGE", #LanguageID)  #Native
#ENDBLOCK #ENDLOOP

#ENDIF #IF(NOT #DELETE) #SNIPPET("INC-BatchActions", "BatchActions", "BatchActions",1) #ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#ShippingOptions) #WITH_ERROR(#FormError) #ENDLOOP #LOCAL("NoNewEntry", #COUNT(#ShippingOptions) >= #Shop.FeatureMaxValue.ShippingOption) #ENDLOCAL #ENDIF
{ShippingOption} {Position}
#NameOrAlias #Position
#NameOrAlias #ENDWITH_ERROR
#LOCAL("PositionValue", #FUNCTION("ERROR_VALUE", #NewPosition, "9999")) #ENDLOCAL
#IF(#DELETE) #ELSE
#ENDIF
#ENDWITH_ERROR