Blog · WooCommerce

WooCommerce 9.0 Product Collection Blocks: Build Better Product Grids

Jun 28, 2024By Vladimir Mrkela
Share LinkedInX
WooCommerce 9.0 Product Collection Blocks: Build Better Product Grids

Online stores rely on product grids to help shoppers find items and compare options.

In WooCommerce 9.0, Product Collection blocks let store managers choose which products appear and shape how those collections look, making them an important part of the shopping experience.

Understanding how these blocks work can help you present products clearly and make your store easier to browse.

The sections below explain how to build and customize a Product Collection.

What Changed in Product Collection Blocks?

WooCommerce Product Collection blocks offer a flexible way to display products alongside existing product blocks. In WooCommerce 9.0, you can adjust a collection’s layout and settings directly in the block editor, rather than relying on separate blocks for common product displays.

Product Collection blocks let you adjust product layouts and settings directly in the editor, providing another option for common product displays.

You’ll also get clearer Query controls for deciding which products appear. For example, you can set a collection to show recent items or products that match selected criteria, then refine its display without rebuilding the grid.

Check the editor’s settings after adding a collection, because available controls can vary by context. Block pattern customization gives you another practical change: you can save a configured collection as part of a reusable pattern. That helps you keep similar product sections consistent across pages.

Review the pattern before reusing it, especially if its product query should differ.

Choose a Product Collection Type

Start by choosing the collection type that matches the products you want to show, such as recent arrivals, featured items, or products from a specific category. This collection type selection sets the source for the products in your block, so match it to the goal of the page.

For example, use recent arrivals to highlight new stock, or choose a category when you want to focus on one product group.

In the block settings, review the product source options available in your store. You may see choices for sale items, best sellers, handpicked products, or products related to a particular item. Pick a source that fits your audience and the page context.

If you’re unsure, start with a small, clear group, such as featured products. You can change the collection type later if your needs shift. Check that the selected source contains products before you continue.

Build a Product Grid in the Block Editor

Once you’ve chosen a collection type, add it to the page and arrange its products in a grid. In the Block editor, select the collection block, then place it where shoppers should see it.

Choose a collection block, position it on the page, and arrange its products in a grid where shoppers will see them.

Your WooCommerce grid setup starts with the products the block displays, so check that the selection fits the page’s purpose.

Use the block toolbar and editor controls to shape the basic grid:

  • Add the collection to a product page, shop page, or landing page.
  • Choose whether it shows products you select or items that match a rule.
  • Review the preview to confirm the products appear in the expected order.
  • Add a heading or nearby text if shoppers need context.

Block editor product grids work best when you keep the selection focused. Preview the page at different screen sizes, and make sure the grid sits naturally with the content around it.

You can adjust its layout and details next.

Set Product Collection Layouts and Details

How should the products appear in your collection? Select the Product Collection block, then use the settings in the editor’s sidebar to shape its grid. You can adjust layout settings such as the number of columns and rows, and choose whether products fill the available space.

Pick a column count that suits your page width and the amount of information shoppers need to scan. Choose a grid layout that fits your content, and check which variations are available in your WooCommerce version.

Next, refine product details. Adjust the nested blocks to include or remove elements such as product images, titles, prices, ratings, and buttons. Keep details that help shoppers compare items, and remove extras that make the collection feel crowded.

You can also set image proportions and alignment when those options are available. Save your edits.

Check Your Product Grid on the Storefront

Preview the product grid on your storefront to see how it looks to shoppers, not just in the editor. Open the page on a desktop, then check it on a phone and tablet. The storefront can reveal spacing, image, and navigation issues that aren’t obvious while editing.

Preview your product grid on desktop, phone, and tablet to catch storefront issues the editor might miss.

  • Check responsive layouts at different screen widths. Confirm columns adjust cleanly and product titles don’t crowd each other.
  • Verify product links by opening several items. Make sure each card leads to the correct product page.
  • Review images for consistent sizing and cropping, especially when products have different aspect ratios.
  • Test sorting, filters, and add-to-cart buttons if your collection includes them.

Ask someone unfamiliar with the page to find a product. If they hesitate, adjust labels or spacing. Fix issues in the block editor, then preview the storefront again before publishing. Recheck after changing products or layout settings.

Frequently Asked Questions

Can Product Collection Blocks Display Products Based on Customer Location?

Yes, you can create region-specific product collections using geolocation-based product filtering, but standard Product Collection blocks don’t target customer location by themselves. You’ll need a compatible extension or custom code to apply location-based rules.

Do Product Collection Blocks Work With WooCommerce Extensions and Custom Product Types?

Yes, you can use Product Collection blocks with many WooCommerce extensions and custom product types, but compatibility varies. Check each extension’s documentation and test custom product types to confirm they display and behave correctly in your store.

Can I Use Custom CSS to Style Product Collection Blocks?

Yes, you can use custom CSS to style Product Collection blocks. Add CSS through your theme or site editor, target block classes, and adjust colors, spacing, typography, and responsive layouts. Check CSS styling options across devices.

How Do Product Collection Blocks Affect Store Performance and Page Speed?

Product Collection blocks can slow your store if you display many items or load large images. Use image optimization, query caching, and fewer products per page to keep your pages responsive and fast.

Are Product Collection Blocks Compatible With Third-Party WordPress Themes?

Yes, you can use Product Collection blocks with most third-party WordPress themes. Run theme compatibility testing, then use block template customization to adjust layouts. If styling conflicts arise, update your theme or add targeted CSS.

Tags
  • Product collections
  • Product grids
  • WooCommerce

About the author

Vladimir Mrkela

Vladimir Mrkela

Senior WordPress Developer

I’m a senior WordPress developer and co-founder of Pixel Industry. I’ve spent more than 12 years building websites, custom plugins, and integrations for all kinds of projects. I enjoy working on complex architecture, solving tricky problems, and sharing what I learn along the way.

Ready to build?

Have a WordPress project that needs expert judgment?

Get a Free ConsultationTell us about your project and we will get back to you soon.