WP Manifestindependent plugin directory
manifest / ecommerce / woocommerce-bulk-pricing

WooCommerce Bulk Pricing

Adds bulk pricing fields to WooCommerce product data

★ 1stars

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/asuh/woocommerce-bulk-pricing/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.

WooCommerce Bulk Pricing adds quantity-based bulk pricing to WooCommerce products. It adds tier controls to the product edit screen and applies the highest matching tier price in the cart.

  • Enable bulk pricing on a per-product basis.
  • Define unlimited quantity-based pricing tiers.
  • Automatically adjust cart item prices based on the configured tiers.
  • Preserve the product's normal WooCommerce cart price when no tier applies.

Features

  • Bulk Pricing Toggle:
    Easily enable or disable bulk pricing for each product.

  • Customizable Pricing Tiers:
    Define any number of pricing tiers, each with a minimum quantity and a bulk price that overrides the product's normal WooCommerce price when the threshold is met.

  • Bulk Cart Price Adjustments:
    The plugin updates the product price in the cart based on the highest applicable tier, falling back to the product's normal WooCommerce cart price if no tier qualifies.

  • Variation-Aware Quantities: Product variations qualify for pricing tiers independently from other variations of the same parent product.

Requirements

  • WordPress 6.0 or higher
  • WooCommerce 9.1 or higher
  • PHP 8.3 or higher

Installation

  1. Upload the Plugin Files:

    • Create a folder named woocommerce-bulk-pricing in your /wp-content/plugins/ directory.
    • Upload the following files into that folder:
      • woocommerce-bulk-pricing.php
      • admin-bulk-pricing.css
      • admin-bulk-pricing.js
      • LICENSE
  2. Activate the Plugin:

    • Log in to your WordPress admin dashboard.
    • Go to Plugins > Installed Plugins.
    • Locate WooCommerce Bulk Pricing in the list and click Activate.

Usage

  1. Enable Bulk Pricing on a Product:

    • Edit a product in WooCommerce.
    • In the Product Data panel, you'll see a new section with a checkbox labeled Enable Bulk Pricing. Check this box to enable bulk pricing for the product.
  2. Configure Pricing Tiers:

    • Once enabled, a fieldset labeled Bulk Pricing Tiers appears.
    • Click the Add Tier button to create a new pricing tier.
    • Enter the Minimum Quantity and Bulk Price for that tier inside the provided inputs.
    • You may add as many tiers as needed.
    • Remove any tier using the Remove button next to each tier row.
  3. Save Your Product:

    • Update or publish your product to save the bulk pricing configuration.
  4. Cart Behavior:

    • In the shopping cart, the pricing logic will automatically adjust:
      • If only one item is purchased, the product's normal WooCommerce cart price is used.
      • If the quantity meets or exceeds a tier’s minimum, the corresponding bulk price is applied.
      • Product variations qualify for tiers independently from one another.

File Structure

woocommerce-bulk-pricing/
├── LICENSE
├── README.md
├── admin-bulk-pricing.css
├── admin-bulk-pricing.js
└── woocommerce-bulk-pricing.php
File Purpose
woocommerce-bulk-pricing.php Main plugin file. Registers WooCommerce hooks, renders product pricing fields, saves tier metadata, and applies cart pricing rules.
admin-bulk-pricing.js Admin product edit screen behavior for showing/hiding the tier panel and adding/removing tier rows.
admin-bulk-pricing.css Admin-only styles for the bulk pricing tier fields.
README.md Installation, usage, behavior notes, and changelog.
LICENSE GPL-2.0-or-later license text.

Changelog

1.0.1

  • Hardened saves, WooCommerce bootstrapping, cart price restoration, variation tier handling, translations, admin CSS, and license metadata.

1.0

  • Initial release

License

This plugin is licensed under GPL-2.0-or-later. See LICENSE.

Contributing

Contributions, issues, and feature requests are welcome!

Disclaimer

This plugin is provided "as is" without any warranty. Use it at your own risk. Always backup your site before making any changes.