(I'm new to Shopify, so forgive me if my questions are too basic.)
I created an app and I'm using a script_tag to inject a widget to the store pages (the product collection page as well as other in-store pages) .
Now, I need this widget to change in real-time (i.e. even before the customer reloads the page) based on data received from an external source.
I know I can open an iframe with an external webpage embedded inside that reflects the changes, but my question is if there're other ways of doing it?
How are you handling it?