Search code examples
shopifyliquidsections

shopify sections schema product-handle selector


is there a build in product-handle-selector that renders a dropdown with all products in the sidebar for the sections editor?

I want to do something like this in the

{% schema %}
{
  "name": "Gallery Lookbook",
  "class": "gallery-lookbook",
  "blocks": [
    {
      "type": "product",
      "name": "Product",
      "settings": [
        {
          "type": "product_picker",
          "id": "product-handle",
          "label": "Product"
        }, ....

Solution

  • ok, I couldn't believe that it is that easy - that's why I love shopify

        {
          "type": "product",
          "id": "product-handle",
          "label": "Product-Handle"
        }