woocommerce/plugins/woocommerce-blocks/assets/js/blocks/single-product/block.json

31 lines
613 B
JSON

{
"name": "woocommerce/single-product",
"version": "1.0.0",
"icon": "info",
"title": "Single Product",
"description": "Display a single product.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"align": [ "wide", "full" ]
},
"attributes": {
"isPreview": {
"type": "boolean",
"default": false
},
"productId": {
"type": "number"
}
},
"example": {
"attributes": {
"isPreview": true
}
},
"usesContext": [ "postId", "postType", "queryId" ],
"textdomain": "woocommerce",
"apiVersion": 2,
"$schema": "https://schemas.wp.org/trunk/block.json"
}