spree-product-assembly icon indicating copy to clipboard operation
spree-product-assembly copied to clipboard

Availability validated for wrong quantity

Open mstate opened this issue 10 years ago • 1 comments

The AvailabilityValidator seems to be validating for the entire quantity of the line_item instead of the quantity being added to the line_item (as spree's does). The AvailabilityValidator needs to be changed to validate only the availability of additional parts needed to fulfill changes to the line_item's quantity.

mstate avatar Feb 12 '15 22:02 mstate

I've submitted pull request #106 with proposed code changes.

mstate avatar Feb 13 '15 00:02 mstate