Skip to content

Commit c8671fa

Browse files
committed
MCP-584: Disable inventory check on quote load
- Disable config option for testing
1 parent 72ed81c commit c8671fa

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)