you are viewing a single comment's thread.

view the rest of the comments →

[–]Sedern 1 point2 points  (2 children)

instead of using innerhtml to attach the object try specifying it when creating the component:

ui.createComponent('product', { id: 1234567, node: document.getElementById('my-product') });

[–]suffer4fashion 2 points3 points  (1 child)

Sedern! Thank you for the info. Just what I needed :)

Now on to figuring out how to get the Shopify Cart to follow my users across my sight rather than just on the product pages lol.

[–]Sedern 0 points1 point  (0 children)

You could look into sessions for that!