Open reggi opened 9 years ago
Hi @reggi,
Where you able to integrate Polymer and Shopify in any way? I'm having trouble wrapping my head around the integration between Liquid templates and Polymer (If necessary at all). I'm currently planning to use the Buy SDK for Javascript and implementing a custom theme.
Any feedback is really appreciated! :+1:
@deearcodes It's definitely possible using the buy sdk. Integrating liquid with polymer is a bit trickier because you can't get access to the javascript objects. Which means you have to pass in everything as JSON possibly.
<my-product shopifyData="{{ product | json }}"></my-product>
It gets really icky.
Getting root from Shopify is, from what they've told me, is a non-starter. So, for the JSON Framework for Polymer, we're thinking of just hosting such files on our servers, for such clients. We'll see.
../../bower_components/polymer/polymer.js
css
,js
, andhtml
individually and moving them into assets with the build process.