WP Manifestindependent plugin directory
manifest / ecommerce / minorda

Minorda

Manage minimum quantity and value rules for WooCommerce products and product taxonomies.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/guywall/minorda/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Minorda lets store owners enforce minimum and maximum quantity or value rules for specific WooCommerce products, categories, and product taxonomies.

Description

Minorda adds a WooCommerce admin screen for managing minimum-purchase rules without editing products one by one.

Each rule can target:

  • One or more specific products
  • Product categories
  • Terms from any registered taxonomy attached to WooCommerce products

Each rule can require:

  • A minimum quantity
  • A minimum matched subtotal
  • A maximum quantity
  • A maximum matched subtotal
  • Either threshold to pass when both are set

Storefront enforcement happens during add to cart. When multiple rules match, Minorda applies the strictest matching rule using the current plugin logic.

Features

  • Dedicated WooCommerce admin screen for rule management
  • Multiple active rules at the same time
  • Product search with AJAX lookup in admin
  • Taxonomy-based targeting for categories and custom product taxonomies
  • Enable, disable, edit, and delete actions for rules
  • Product-page minimum quantity explainer near the add to basket area
  • Product-page maximum quantity explainer near the add to basket area
  • Product-page default quantity prefilled from the relevant minimum quantity rule
  • Add-to-cart validation with customer-facing error notices
  • Matched subtotal calculation excludes tax, shipping, and fees
  • Optional per-product quantity scope when each listed product needs its own quantity limit

Installation

  1. Copy the plugin files into your WordPress wp-content/plugins/minorda directory.
  2. Activate WooCommerce if it is not already active.
  3. Activate Minorda from the WordPress Plugins screen.
  4. Open WooCommerce > Minorda to create your rules.

Frequently Asked Questions

How are overlapping rules handled?

Minorda selects a single strictest rule for the attempted product. Quantity-based rules take priority over value-only rules, and stricter quantity ranges are preferred when maximums are involved.

Does the minimum value use the whole cart total?

No. Only the subtotal of products matched by the selected rule is used.

Can I target custom product taxonomies?

Yes. Minorda supports any registered taxonomy attached to WooCommerce products and shown in the admin UI.

Changelog

1.0.6

  • Tightened Elementor/WooCommerce product form styling so the rule badge no longer pushes the add to basket controls sideways.

1.0.5

  • Moved the product-page rule badge below the add to basket button.
  • Added frontend styling so the badge takes a full row beneath the basket controls.

1.0.4

  • Added a per-product quantity scope so quantity limits can apply to each matched product individually instead of using one combined quantity total.
  • Updated storefront quantity explainers and notices for per-product quantity caps.

1.0.3

  • Added maximum quantity and maximum value support to rule setup and enforcement.
  • Added front-end maximum quantity explainers alongside minimum quantity notices.
  • Extended rule validation, summaries, and tests for minimum and maximum ranges.

1.0.2

  • Added a front-end minimum quantity explainer near the add to basket form.
  • Prefills the default product quantity with the relevant minimum quantity.
  • Keeps lower quantities editable while still blocking non-compliant add-to-cart attempts.
  • Updated plugin author to Webrankers.

1.0.1

  • Renamed the plugin to Minorda.
  • Updated plugin branding and text domain to minorda.
  • Confirmed syntax and rule engine tests after the rename.

1.0.0

  • Initial release with rule management screen, product and taxonomy targeting, and add-to-cart minimum enforcement.