- 🇺🇸United States damienmckenna NH, USA
Is this what you were thinking of? I can turn it into a merge request if it's correct.
Currently, the availability checker is relying on the order item matcher to match any existing quantities in cart.
Instead, our logic should be much simpler, we should loop over the order lines items, and add-up any quantities for order items referring the same purchased entity.
Doing that will ensure we also support the use-case when order items are not combined, since we do not want to allow less than the minimum quantity configured or more than the max quantity, regardless of the combining behavior.
Needs review
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Is this what you were thinking of? I can turn it into a merge request if it's correct.