问题
I'm building a Shopify application and I'm interested in automatically adding a liquid content into the shop's theme.
回答1:
A file with a .liquid extension is considered to be an asset. Since you can add assets to a shop, the answer is yes, you can indeed inject Liquid template code into a shop's theme.
If you use an App Proxy you can also send Shopify Liquid strings and Shopify will render that right in the Shop for you. Pretty neat stuff.
来源:https://stackoverflow.com/questions/13932861/can-shopify-app-automatically-inject-liquid-code-inside-shops-theme