diff --git a/Model/Api/Builder/Order.php b/Model/Api/Builder/Order.php index ed871d1..4d0ef45 100755 --- a/Model/Api/Builder/Order.php +++ b/Model/Api/Builder/Order.php @@ -388,7 +388,7 @@ private function getProductDimemension(Item $item) $dimensionArray = []; $product = $item->getProduct(); - switch ($this->scopeConfig->getDimensionsMetric()) { + switch ($this->config->getDimensionsMetric()) { case DimensionsMetric::METRIC_MM: $k = 0.1; break;