code change · fixIntegration & APIsofficial - Microsoftreviewed - checked by Opus

#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.

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

Also merged into

  • #13210 into releases/29.x on 2026-10-27

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.”

No source states these links: they share an object, a model read them, or a person found the same subject.

  • Manage product variants — possibly related: Product variants require proper mapping for Shopify synchronization to function correctly. (model-linked)
  • Synchronize items with Shopify — possibly related: Item synchronization with Shopify requires variant mapping for product action handling. (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).