Edit the Product Catalog Template

This tutorial will help us set up the product catalog template, the product collection block, and the product cards to look their best.

Align Buttons to the Bottom

The best way to align the buttons to the bottom of each product card is to turn the Product Template card into a vertical Stack (Flexbox column) and push the button down using Space Between alignment.

Use a Stack Block

This is the cleanest built-in method in the WordPress Site Editor:

  1. Open List View and expand the Product Template block.
  2. Select all the blocks inside the Product Template (Image, Title, Price, Button, etc.), click the three-dot menu, and select Group.
  3. In the right-hand block settings sidebar for that new Group, change its layout to Stack (the vertical flex layout).
  4. Set the minimum height on this new Stack block (mine was 444 px).
  5. Group the top elements together (e.g., Image, Product Title, and Price) into their own inner Group so you now have just two main items inside your outer Stack:
    • Top Group (Image + Title + Price)
    • Bottom Item (Add to Cart Button) (Ungrouped)
  6. Select the outer Stack block, and in the edit header bar just above the product block, set vertical alignment to Space Between.

Because there are only two items in the vertical Stack, Space Between pins the top group to the top and pushes the button to the bottom edge.