Affirm Banner | Q2 2024

added by Latoya

Product Icon

WooCommerce Blocks

WooCommerce Blocks offers a range of Gutenberg blocks you can use to build and customise your site.

Can we have a “Add to Cart” button block for Block Editor ?

Suppose we want to design a product page fully based on block editor, this is not supported currently for single product post type. So if you provide a block “Add to Cart” button with simple options like, Cart button text, product to add, custom css class for button, Then we can insert that cart button on any custom page we have created using block editor, and can easily add the product to cart and go to checkout.

Author

nerrad

Current Status

In Progress

Last updated: January 20, 2023

4 comments

Log in to comment on this feature request.

  1. Mat Burhouse says:

    +1 vote for this.

    Do you have a rough ETA for when the single product template will be blockified?

    Thanks

  2. nerrad says:

    This is being worked on right now as a part of blockifying the single product template.

  3. Alec says:

    This is sorely needed after enabling the Gutenberg editor for product description.

    Are there any existing solutions out there? Certainly seems like a block WooCommerce should offer.

  4. Hozefa Saleh says:

    There was a plugin available in wordpress plugin repository before https://editorblockswp.com/block/woocommerce-add-to-cart/ , link to the plugin https://wordpress.org/plugins/advanced-gutenberg-blocks/ , but that is now removed by the author 🙁