-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show currency switcher notice until customer explicitly dismisses it #2967
Show currency switcher notice until customer explicitly dismisses it #2967
Conversation
…switcher-customer-notice-does-not-appear
- Changed display_geolocation_currency_update_notice() logic to show the notice only for geolocated currency (if it's not simulation mode) - fixed tests
…switcher-customer-notice-does-not-appear
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM and works well, let's 🚢 it!
@@ -452,6 +452,20 @@ function() { | |||
return 'US'; | |||
} | |||
); | |||
// todo delete the comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess this can be deleted 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I forgot about that 🙈 Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed!
…2967) * Add the fix to changelog. * Changes to currency switch notice display - Changed display_geolocation_currency_update_notice() logic to show the notice only for geolocated currency (if it's not simulation mode) - fixed tests * Fix changelog entry * Commit for CI
Fixes #2941
Changes proposed in this Pull Request
Currently, currency switcher notice is being shown to customers only once. Then geolocated currency becomes selected currency and notice isn't shown anymore due to existing logic. That might be confusing for customers if they moved out from the page too quickly or in case the customer didn't see it at first.
I fixed currency switcher notice logic that it shows every time until explicitly dismissed with Dismiss button or by clicking
Use ... instead
, where ... is the default currency.Testing instructions
Use ... instead
and repeat instruction 3, now the notice shouldn't show up.Post merge