Skip to content

New Product Query Block #42616

@sunyatasattva

Description

@sunyatasattva

We are looking to create a new block, based (ideally or practically) on the Gutenberg Query Loop block whose goal is to replace all of our current product-displaying blocks. This new block should be flexible enough to reproduce all of the use-cases currently covered by existing blocks (e.g. showing all products, showing only new products, or products on sale, etc.), while also being filterable via dedicated filter blocks and compatible with FSE templates (i.e. it should replace the placeholders we currently use in archive templates).

This epic tracks the progress on producing a POC of this block, and not a final release. The POC should display all the above characteristics, albeit allowing for some cases not being fully covered. Specifically, we know the POC is going to have at least the following limitations:

  1. Filter blocks will have to reload the page to interact with the block.
  2. Multiple blocks with different queries won't be compatible with filter blocks.
  3. We might have to rethink the hierarchy requirements of filter blocks in the long run.
  4. Settings on the editor side won't be as user-friendly and could cause breakage of the block, due to difficulties in selecting or locking specific settings while extending a core block.

Phases 1–2

Phase 3

FSE

Note
FSE-related issues have been moved away from Phase 3 as of pdnLyh-2jZ-p2#comment-1685

Product elements

Settings & Variations

Filters

Patterns

Bugs and polishing

Related blocking issues

Phase 4

Enhancements

Product elements

Bugs and polishing

Phase TBD?

Product elements

FSE

Only required with custom “Inherit from template” logic

Settings and Variations

Bugs and polishing

Flaky tests

On hold and iceboxed

FSE

Product elements

Settings and Variations

Only required with custom “Inherit from template” logic (issues closed and shall be reopened in case we follow work on custom “Inherit from template”)

🔄 - In progress
🔨 - Ready to work
🛑 - Blocked

Metadata

Metadata

Labels

KirigamiWC Store Editing (FSE)type: epicContainer issue with high-level description of work that will be done in sprint.type: new blockApplied to work that introduces a new block (typically used on an epic issue).

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions