spree-contrib/spree-product-assembly

Availability validated for wrong quantity

mstate opened this issue · 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.

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