Menu
Feedback
Start here

Known issues

Known issues
DiscountExpression Always Uses the Cheaper Freight Regardless of the Selected One
Pricing & Promotions
ID: 1075053
Backlog
Published on8/2/2024
Last updated on8/2/2024
1 min read

Summary

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

Simulation

  • Create a promotion formula that applies a discount based on the total amount including freight.
  • Set multiple shipping methods with different costs.
  • Add items to the cart and select a shipping method that is not the cheapest.
  • Apply the promotion and proceed to checkout.
  • Observe that the discount is calculated using the cheapest shipping method rather than the selected one.

Workaround

There is no workaround available.

Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback