Jump to content

[SOLVED] [7.8.3] User's currencyId reset to '0' randomly


Recommended Posts

EDIT: Found the culprit. It's within our code after all. Someone decided to reset the currency ID for some reason.

We've been developing a module for our own custom solutions.

Today, I noticed that the logged in user's currencyId is reset to '0' whenever they move back to the previous page.

 

The flow of our custom module is like this: User chooses product -> Opens custom order page -> user proceeds.

If the user decided to press back, their currencyId will be reset to '0'. The back button is simply a href to the previous page. None of the module actions write to the user's currencyId, only reading them.

 

I noticed this while debugging the multi-currency bug we've been getting. Did anyone else had the same problem? If yes, how do I stop this behaviour?

Edited by EpoxyElegant
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated