diff --git a/vendor/magento/module-advanced-checkout/Model/Cart.php b/vendor/magento/module-advanced-checkout/Model/Cart.php index 04d79c88a438..004588ae3ab0 100644 --- a/vendor/magento/module-advanced-checkout/Model/Cart.php +++ b/vendor/magento/module-advanced-checkout/Model/Cart.php @@ -1246,7 +1246,7 @@ public function checkItems(array $items): array $checkedItems = $this->areProductsSalable($checkedItems); $products = $this->preloadProducts($checkedItems); foreach ($checkedItems as $sku => &$item) { - $itemProduct = $products[$sku] ?? null; + $itemProduct = $products[mb_strtolower($sku)] ?? null; $item = $this->checkItem( $sku, $item['qty'], @@ -1946,7 +1946,7 @@ private function preloadProducts(array $items) $isSalable = false; } $product->setIsSalable($isSalable); - $products[$sku] = $product; + $products[mb_strtolower($sku)] = $product; $this->addProductToLocalCache($product, $product->getStoreId()); } }