Can Shopify app automatically inject liquid code inside shop's theme?

瘦欲@ 提交于 2019-12-09 15:46:04

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!