We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What I do:
I think the problem with the following code
app/code/Magento/CatalogInventory/Model/StockRegistry.php
public function getStockStatus($productId, $websiteId = null) { //if (!$websiteId) { $websiteId = $this->stockConfiguration->getDefaultWebsiteId(); //} return $this->stockRegistryProvider->getStockStatus($productId, $websiteId); }
debug case:
public function getStockStatus($productId, $websiteId = null) // $websiteId == 1 { //if (!$websiteId) { $websiteId = $this->stockConfiguration->getDefaultWebsiteId(); $websiteId == 0 //} return $this->stockRegistryProvider->getStockStatus($productId, $websiteId); }
if remove commented code, the message is sent.
Thank you.
The text was updated successfully, but these errors were encountered:
Sorry. As you understand , I mean, if you remove the comments, the message is sent.
Sorry, something went wrong.
Hi, we have created an internal ticket to fix the issue: MAGETWO-42361
This is fixed and should be published soon.
No branches or pull requests
What I do:
actual result - the message is not sent
I think the problem with the following code
app/code/Magento/CatalogInventory/Model/StockRegistry.php
debug case:
if remove commented code, the message is sent.
Thank you.
The text was updated successfully, but these errors were encountered: