Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Product Query [3]: [FSE] Product Query block should respect catalog visibility options #7645

@sunyatasattva

Description

@sunyatasattva

Products can be marked with different visibility options within the admin dashboard:

CleanShot 2022-11-09 at 10 34 13@2x

CleanShot 2022-11-09 at 11 28 27@2x

Currently, the Product Query block doesn't respect this setting, and just shows every product.

image

By default, the Product Query block should respect the visibility options in both FSE templates and other editor context. That means that if a product is set to be “Hidden”, it should not show up even in Product Query blocks used in Posts and Pages. Eventually (issue link TBD) we'll add an option to override this within the inspector, but we'll settle for this default for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    block-type: product-queryIssues related to/affecting all product-query variations.status: on holdThe issue is currently not prioritized or is awaiting something (for example, a fix upsteam).type: bugThe issue/PR concerns a confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions