{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "pcfw/compare-button",
	"title": "Compare Button",
	"category": "woocommerce",
	"icon": "columns",
	"description": "Adds the current product to the comparison. Works inside Product Collection and Single Product templates.",
	"keywords": [ "compare", "comparison", "product" ],
	"textdomain": "product-comparison-for-woocommerce",
	"usesContext": [ "postId", "postType" ],
	"attributes": {
		"productId": { "type": "number", "default": 0 },
		"style": { "type": "string", "enum": [ "", "button", "link", "icon", "checkbox" ], "default": "" },
		"label": { "type": "string", "default": "" },
		"showIcon": { "type": "boolean", "default": true }
	},
	"supports": { "html": false, "align": false, "spacing": { "margin": true } },
	"editorScript": "pcfw-blocks-editor",
	"editorStyle": "pcfw-storefront",
	"render": "file:./render.php"
}
