Developer forum

Forum » Rapido » useAnotherAddress cookie isn't changed on sign out

useAnotherAddress cookie isn't changed on sign out

Mafalda Correa
Mafalda Correa
Reply

Hi,

useAnotherAddress cookie is set to false on the Receipt page and on emptyCart, but it's not changed if a user signs out. That means that if a user picks another address in Step 2, but then logs out and logs into another account, when they start a new order, the useAnotherAddress cookie will still be set to true and it'll pick another address instead of billing address by default.

Watch the video below:

https://www.screencast.com/t/jvr92YPw

Furthermore, I believe the correct behaviour would be to delete the cookie instead of changing it to false. A lot of times, if the user goes with the billing address, the cookie isn't even necessary and yet it'll be created in the receipt page and it'll be there for the rest of the session. JS doesn't throw any errors for deleting a cookie that doesn't exist, so if there's no cookie, nothing will happen and if there is one, it'll b deleted and then created again when needed.

Regards


Replies

 
Olga Shedko Dynamicweb Employee
Olga Shedko
Reply

Hello Mafalda,

Yes, agree with you that this issue should be handled. Created new TFS # 72007 for fixing it to the next hot-fix release.

Thank you very much.

Best wishes,

Olga | QA

 

You must be logged in to post in the forum