Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cart Discount Example Issue with Discount Recalculation after Editing an Order in Administration #1626

Open
No-999 opened this issue Dec 20, 2024 · 0 comments

Comments

@No-999
Copy link

No-999 commented Dec 20, 2024

In the current documentation for adding cart discounts (https://github.com/shopware/docs/blob/main/guides/plugins/plugins/checkout/cart/add-cart-discounts.md), there is a critical issue related to the discount recalculation when editing an order in the administration. Specifically, when a discount is applied to an order, and then the order is edited by double-clicking the discount and canceling the action, it triggers a recalculation of the discount. This causes the same discount to be added again to the order.

This behavior is not described in the documentation, and it creates confusion for users who are attempting to manage orders and discounts in the Shopware administration. It would be helpful to clarify the expected behavior in such scenarios and to provide a solution or workaround for this issue in the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant