{% comment %}
  Renders a product data

  Accepts:
  - product: {Object} Product Liquid object

  Usage:
  {% render 'product-data', product: product %}
{% endcomment %}

<xo-product-data>
  <script type='application/json'>
    {
      id: {{ product.id | json }},
      variants: {{ product.variants | json }},
    }
  </script>
</xo-product-data>
