Skip to content

Commit 643ca3e

Browse files
Currency assignment by Country/IP lookup has not respected store restrictions
(cherry picked from commit c1c7dc3)
1 parent 30fe495 commit 643ca3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Smartstore.Core/Platform/Common/DefaultWorkContextSource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ public virtual async Task<Currency> ResolveWorkingCurrencyAsync(Customer custome
308308

309309
if (country?.DefaultCurrency?.Published == true)
310310
{
311-
currency = country.DefaultCurrency;
311+
currency = storeCurrenciesMap.Get(country.DefaultCurrency.Id);
312312
}
313313
}
314314
}

0 commit comments

Comments
 (0)