Skip to content

Commit 6ecb37f

Browse files
authored
Index only the currency selected for the store
1 parent 907d089 commit 6ecb37f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Helper/Entity/Product/PriceManager/ProductWithoutChildren.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function addPriceData($customData, Product $product, $subProducts): array
9090
$this->customData = $customData;
9191
$this->store = $product->getStore();
9292
$this->areCustomersGroupsEnabled = $this->configHelper->isCustomerGroupsEnabled($product->getStoreId());
93-
$currencies = $this->store->getAvailableCurrencyCodes();
93+
$currencies = $this->store->getAvailableCurrencyCodes(true);
9494
$this->baseCurrencyCode = $this->store->getBaseCurrencyCode();
9595
$this->groups = $this->customerGroupCollectionFactory->create();
9696
$fields = $this->getFields();

0 commit comments

Comments
 (0)