#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Shippo"))
#IF(#DisplayFeature EQ "Allowed")
#IF(#ShippoConnectionValidated)
#IF(#IsShippoInstalled AND #UninstallShippo)
{ShippoConnected}
#ELSE
#ENDIF
#ELSE
{InputError}
#IF(NOT #DEFINED(#ShippoID))
{InvalidShippoParameters}
#ENDIF
#IF(#NoShippoProviderMethod)
{NoShippoProviderMethod}
#ENDIF
#IF(NOT #IsInstalledOk)
{ShippoInstallationError}
#ENDIF
#ENDIF
#ELSE
#ENDIF
#ENDLOCAL