Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Redirect cart which has wrong market #140

Open
ErdemAkin opened this issue Feb 17, 2023 · 3 comments
Open

Redirect cart which has wrong market #140

ErdemAkin opened this issue Feb 17, 2023 · 3 comments
Labels

Comments

@ErdemAkin
Copy link

Hello,

On my wordpress store, when click to go to cart, it always go to wrong market. My default market is germany. I set up in settings that. For a instance, when i click go to cart, it redirect card which has england market. If i use private mode on browser, it redirect card which has turkish market. Everytime it changes. I check url, there is market parameter in query. Can you help me?

@cberesford-godaddy
Copy link
Collaborator

Hi @ErdemAkin - are you still experiencing this issue? If so, could you please provide a link to your Storefront website, along with your Private Label ID?

@ErdemAkin
Copy link
Author

Hello @cberesford-godaddy,
Here are the details.
https://www.ironhosting.de/
https://shop.ironhosting.de/
Private label id: 586844

And also I want to give more details. This issue is really weird. Because If I try to go to the cart in a normal browser, it turns to English (UK). But if I try to go to the cart in private mode in the browser, it turns to Turkish. I suspected caches or cookies. That's why I tried it on my friend's computer also. He never opened my website or Godaddy's website before. That's the time, it turned to always English (US) on his computer.

@cberesford-godaddy
Copy link
Collaborator

Thank you for the information. I spent some time debugging this and identified a few interesting behaviors.

  1. When browsing as a signed in user on a non-private browser, everything appears to work as intended.
  2. When browsing as a signed in user on a private browser session, the market seems to be reverted to en-US (or whatever your browser's default market is)
  3. When browsing as an anonymous user, the market seems to be changing to the default market of that anonymous user.

The reason for the above behaviors seems to be due to the market that is set by the user that is browsing your site (either as a temporary non-logged in shopper, or a logged in shopper). A temporary shopper (anonymous user) should not be resetting the market cookie when navigating the site. This appears to be a bug and we have raised it with the appropriate team for fixing. To add to that, it is also worth noting that I was able to get the full experience working as intended when I created an account, set my market to de-DE, and went through the normal purchase flows on both your standard and custom storefront implementations. This is because the shopper account I created had a market that matched your site's market. Once again, we will work to achieve resolution on this - shopper accounts that are created (either anonymous users or logged in shoppers) should be defaulted to your reseller plan's default market, rather than something different.

Thanks for the report and I will keep this thread open as we work to resolve.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants