reggi / shopify

Just a place to track issues and feature requests that I have for shopify
3 stars 1 forks source link

Shopify & Polymer #12

Open reggi opened 9 years ago

reggi commented 9 years ago
dearcodes commented 8 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:

reggi commented 8 years ago

@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.

christo26 commented 7 years ago

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.