#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#FormError)

{InputError}

#IF(#FormErrors.Reason.CanNotDeleteDefault) {CanNotDeleteDefault} #ELSIF(#FormErrors.Reason.SETTINGS_INCOMPLETE) {ShippingSettingsIncomplete} #ENDIF

#REM #ENDREM #ENDIF #IF(#DELETE)

{AcceptAction}

#LOOP(#DeleteObjects) #ENDLOOP
#REM #ENDREM #ELSIF(#OVERWRITE)

{Warning}

{AcceptOverwriteAction1}
{AcceptOverwriteAction2}

#REM #ENDREM #ELSIF(#COUNT(#ShippingMethods) >= #Shop.FeatureMaxValue.ShippingMethods)

{Notification}

{FeatureMaxValueReached}
{FeatureMaxValueShippingMethods} #Shop.FeatureMaxValue.ShippingMethods #INCLUDE("FeaturePromotion")
#REM #ENDREM #ENDIF #IF(#INVISIBLE_DEFAULT)

{DeactivateDefault}

#REM #ENDREM #ENDIF #IF(NOT #DELETE)
#SNIPPET("INC-BatchActions", "BatchActions", "BatchActions")
#ENDIF #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#ShippingMethods) #ENDLOOP #ENDIF
{ShippingMethod} {Type} {ShippingFulfillmentMethod} {IsDefault} {Position}
#NameOrAlias #IF(NOT #IsActivated) #SNIPPET("INC-Status", "IsNotVisible",1) #ENDIF #ShippingType.NameOrAlias #IF(#SelectedShippingFulfillmentMethod) #SelectedShippingFulfillmentMethod.NameOrAlias #ENDIF #Position
#NameOrAlias #IF(NOT #IsActivated) #SNIPPET("INC-Status", "IsNotVisible",1) #ENDIF #IF(#COUNT(#CustomerGroups)) #ENDIF #IF(#Region) {RegionLimited} #ENDIF #ShippingType.NameOrAlias #IF(NOT #UsableAtStorefront AND NOT #OVERWRITE) {DoComplete} #ENDIF #LOCAL("SelectedShippingMethod", #SelectedShippingFulfillmentMethod OR #SelectedShippingProviderMethod) #IF(#SelectedShippingMethod) #SelectedShippingMethod.NameOrAlias #IF(NOT #SelectedShippingMethod.IsUsable) {DoComplete} #ENDIF #ENDIF #ENDLOCAL
#IF(#DELETE) #ELSIF(#OVERWRITE) #ELSE #ENDIF
#ENDBLOCK
#INCLUDE("NewDeliveryMethodDialog") #INCLUDE("ShippingFulfillmentSettingsDialog") #LOOP(#ShippingProviderMethods) #MENU("CheckShipingProvider")#INCLUDE(#Template)#ENDMENU #ENDLOOP