File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
app/code/Magento/Catalog/Model/Indexer/Product/Flat/Action Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ public function execute($id = null)
85
85
$ ids = [$ id ];
86
86
$ linkField = $ this ->metadataPool ->getMetadata (ProductInterface::class)->getLinkField ();
87
87
88
- $ storeIds = $ this ->getProductAvailableStores ($ id );
88
+ $ storeIds = $ this ->getAssignedStoreIdsOfProduct ($ id );
89
89
90
90
$ stores = $ this ->_storeManager ->getStores ();
91
91
foreach ($ stores as $ store ) {
@@ -137,12 +137,12 @@ public function execute($id = null)
137
137
}
138
138
139
139
/**
140
- * Get list store id where product is enable
140
+ * Get list store id where the product is enable
141
141
*
142
142
* @param int $productId
143
143
* @return array
144
144
*/
145
- private function getProductAvailableStores ($ productId )
145
+ private function getAssignedStoreIdsOfProduct ($ productId )
146
146
{
147
147
$ select = $ this ->_connection ->select ();
148
148
$ select ->from (['e ' => $ this ->_productIndexerHelper ->getTable ('store ' )], ['e.store_id ' ])
You can’t perform that action at this time.
0 commit comments