NotAnother-NZ / na13-prezzee

MIT License
0 stars 0 forks source link

[localization issue 2] sidebar does not appear for supported regions #211

Closed Druhin13 closed 2 days ago

Druhin13 commented 2 days ago

Screenshot_2024-11-21_07-02-55.png

Steps to reproduce: 1) clear the cache or cookies/site data for the site 2) use vpn to use the "united states" location 3) hit the url https://stg.prezzee.com/business/m/en-us 4) click "got it" on cookies modal 5) wait for sidebar to appear

Actual result: it does not appear

Expected result: it should appear with following message:

Supported Region: “You're viewing the Prezzee Business site in {Country} ({Language}). If this isn’t your preferred region, you can switch to another from the list below.”

video: https://go.screenpal.com/watch/cZXricnVxOw


Reported by: Vinod (vinod@na.studio)

Source URL: https://stg.prezzee.com/business/m/en-us?marker=true

Issue details: Open in Marker.io

Device typedesktop
BrowserChrome 131.0.0.0
Screen Size1366 x 768
OSWindows 10 (10.0.0)
Viewport Size1366 x 641
Pixel Ratio@​1x
Druhin13 commented 2 days ago

This is indeed the intended behavior. The localization sidebar is meant to be auto-triggered only when there's a mismatch. In this case, both the checks (IP and URL) matched an available locale; hence, the sidebar wasn't shown automatically when the page was loaded.

And the messaging did change to - "You're viewing the Prezzee Business site in United States (English). If this isn’t your preferred region, you can switch to another from the list below."

Druhin13 commented 2 days ago

🤖 Marker.io bot - This issue was marked as ✅ Resolved in Marker.io