66 $rowQty =
$quoteItem->getParentItem()->getQty() * $qty;
70 $qtyForCheck = $this->quoteItemQtyList
75 $qtyForCheck = $this->quoteItemQtyList->getQty(
83 $productTypeCustomOption =
$product->getCustomOption(
'product_type');
84 if ($productTypeCustomOption !==
null) {
86 if ($this->typeConfig->isProductSet($productTypeCustomOption->getValue())) {
93 $result = $this->stockState->checkQuoteItemQty(
105 if (
$result->getItemIsQtyDecimal() !==
null) {
118 $quoteItem->getParentItem()->getProduct()->getTypeInstance()->getForceChildItemQtyChanges(
126 if (
$result->getItemUseOldQty() !==
null) {
130 if (
$result->getMessage() !==
null) {
134 if (
$result->getItemBackorders() !==
null) {
initialize(\Magento\CatalogInventory\Api\Data\StockItemInterface $stockItem, \Magento\Quote\Model\Quote\Item $quoteItem, $qty)
__construct(ConfigInterface $typeConfig, QuoteItemQtyList $quoteItemQtyList, StockStateInterface $stockState)