{"section":"known-issues","requestedLocale":"en","requestedSlug":"discountexpression-always-uses-the-cheaper-freight-regardless-of-the-selected-one","locale":"en","slug":"discountexpression-always-uses-the-cheaper-freight-regardless-of-the-selected-one","path":"docs/en/known-issues/Pricing & Promotions/discountexpression-always-uses-the-cheaper-freight-regardless-of-the-selected-one.md","branch":"main","content":"## Summary\n\n\nThe `DiscountExpression`, which is a discount based on a formula defined in the promotion settings, always uses the cheaper freight option regardless of the shipping method selected by the customer. This results in discrepancies between the discount given and the expected discount based on the selected shipping method.\n\n\n\n##\n\n## Simulation\n\n\n\n- Create a promotion  `formula` that applies a discount based on the total amount including freight.\n- Set multiple shipping methods with different costs.\n- Add items to the cart and select a shipping method that is not the cheapest.\n- Apply the promotion and proceed to checkout.\n- Observe that the discount is calculated using the cheapest shipping method rather than the selected one.\n\n\n##\n\n## Workaround\n\n\nThere is no workaround available."}