#IF(#DELETE)
#ENDIF
#IF(#FormError)
{InputError}
#IF(#FormErrors.Reason.CanNotDeleteDefault)
{CanNotDeleteDefault}
#ELSIF(#FormErrors.Reason.DEACTIVATE_DEFAULT)
{DeactivateDefault}
#ELSIF(#OBJECT_EXISTS)
{ObjectExists}
#ELSIF(#FormErrors.Reason.SETTINGS_INCOMPLETE)
{ShippingSettingsIncomplete} {DoComplete}
#ELSE
{PleaseCorrectErrors}
#ENDIF
#ENDIF
#WITH_ERROR(#FormError)
#REM#ENDREM
#IF(#Shop.FeatureMaxValue.Regions AND #ShippingType.CanRegions)
#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Regions"))#IF(#DisplayFeature NE "NotVisible")
#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")
#ENDIF#ENDLOCAL
#ENDIF