Hello! I couldn’t find any similar posts so hopefully someone can help me out with this!
My goal is to create a button where users who are signed up to the site can chose to receive notifications for a specific product collection.
for example my “inventory” page contains all of my products. at the top of the page there is a follow button. I would like for the user to click that button and if they are signed up, then they will “follow” that collection. Users following said collections should receive notifications when I update the “inventory” with new items. I don’t want these to be push notifications where the user receives a Realtime alert outside of the site. I would like the user to see the notification whenever they happen to return.
To sum it all up,
1. how can I create a button that automatically opts a user into notifications (if signed in otherwise redirect to log in)?
-I was thinking maybe this button tells me who clicked it and sets a value relative to the collection, then use that value to identify for which product collection they would like to be notified.
2. how can I deliver (non real-time) notifications to a specific user through my website?
-i would like these to not show up outside of my webpage, the user can only view the notifications upon return the site.
That wouldn’t be very challenging, natively if those notifications were displayed on a cms collection page. That’s tied to an individual cms item which you could associate to a user (via the lookup tables example above).
Still not super straight forward.
If you continued with the Memberstack approach you could easily user their front end api to handle all of this for you. That’s associated to a specific user and can be displayed on any page.
Not the answers you were looking for, but more options to consider!