#LOCAL("DisplayFeature", #FUNCTION("FeaturedActionAvailable", #Shop.Object, #UNDEF, "Shippo"))
#IF(#DisplayFeature EQ "Allowed") #IF(#ShippoConnectionValidated) #IF(#IsShippoInstalled AND #UninstallShippo)

{ShippoConnected}

#ELSE

{ShippoInstalled}


{ShippoOrdersImported}

  1. {ManageOrders} {ManageOrdersLink}
  2. {ShippingSettings} {ShippingSettingsLink}
#ENDIF #ELSE

{InputError}

#IF(NOT #DEFINED(#ShippoID)) {InvalidShippoParameters} #ENDIF #IF(#NoShippoProviderMethod) {NoShippoProviderMethod} #ENDIF #IF(NOT #IsInstalledOk) {ShippoInstallationError} #ENDIF
#ENDIF #ELSE

{ShippoErrorHead}

{ShippoErrorNoFeature}
{Details}: {LinkUtilizationPage}
#ENDIF
#ENDLOCAL