Shopify product box randomly refreshing

Hello, facing another issue which didn’t seem to be there when I made it the day before. I used shopify product box inside a product collection with a set category and set the product box id to take a random value from the ones available from the product collection. It keeps automatically refreshing. I would like it to take a random value anytime the screen loads and then not change. When I made it, this wasn’t happening :disappointed:

Unfortunately it’s not straightforward to show random content that can differ between client and server within frameworks like next… The closest thing you can do is to have it not be rendered until the content loads in the browser which you can detect using the side effects component, and then update States so as to display your random content there

Ok thank you! I’ll try it out