Skip to content

Commit 9eaa367

Browse files
committed
MCP-584: Disable inventory check on quote load
- Disable Config option & add comment
1 parent d65e7a2 commit 9eaa367

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/code/Magento/Quote/Model/Config.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function __construct(ScopeConfigInterface $config)
3535
*/
3636
public function isEnabled(): bool
3737
{
38-
return (bool)$this->config->getValue(self::XML_PATH_INVENTORY_CHECK_ENABLED);
38+
//return (bool)$this->config->getValue(self::XML_PATH_INVENTORY_CHECK_ENABLED);
39+
return false;
3940
}
4041
}

0 commit comments

Comments
 (0)