Skip to content

Conversation

creative-andrew
Copy link
Contributor

@creative-andrew creative-andrew commented May 22, 2025

This pull request introduces improvements to how variation attributes are handled and resolved in the WooCommerce GraphQL integration. The key changes include adding a label field to variation attributes and simplifying the resolution logic for the label field.

Enhancements to variation attribute handling:


When asking for the "LABEL" of a term in product attributes, we are getting the taxonomy slug.

BEFORE
image

Notice how we are getting color as the label of green.

AFTER
image

Notice how we are getting Green as the label of green as it should be.

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