coopcycle / coopcycle-web

Logistics & marketplace platform. Only for worker-owned business.
https://coopcycle.org
Other
571 stars 130 forks source link

Weight regarding "Marchandise" quantity #4586

Closed 0bi0ne1312 closed 2 months ago

0bi0ne1312 commented 2 months ago

When I select a certain type of merchandise, and if it is related to a weight value, this last value don't take into account the number of parcels I have.

For example, if I have two "petit colis 10kg" of 6 kg each, 12kg total that I put in the weight value, the platform send me back an error.

The expected behavior would be to take into account the number of parcels as a divider of the weight value.

Screenshots poids

Atala commented 2 months ago

this error is due to the pricing rule not matching, not any validation regarding parcel weight VS weight input (no validation is performed at the moment)