title: Liquid: How can I get the variant Id of a product on Checkout.liquid?
body: <p>I'm using <code>schema</code> to customize the way user can set things on Shopify.
  So my code is like this:</p>
  <pre><code>{
      &quot;type&quot;: &quot;number&quot;,
      &quot;id&quot;: &quot;product_variant_id&quot;,
      &quot;label&quot;: &quot;Product ID&quot;
  }
  </code></pre>
  <p>If I run a console log on this i'm getting product handle:</p>
  <pre><code>product-handle-from-collection-x
  </code></pre>
  <p>It is possible to retrieve the first product variant ID of this product?</p>
  <ul>
  <li>I tried to use <code>{{ all_products[&quot;product-handle-from-collection-x&quot;].variants.id }}</code></li>
  <li>It works on Product Page. Not on Checkout</li>
  </ul>