← Back
Editing: block.json
{ "name": "woocommerce/product-rating-counter", "title": "Product Rating Counter", "description": "Display the review count of a product", "category": "woocommerce-product-elements", "attributes": { "productId": { "type": "number", "default": 0 }, "textAlign": { "type": "string", "default": "" } }, "supports": { "interactivity": { "clientNavigation": true }, "inserter": false, "color": { "text": false, "background": false, "link": true }, "spacing": { "margin": true, "padding": true }, "typography": { "fontSize": true, "__experimentalSkipSerialization": true } }, "selectors": { "root": ".wp-block-woocommerce-product-rating-counter.wc-block-components-product-rating-counter, .wp-block-woocommerce-product-rating-counter .wc-block-components-product-rating-counter" }, "usesContext": [ "query", "queryId", "postId" ], "keywords": [ "WooCommerce" ], "ancestor": [ "woocommerce/single-product" ], "textdomain": "woocommerce", "apiVersion": 3, "$schema": "https://schemas.wp.org/trunk/block.json" }
Save File
Cancel