Introduction

Updated 11 July 2026

Quantity Pricing Rules (@webbycrown/medusa-quantity-pricing-rules) is a Medusa v2 plugin that lets store owners and administrators configure volume-based and tiered pricing directly from Medusa Admin – without writing code for everyday pricing work.

Whether you sell wholesale, offer bulk discounts, or run B2B tier tables, this plugin helps you set “buy more, pay less” rules per product and optionally per variant.

What is quantity pricing?

Quantity pricing (also called volume pricing, tier pricing, or bulk pricing) means the unit price changes based on how many items a customer buys.

You define these tiers in Medusa Admin. The plugin stores them in your database and calculates the correct price when your storefront requests it.

Introduction

Why use quantity pricing?

Key features

Admin settings page

Settings → Extensions → Quantity Pricing

Product widget

Manage tiers on each product page (product ID pre-filled)

Store widget

Rule count summary on Settings → Store

Three pricing types

Fixed price, percentage discount, fixed amount off

Quantity ranges

Min/max quantities; empty max = open-ended (e.g. 51+)

Variant scoping

All variants or one specific variant

Multi-currency

One currency per rule (usd, inr, eur, etc.)

Customer groups & regions

B2B/regional rules via Admin API

Store API

List tiers and get calculated_price for any quantity

Auto cleanup

Rules removed when a product is deleted

How it works

Note The plugin provides pricing calculation and Admin management. It does not automatically update cart line items – your storefront must call the Store API and apply the returned unit_price.

Common use cases

Wholesale pricing

Fixed price tiers at 10, 25, 50+ units

Bulk retail discounts

5+ save 10% (percentage tier)

B2B segment pricing

Customer group rules via API

Variant case pricing

48-pack variant only

Inventory clearance

Aggressive fixed tiers at high quantities

Multi-currency

Separate INR and USD tier tables

Requirements

Warning This plugin is for Medusa v2 only. It does not support Medusa v1.

Resources