Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I'm building a Shopify application and I'm interested in automatically adding a liquid content into the shop's theme.

like image 798
vovafeldman Avatar asked Dec 18 '12 12:12

vovafeldman


1 Answers

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.

like image 84
David Lazar Avatar answered Sep 22 '22 18:09

David Lazar