wixLocation.to function resetting dropdown's

Thanks for your response @russian-dima

My previous research has taken me down the route of storage and I think I understand the logic of this (being a novice at coding) based on the examples I have found - setItem in Page 1 code and then getItem in Page 2 code seems to be the trend of the examples I can find online.

However, as I am using a dynamic page with multiple items from my dataset, I don’t have anywhere for ‘Page 2 code’ to go as all of my code is in the same place for this page.

I’m not sure if I am lacking understanding of dynamic pages or wix-storage (or both) but having spent much of this afternoon and evening reading up on this I have yet to produce any positive results