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

[SD-991] Allow removing of line item added by promo code in cart (fix internal server error possibility) #10597

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aplegatt
Copy link
Contributor

@aplegatt aplegatt commented Dec 7, 2020

No description provided.

@squash-labs
Copy link

squash-labs bot commented Dec 7, 2020

Manage this branch in Squash

Test this branch here: https://cart-line-item-product-8zarn.squash.io

@aplegatt aplegatt marked this pull request as ready for review December 7, 2020 11:33
@nnande
Copy link
Contributor

nnande commented Dec 7, 2020

Is it possible to make the line item related promo ineligible instead of removing it?
It should result in deactivated promotion source that won't be applied again, just as it happens now.

What do you think? @aplegatt

@aplegatt
Copy link
Contributor Author

@nnande Unfortunately it seems that the only option, with how it works currently, is to remove promotion from the order completely. Deactivating it does not solve the problem as it is being activated again while recalculating the cart.

Copy link
Contributor Author

@aplegatt aplegatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is waiting for CR/Approvals.

@damianlegawiec damianlegawiec requested review from szymoniwacz and removed request for przemosk and nnande August 14, 2021 17:29
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

Successfully merging this pull request may close these issues.

None yet

2 participants