Product Button – woocommerce/product-button
Display a call to action button which either adds the product to the cart, or links to the product page.
Use the Product Button to allow the user to add the product to the cart or link to the product page.
Screenshot
Example
Notes
- The Product button block can be used in the All Products – woocommerce/all-products block.
- You can’t change the label of the button.
How to add/edit nested blocks to the All Products block
- If not already done, add the All Products block to the page.
- Click on the Edit icon.

- Use the Add Block icon, displayed between blocks, to add a block.
- Choose from the list of blocks offered.
-
- On-Sale Badge – woocommerce/product-sale-badge
- Product Title – woocommerce/product-title
- Product Price – woocommerce/product-price
- Product Image – woocommerce/product-image
- Product Rating – woocommerce/product-rating
- Product Button – woocommerce/product-button
- Product Summary – woocommerce/product-summary
- If required, rearrange the blocks by using the move arrows or drag and drop.
- Don’t forget to click the Done button.
