Hello, everyone!
Is it possible to get your own variables inside of liquid templates using apps? For instance if I create some kind of object in my app database, would it be possible to have this data available as a {{ placeholder variable }} in .liquid template files? Just like one would access {{ product.price_min }} or such?
Would be so grateful for an answer to this.
The more thorough explanation, if anyone has time to read it:
( My usecase is this: I would like to build an app for my client which lets users choose between various Pickup Spots. These Pickup Spots should be added in the Admin in my app, and then on the frontend in the template users of the app should be able to select their pickup spot that is close to their location.
First I thought about just keeping the data in the browser using local storage or whatever, but then I realized that I need to output the data they selected in the confirmation mail template → “Hello, your order is ready for pickup at {{ pickup-spot.location }}”, if you know what I mean?
Is this even possible with Shopify somehow? I would be so grateful for any help. Thank you so much. )