Hello there,
We want to access user option selection from Browser in price.js filter file (vue-storefront/core/filters/price.js).
User will select desired currency from currency-dropdown & we will modify price according to selected currency.
User selection is stored in localStorage.
In price.js, using Async function for accessing “localStorage” gives response as Promise Array whose values are not usable in code, similar to issue discussed here
Application stops working if not using Async function.
Thanks,
Anup