#11400 [Shopify] Handle missing variant mapping in product action
The Show product in Shopify action on the Item Card and Item List is now enabled only when the item has a Shopify Variant linked through an enabled shop. If the variant mapping disappears before the action runs, users get clear guidance instead of a raw database filter error.
- 4files
- 3AL files
- 3objects
Pull request · merged into main (BC30) on 2026-09-18 by onbuyuka · 4 files (+86 -40), 3 AL · fix · tier official · reviewed (checked by Opus)
What changed
- Action enabled only when item has a valid Shopify Variant linked through an enabled shop
- Clear error guidance provided if variant mapping disappears between page rendering and action invocation
- Same validation behavior applied to both Item Card and Item List pages
- No schema or data changes; existing valid mappings unaffected
- Regression tests added for the new validation logic
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30185 “Shpfy Sync Products”, Shopify: modified
- Page extension 30119 “Shpfy Item Card”, Shopify: modified
- Page extension 30120 “Shpfy Item List”, Shopify: modified
Context
- Work items: AB#649996
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: “The action only when the item has a Shopify Variant linked through an enabled shop.”
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).