{"section":"known-issues","requestedLocale":"en","requestedSlug":"promotion-applies-to-all-slas-instead-of-only-selected-shipping-method","locale":"en","slug":"promotion-applies-to-all-slas-instead-of-only-selected-shipping-method","path":"docs/en/known-issues/Pricing & Promotions/promotion-applies-to-all-slas-instead-of-only-selected-shipping-method.md","branch":"main","content":"## Summary\n\n\nPromotions that should be restricted to a specific shipping method (SLA) are not behaving correctly unless the deprecated `isSlaSelected` flag is explicitly set to `true`. The new Regular Promotion UI no longer exposes this flag, and when creating promotions through it, the flag defaults to `false`. This results in incorrect behavior, where the benefit is applied to any available shipping method, as long as the specified method is listed among the options in the cart simulation.\n\n\n#### Simulation\n\n\n\n- Create a promotion with a discount restricted to a specific and valid shipping method using the new Regular Promotion form.\n- In the cart, add a product and ensure that the specific shipping methods are available for the cart.\n- Noticed that even if the selected Shipping Method is not the one configured in the promotion settings, the discount will still apply\n- The expected behavior is that the discount should only apply if the specific shipping method is actually selected.\n- This only works correctly if the deprecated `isSlaSelected` flag is set to `true` (which is not possible through the new UI).\n\n\n#### Workaround\n\n\nSet `isSlaSelected = true` via API. This ensures that the promotion is only applied after the matching SLA is selected."}