Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Product Collection: Parse front-end context (POC) #44144

Open
xristos3490 opened this issue Jan 28, 2024 · 0 comments · May be fixed by #44145
Open

Product Collection: Parse front-end context (POC) #44144

xristos3490 opened this issue Jan 28, 2024 · 0 comments · May be fixed by #44145
Assignees
Labels
block: product collection Issues related to the Product Collection block status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. team: SomewhereWarm A number of WC extensions type: task The issue is an internally driven task (e.g. from another A8c team).

Comments

@xristos3490
Copy link
Member

xristos3490 commented Jan 28, 2024

Description

The Product Collection needs to consume data from three sources in the front-end context:

  1. Block-level context (User selected a product within the block inspector controls)
  2. Ancestor-level context (e.g., the Single Product block)
  3. Global context (this POC)

Similar for the editor side: #43694

Requirements

Possible contexts:

  • Product
  • Cart/Checkout
  • Order
  • Archive
  • Site (generic, empty source data)

All need to be specific and fill in the required source data:

  • Product: The product ID.
  • Cart: The cart contents product IDs.
  • Archive: The taxonomy name and the viewed term ID.
  • Order: The order ID.
@xristos3490 xristos3490 added type: task The issue is an internally driven task (e.g. from another A8c team). team: SomewhereWarm A number of WC extensions block: product collection Issues related to the Product Collection block labels Jan 28, 2024
@xristos3490 xristos3490 self-assigned this Jan 28, 2024
@xristos3490 xristos3490 linked a pull request Jan 28, 2024 that will close this issue
11 tasks
@xristos3490 xristos3490 added the status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. label Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block: product collection Issues related to the Product Collection block status: blocked The issue is blocked from progressing, waiting for another piece of work to be done. team: SomewhereWarm A number of WC extensions type: task The issue is an internally driven task (e.g. from another A8c team).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant