Help for features ( conditional bu

Hey all !

I need help about a feature that i want to do and i am blocked, i explain :

The app is an in-app subscritpion, with it you can have some reductions in our Store when you have subscribe (once reduction every 6 hour per store)

  • How can i do a button on every store :

only subscribe-user can click once time every 6 hours **PER **store.

My collection :

  • User
  • Store
  • Historical

You think that’s is possible ?

I don’t know if its really clear ^^’

Thank to youu !

Hi @Glasses ,

Welcome.

You can use conditional to do this,

Screen Shot 2022-01-10 at 10.53.18 AM

Have a base date time in users collection as an app wide variable, and compare it against 6 hours ago.

This is possible, but need more experiments.

1 Like

Hey Yongki,
Thank you very much for your answer !!

I found the solution thank to you :slight_smile: i am so happy

The variable is due to the date time in the store collection as an app wide variable.

Hihi so happy !

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.