#IF(#FormError) #LOOP(#FormErrors.Errors) #IF(#Reason EQ "CanNotDeleteDefault")

{CanNotDeleteDefault}

#ELSIF(#Reason EQ "DEACTIVATE_DEFAULT")

{DeactivateDefault}

#ELSIF(#OBJECT_EXISTS)

{ObjectExists}

#ELSIF(#Reason EQ "STRING_TOO_LONG")

{InputError}

{StringTooLong}

#ELSIF(#Reason EQ "SETTINGS_INCOMPLETE")

{ShippingSettingsIncompleteOne} {DoComplete}

#ELSIF(#Reason NE "SETTINGS_INCOMPLETE")

{InputError}

{PleaseCorrectErrors}

#ENDIF #ENDLOOP #ENDIF #WITH_ERROR(#FormError)

{General}

#REM #ENDREM
#REM #ENDREM
#SNIPPET("INC-I18n-Tooltip", "AttributeName", "Name")
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{ShippingTypeSpecified} #WITH_LANGUAGE(#LanguageID) #IF(#ShippingType.Name)#ShippingType.Name#ELSE#ShippingType.Alias#ENDIF #ENDWITH_LANGUAGE
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
{DefaultSelection}
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #IF(#FUNCTION("MENU_COUNT", "ShippingMethodExtraOptions")) #MENU("ShippingMethodExtraOptions") #INCLUDE(#Template) #ENDMENU #ENDIF

{Conditions}

#REM #ENDREM
#REM #ENDREM #REM #ENDREM #IF(#Shop.FeatureMaxValue.Regions NGT 0 AND #ShippingType.CanRegions) #LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Regions"))#IF(#DisplayFeature NE "NotVisible")
#IF(#COUNT(#Shop.Regions) EQ 0)
{AddRegions} #REM #ENDREM
#REM #ENDREM #ELSE
#LOCAL("MethodRegionID",#Region.ID) #ENDLOCAL
#REM #ENDREM #REM #ENDREM #ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDIF#ENDLOCAL #ELSIF((#ShippingType.CanRegions AND (#Shop.FeatureMaxValue.Regions == 0))OR(NOT(#Shop.FeatureMaxValue.Regions)AND(#Shop.FeatureMaxValue.Regions == 0))) #LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Regions"))#IF(#DisplayFeature NE "NotVisible")

{NoFeature}
#REM #ENDREM
#REM #ENDREM #ENDIF#ENDLOCAL #ENDIF #LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "ShippingMethodsPerProduct"))#IF(#DisplayFeature NE "NotVisible")
{ShippingMethodEnabledByDefaultHelp}
#REM #ENDREM
#REM #ENDREM
#IF(#DisplayFeature EQ "NotAllowed") ({FeatureNotInThisShopType}) #ENDIF
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDIF #ENDLOCAL

{Details}

#REM #ENDREM
#REM #ENDREM
#SNIPPET("INC-WYSIWYG", "Name,InputName,Head,Translatable", "NoteNative", "Note", "{Description}", 1)
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM
#REM #ENDREM #ENDWITH_ERROR
#REM #ENDREM