Skip to content

Backcourt/wc-mnm-child-item-step

Repository files navigation

WooCommerce Mix and Match: Child Item Step

Quickstart

This is a developmental repo. Clone this repo and run npm install && npm run build
OR
Download latest release

What's This?

Mini-extension for WooCommerce Mix and Match that forces Mix and Match Require Mix and Match child items to be in quantity multiples, ie: 6,12,18,etc.

Front end Mix and match product. THe quantity input for the Chocolate Chip Cookie product has a red popup notice that reads "Quantity must be a multiple of 2"

Important

  1. This is proof of concept and not officially supported in any way.
  2. Requires Mix and Match Products 2.1.2.

Usage

In the "Mix and Match" tab of the Product Data metabox you will now see a "Child item step" input. This is the number that the child item quantity must be a multiple of in order for the container to be valid..

metabox showing child item step size text input

Automatic plugin updates

Plugin updates can be enabled by installing the Git Updater plugin.

About

Require Mix and Match child items to be in quantity multiples, ie: 6,12,18,etc.

Resources

Stars

Watchers

Forks

Packages

No packages published