shopify部分模式产品句柄选择器
问题描述:
是否有一个产品句柄选择器中的内置版本,用于为段编辑器显示侧边栏中所有产品的下拉菜单?shopify部分模式产品句柄选择器
我想要做这样的事情在
{% schema %}
{
"name": "Gallery Lookbook",
"class": "gallery-lookbook",
"blocks": [
{
"type": "product",
"name": "Product",
"settings": [
{
"type": "product_picker",
"id": "product-handle",
"label": "Product"
}, ....
答
好吧,我简直不敢相信它是那么容易 - 这就是为什么我爱shopify
{
"type": "product",
"id": "product-handle",
"label": "Product-Handle"
}
不知道如何添加图像在块? –
如果您认为您发现的分辨率会对其他用户有所帮助,请随时[自我回答](http://*.com/help/self-answer)您的问题。否则,你可以[删除你的帖子](http://*.com/help/deleted-questions)。 –