Skip to content

BRD-1042-Emit-productType-as-separate-locale-aware-field#69

Merged
PauliusInvertus merged 1 commit into
mainfrom
BRD-1042
May 11, 2026
Merged

BRD-1042-Emit-productType-as-separate-locale-aware-field#69
PauliusInvertus merged 1 commit into
mainfrom
BRD-1042

Conversation

@PauliusInvertus

@PauliusInvertus PauliusInvertus commented May 8, 2026

Copy link
Copy Markdown
Contributor

Stops folding productType into categoryDefault as a fallback — emits it as its own productType_ field with proper per-locale translation lookup. Fixes the case where Shopify Standard Taxonomy (English-only) was masking a translated productType value, leaving non-English storefronts with English category labels.

BRD-1042

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request decouples Shopify's Standard Product Taxonomy from the legacy product type field, introducing a standalone productType attribute and removing the previous fallback logic for categoryDefault. Review feedback identifies this as a potential regression that could break search UI features like breadcrumbs and categorization. The reviewer recommends restoring the fallback for categoryDefault and ensuring that localized productType fields fall back to the primary locale's value when translations are unavailable.

Comment thread src/Adapters/ShopifyAdapter.php
Comment thread src/Adapters/ShopifyAdapter.php
@PauliusInvertus PauliusInvertus merged commit dbca69d into main May 11, 2026
7 checks passed
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.

2 participants