Is there a way to use liquid to connect and query an external db to display info?
Liquid is a template language, and not something that would be used to connect or talk to other systems. If you are displaying info on the front end there’s a variety of options but without context can’t be sure what one makes sense for you.
We’re talking things like:
- using JavaScript to talk to the external database (obviously in a secure manner) and updating the dom with whatever content is returned.
- create a custom middleware (app) to update a metafield on the shop. Liquid can read those.
- and others…
What’s the use case/context here?