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

cart item delete error in case of discount is applied #1191

Open
DZotya opened this issue Nov 8, 2024 · 0 comments
Open

cart item delete error in case of discount is applied #1191

DZotya opened this issue Nov 8, 2024 · 0 comments

Comments

@DZotya
Copy link

DZotya commented Nov 8, 2024

Hi,

I added an item to the cart and applied a discount too. When I tried to delete the item from the cart I got the error "Cannot allocate() an empty list of ratios." on line 524 of /app/vendor/brick/money/src/Money.php. At this time the discount was in the cart yet.

Is this a bug?

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