Imagine creating a custom shop page, a landing page for a collection of products, or just inserting some of our product blocks in your posts and pages. There’s plenty you can do with these WooCommerce blocks, so let’s cover what blocks are included in the core WooCommerce plugin.
Since WooCommerce 3.6 we’ve included some great blocks you can use to include products wherever you’re using the new WordPress editor. Check the WordPress editor documentation to learn more about blocks and the new editor itself.
Requirements ↑ Back to top
- WordPress 5.0 + is required to use WooCommerce Blocks.
- WordPress 5.3 + is required to use All Products and filter blocks.
- WooCommerce 3.6 + is required for the blocks themselves.
Showcase your products ↑ Back to top
Below is a list of blocks to use to help you showcase your products in different ways. As the block names suggest, you can create grids of products based on tags, featured products, attributes, and more!
The settings and options to tweak these blocks are found in the right hand Block section. You’ll see this if you select a block in the editor and have the settings pane open.
- Products by Tag
- Featured Product
- Hand-picked Products
- Best Selling Products
- Products by Category
- Newest Products
- On Sale Products
- Products by Attribute
- Top Rated Products
Allow visitors to explore your products ↑ Back to top
These three blocks let you show all product categories as a list or dropdown, visually highlight a product category and encourage prompt action, and add a search box to allow customers to search for products by keyword.
- Product Categories List
- Featured Category
- Product Search
Show product reviews ↑ Back to top
Create a list showing ALL of your product reviews, or show reviews from specific products or categories.
- All Reviews
- Reviews by Product
- Reviews by Category
Build a custom shop page ↑ Back to top
One of the cooler collections are these blocks that work together to build a custom shop page, including blocks that allow customers to browse and filter products by attributes or price.
- All Products
- Filter Products by Attribute
- Filter Products by Price
- Active Product Filters
You could start with the Column block built into WordPress to create a traditional page layout with a wide column and sidebar column. Next add the All Products block to the main content area. This block has what’s called Atomic Blocks within it, meaning if you select the All Products block and then Edit icon you’ll see new options to arrange how the products are shown in a grid.
You can use these blocks within a block to add, remove, or re-arrange elements like the product image,product title, product rating, product price, product summary, and product button.
Finally add and any combination of the remaining three blocks to the sidebar area to let customers filter by multiple attributes or price.
The WooCommerce Blocks feature plugin & more ↑ Back to top
All of these blocks start out in a feature plugin before being included in WooCommerce core. Install our WooCommerce Blocks plugin to get early access to new blocks and improvements to existing blocks.