Forum Academy Marketplace Showcase Pricing Features

How to make an item visible again only after some time of being clicked

Hi guys I have a problem. The problem is I want an item to being visible only after a hour of being clicked but it gets visible again whenever I reload the page. And when I tries to set time, time runs only when current user is on that page :confused:
Any solutions?
Thanks in advance.

It sounds like you’re setting time using a Custom State, but those are lost as soon as the page reloads.

Instead, you’ll want to store information in the database about when the item was clicked. Then, you could set a condition on the element to hide when the last time it was clicked was > 1 hour ago.

Can you please explain more on how to do it :slight_smile:
Thanks in advance

Help me please :frowning: