48 lines
943 B
JSON
48 lines
943 B
JSON
{
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
"apiVersion": 2,
|
|
"name": "woocommerce/product-collection",
|
|
"version": "1.0.0",
|
|
"title": "Product Collection (Beta)",
|
|
"description": "Display a collection of products from your store.",
|
|
"category": "woocommerce",
|
|
"keywords": [ "WooCommerce", "Products (Beta)" ],
|
|
"textdomain": "woocommerce",
|
|
"attributes": {
|
|
"queryId": {
|
|
"type": "number"
|
|
},
|
|
"query": {
|
|
"type": "object"
|
|
},
|
|
"tagName": {
|
|
"type": "string"
|
|
},
|
|
"displayLayout": {
|
|
"type": "object"
|
|
},
|
|
"convertedFromProducts": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"collection": {
|
|
"type": "string"
|
|
},
|
|
"hideControls": {
|
|
"default": [],
|
|
"type": "array"
|
|
}
|
|
},
|
|
"providesContext": {
|
|
"queryId": "queryId",
|
|
"query": "query",
|
|
"displayLayout": "displayLayout"
|
|
},
|
|
"supports": {
|
|
"align": [ "wide", "full" ],
|
|
"anchor": true,
|
|
"html": false,
|
|
"__experimentalLayout": true
|
|
}
|
|
}
|