Skip to content

Bundle selections of a product page leave out children that are not salable - #40

Merged
paales merged 1 commit into
mainfrom
bundle-salable-selections
Oct 20, 2026
Merged

paales merged 1 commit into
mainfrom
bundle-salable-selections

Conversation

@deployyy-platform

Copy link
Copy Markdown
Contributor

Written by Claude Code:

OptionsFromDocument leaves out a selection whose child is not salable, unless the store shows out of stock products. Core's stock filter does this on the selections collection, and BundleItemsFromDocument (GraphQL) already does it on the document path. Before, a Hyvä bundle page on the document path listed the selection as a disabled entry, and an option with one salable selection rendered as a select instead of the fixed selection.

catalog-storefront:parity:detail on a Hyvä shop: 10 of 10 random bundle pages identical (before: 4837 differing lines on the first one).

🤖 Generated with Claude Code

… shows: a selection whose child is not salable is left out unless the store shows out of stock products, as core's stock filter leaves it out, so an option with one salable selection renders as that selection and not as a list with a disabled entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@paales
paales merged commit 69bbcc1 into main Oct 20, 2026
8 checks passed
@paales
paales deleted the bundle-salable-selections branch October 20, 2026 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant