I have a shopify app with a theme extension in which I am making api calls to my backend. I want the base url of the api to not be hardcoded in the liquid code, but to be specified while deploying the app using some type of env variable/flag/config file or any other method, how do I do this?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
How to pass some custom data as key value pair in a shopify app extension using the app's toml file and then access that data in the extension's liquid code? | 1 | 17 | June 6, 2025 | |
How to dynamically get app proxy path in extension in case 1 codebase is linked to multiple apps with different proxy paths? | 7 | 94 | December 31, 2024 | |
Theme App Extensions for Dynamic Product Badges - Possible? | 0 | 15 | June 17, 2025 | |
Using fetch in theme app extenstion | 4 | 290 | November 4, 2024 | |
Modifying Shopify Product Page with App Theme Extension | 7 | 77 | March 24, 2025 |