Skip to content
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.

bug in bulk_item_promo #15

Closed
sigai opened this issue Nov 13, 2017 · 1 comment
Closed

bug in bulk_item_promo #15

sigai opened this issue Nov 13, 2017 · 1 comment

Comments

@sigai
Copy link

sigai commented Nov 13, 2017

discount += item.total() * .1

+= should be =
if there were 10 item.quantity that bigger than 20 the total would be 0!

@sigai
Copy link
Author

sigai commented Nov 14, 2017

sorry my mistake...

@sigai sigai closed this as completed Nov 14, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant