#8577 [Shopify] Fix #7724: Resolve Option 1 Name from existing Shopify Variant records
Fixed a regression where the Option 1 Name for Shopify product variants was being incorrectly reset to 'Variant' instead of preserving existing names like 'Color' or 'Size'. The fix ensures Option 1 Value is always set when the name is resolved from existing Shopify records.
- 2files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-11-06 by Debs-TVT (community contribution) · 2 files (+485 -6), 1 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Regression in product export where Option 1 Name was reset to ‘Variant’ for Shopify-origin products with existing variants
- Root cause was missing guard condition to set Option 1 Value when resolved name differed from ‘Variant’
- Added JustResolvedOption1Name flag to handle all cases consistently
- Five new test scenarios cover Shopify-origin, BC-origin, and ambiguous variant cases
- All tests pass with no regressions to existing product export functionality
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30178 “Shpfy Product Export”, Shopify: modified
Context
- Fixes: #7724 [Bug]: Shopify variant create uses wrong option name after initial import from Shopify (closed)
- Work items: AB#648928
- Labels: ADO: Sync, AL: Apps (W1), From Fork, Team: Integrations
- Systems: integration
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Synchronize items with Shopify — possibly related: Documents Shopify product variant synchronization between systems. (model-linked)
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).