We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97191e commit fd332edCopy full SHA for fd332ed
app/code/Magento/CatalogInventory/Model/Adminhtml/Stock/Item.php
@@ -12,6 +12,7 @@
12
use Magento\Framework\Api\AttributeValueFactory;
13
use Magento\Framework\Api\ExtensionAttributesFactory;
14
use Magento\Framework\Object\IdentityInterface;
15
+use Magento\Catalog\Model\Product;
16
17
/**
18
* Catalog Inventory Stock Model for adminhtml area
@@ -131,7 +132,7 @@ public function getIdentities()
131
132
{
133
$tags = [];
134
if ($this->getProductId()) {
- $tags[] = 'catalog_product_' . $this->getProductId();
135
+ $tags[] = Product::CACHE_TAG . '_' . $this->getProductId();
136
}
137
138
return $tags;
0 commit comments