microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
749 stars 600 forks source link

[Shopify] Add items as product variants #26712

Open tinestaric opened 3 weeks ago

tinestaric commented 3 weeks ago

This pull request does not have a related issue as it's part of delivery for development agreed directly with @AndreiPanko

Added an action to Variants subpage to add BC Items as additional Variants to an existing Shopify Product. If the parent product only had a default variant before the addition, it is deleted from both Shopify and BC. The variants are added under the existing the Product Option (ex. Color, Material, or Title, if product only had the default variant)

Items cannot be added if the shop has "UOM as Variant" enabled, or if the parent product has more than one option defined.

Fixes #26819 Fixes AB#468218