diff --git a/commerce_shipping.commerce_package_types.yml b/commerce_shipping.commerce_package_types.yml index 5830d31..c313693 100644 --- a/commerce_shipping.commerce_package_types.yml +++ b/commerce_shipping.commerce_package_types.yml @@ -1,6 +1,6 @@ -default: - remote_id: default - label: Default +default_box: + remote_id: custom + label: 'Default box (1x1x1 mm)' dimensions: length: 1 width: 1 diff --git a/src/Plugin/Commerce/PackageType/PackageTypeInterface.php b/src/Plugin/Commerce/PackageType/PackageTypeInterface.php index 089b4fd..473484f 100644 --- a/src/Plugin/Commerce/PackageType/PackageTypeInterface.php +++ b/src/Plugin/Commerce/PackageType/PackageTypeInterface.php @@ -19,7 +19,8 @@ interface PackageTypeInterface { * Gets the package type remote ID. * * @return string - * The package type remote ID. + * The package type remote ID, or "custom" if the package type was not + * predefined by the remote API. */ public function getRemoteId();