Skip to content

Instantly share code, notes, and snippets.

@alanryn
Last active Nov 26, 2021
Embed
What would you like to do?
{
"sections": {
"main": {
"type": "main-product",
"blocks": {
"vendor": {
"type": "text",
"settings": {
"text": "{{ product.vendor }}",
"text_style": "uppercase"
}
},
"title": {
"type": "title",
"settings": {
}
},
"subtitle": {
"type": "text",
"settings": {
"text": "{{ product.metafields.descriptors.subtitle.value }}",
"text_style": "subtitle"
}
},
"price": {
"type": "price",
"settings": {
}
},
"variant_picker": {
"type": "variant_picker",
"settings": {
"picker_type": "button"
}
},
"quantity_selector": {
"type": "quantity_selector",
"settings": {
}
},
"buy_buttons": {
"type": "buy_buttons",
"settings": {
"show_dynamic_checkout": true
}
},
"description": {
"type": "description",
"settings": {
}
},
"share": {
"type": "share",
"settings": {
"share_label": "Share"
}
},
"variant_info_1": {
"type": "variant_info_1",
"settings": {
}
},
"variant_info_2": {
"type": "variant_info_2",
"settings": {
}
}
},
"block_order": [
"vendor",
"title",
"subtitle",
"price",
"variant_picker",
"quantity_selector",
"buy_buttons",
"description",
"share",
"variant_info_1",
"variant_info_2"
],
"settings": {
"enable_sticky_info": true,
"hide_variants": false,
"enable_video_looping": false
}
},
"product-recommendations": {
"type": "product-recommendations",
"settings": {
"heading": "You may also like",
"image_ratio": "adapt",
"show_secondary_image": false,
"add_image_padding": false,
"show_image_outline": true,
"show_vendor": false,
"show_rating": false
}
}
},
"order": [
"main",
"product-recommendations"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment