71 lines
1.4 KiB
JSON
71 lines
1.4 KiB
JSON
{
|
|
"name": "woocommerce/mini-cart",
|
|
"version": "1.0.0",
|
|
"title": "Mini-Cart",
|
|
"icon": "miniCartAlt",
|
|
"description": "Display a button for shoppers to quickly view their cart.",
|
|
"category": "woocommerce",
|
|
"keywords": [ "WooCommerce" ],
|
|
"textdomain": "woo-gutenberg-products-block",
|
|
"providesContext": {
|
|
"priceColorValue": "priceColorValue",
|
|
"iconColorValue": "iconColorValue",
|
|
"productCountColorValue": "productCountColorValue"
|
|
},
|
|
"supports": {
|
|
"html": false,
|
|
"multiple": false,
|
|
"typography": {
|
|
"fontSize": true
|
|
}
|
|
},
|
|
"example": {
|
|
"attributes": {
|
|
"isPreview": true,
|
|
"className": "wc-block-mini-cart--preview"
|
|
}
|
|
},
|
|
"attributes": {
|
|
"isPreview": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"miniCartIcon": {
|
|
"type": "string",
|
|
"default": "cart"
|
|
},
|
|
"addToCartBehaviour": {
|
|
"type": "string",
|
|
"default": "none"
|
|
},
|
|
"hasHiddenPrice": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"cartAndCheckoutRenderStyle": {
|
|
"type": "string",
|
|
"default": "hidden"
|
|
},
|
|
"priceColor": {
|
|
"type": "string"
|
|
},
|
|
"priceColorValue": {
|
|
"type": "string"
|
|
},
|
|
"iconColor": {
|
|
"type": "string"
|
|
},
|
|
"iconColorValue": {
|
|
"type": "string"
|
|
},
|
|
"productCountColor": {
|
|
"type": "string"
|
|
},
|
|
"productCountColorValue": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"apiVersion": 2,
|
|
"$schema": "https://schemas.wp.org/trunk/block.json"
|
|
}
|