This is a developmental repo. Clone this repo and run npm install && npm run build
OR
Download latest release |
---|
Experimental mini-extension for WooCommerce Mix and Match Products that validates a container product by the weight of the selected child products.
- Go to the Mix and Match tab in the product data metabox (if creating a new product, select Mix and Match as the product type and then go to the Mix and Match tab)
- Change the "Validate by" option to "By weight" and then enter the minimum and maximum weights. (Weights are in the units set for your store in the WooCommerce settings)
- This is provided as is and does not receive priority support.
- Please test thoroughly before using in production.
- Requires Mix and Match 2.4.0+
- Min/Max container prices are still calculated by the core plugin as a function of stock limitations, so that From price may not be what you'd expect by weight limitations.
- Unsure handling of weight rounding. Will definitely work better with whole numbers or weight that will not require rounding on calculations, ex: 1kg, .5kg, .25kg.
- You are responsible for making sure the container can be filled at the weight restrictions set. Ie: a .5kg fixed container cannot be correctly filled if all items are .333kg.
Plugin updates can be enabled by installing the Git Updater plugin.