← Back
Editing: block.json
{ "name": "woocommerce/single-product", "icon": "info", "title": "Product", "description": "Display a single product of your choice with full control over its presentation.", "category": "woocommerce", "keywords": [ "WooCommerce", "single product" ], "supports": { "interactivity": true, "align": [ "wide", "full" ], "color": { "background": true, "gradients": true, "text": false, "__experimentalDefaultControls": { "background": true } }, "spacing": { "padding": true, "margin": [ "top", "bottom" ] }, "__experimentalBorder": { "color": true, "style": true, "width": true, "radius": true }, "listView": true, "shadow": true }, "attributes": { "productId": { "type": "number" } }, "example": {}, "usesContext": [ "postId", "postType", "queryId" ], "style": "file:../woocommerce/single-product-style.css", "textdomain": "woocommerce", "apiVersion": 3, "$schema": "https://schemas.wp.org/trunk/block.json" }
Save File
Cancel