Skip to content
Snippets Groups Projects
Commit 8ccceeb9 authored by Dimitris Bozelos's avatar Dimitris Bozelos
Browse files

Issue #3354747 Removed hard-coded value from storage query

parent f6719913
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,7 @@ class VariationImportRemoteEntityMapping implements EventSubscriberInterface {
}
$variation_ids = $this->entityTypeManager
->getStorage('commerce_product_variation')
->getStorage($event->getSync()->getLocalEntitySettings()['type_id'])
->getQuery()
->condition('sku', $sku)
->execute();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment