2023-07-12 14:20:19 +00:00
|
|
|
{
|
|
|
|
"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",
|
|
|
|
"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": {
|
2023-07-21 09:35:32 +00:00
|
|
|
"type": "object"
|
2023-07-12 14:20:19 +00:00
|
|
|
},
|
|
|
|
"priceColorValue": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"iconColor": {
|
2023-07-21 09:35:32 +00:00
|
|
|
"type": "object"
|
2023-07-12 14:20:19 +00:00
|
|
|
},
|
|
|
|
"iconColorValue": {
|
|
|
|
"type": "string"
|
|
|
|
},
|
|
|
|
"productCountColor": {
|
2023-07-21 09:35:32 +00:00
|
|
|
"type": "object"
|
2023-07-12 14:20:19 +00:00
|
|
|
},
|
|
|
|
"productCountColorValue": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"apiVersion": 2,
|
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json"
|
|
|
|
}
|