| 开发者 | anhqui |
|---|---|
| 更新时间 | 2026年6月30日 10:49 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[tiered-pricing-table] — place the pricing table anywhere: pages, posts, or widgets/wp-json/wc/v3/products/{id}[tiered-pricing-table product_id="123"]
Override the display template per placement:
[tiered-pricing-table product_id="123" template="blocks"]
Available templates: table, blocks, list, tooltip, dropdown
The prefixed alias [anhqtm-pricing-table] is also supported for backward compatibility.
REST API
The plugin extends the WooCommerce Products REST endpoint with a tiered_pricing field.
Read pricing data:
GET /wp-json/wc/v3/products/123
Returns:
json
{
"tiered_pricing": {
"pricing_type": "percentage",
"tiers": [
{ "qty": 5, "value": 10 },
{ "qty": 10, "value": 15 }
],
"min_qty": 1,
"max_qty": 0,
"qty_step": 0
}
}
Write pricing data (requires authentication):
POST /wp-json/wc/v3/products/123
Send the same tiered_pricing object in the request body.
The field anhqtm_tiered_pricing is also available as a prefixed alias for backward compatibility.
anhqui-tiermatrix-for-woocommerce folder to /wp-content/plugins/.The free version is fully functional with no product limits. You get unlimited pricing tiers, unlimited products, all five display templates, quantity controls, shop-page price display, colour customisation, shortcode support, REST API access, and CSV import/export — all free. The Pro version adds role-based pricing, global pricing rules, and cart upsell messages.
After installing and activating the plugin, open any product in WooCommerce, scroll to the Product Data box, and click the Tiered Pricing tab. Add your quantity tiers (e.g., Buy 5+ → 10% off, Buy 10+ → 20% off) and save the product. The pricing table appears automatically on the product page.
Go to the Tiered Pricing tab on any product, choose "Percentage" or "Fixed Price" as the pricing type, and add rows for each quantity threshold. Customers who reach that quantity automatically receive the discounted price at checkout. The table updates live as they adjust the quantity input.
Yes. The core bulk pricing table features — unlimited tiers, five templates, quantity controls, and CSV import/export — are completely free with no subscription required.
Yes. Tiered pricing applies to the selected variation's base price. You can set tiers at the product level and they apply across all variations.
Yes. Go to WooCommerce → Tiered Pricing → Display and enable the shop/catalog price display. You can show the lowest available price ("From $10.00"), the full price range ("$75.00 – $100.00"), or an "As low as $X.XX" label.
All five templates are included for free: Table, Blocks, List, Tooltip, and Dropdown. You choose a default template in the global settings and can override it per-product.
Yes. Go to WooCommerce → Tiered Pricing → Colors to set the highlight colour, text colour, header background, and header text. Go to Column Labels to rename any column header (Quantity, Discount, Price) or the "You Save" label.
Role-based pricing is a Pro feature. With Pro you can set separate price tiers, minimum quantities, and pricing tables per user role — ideal for wholesale and B2B stores. Get the Pro version.
Global Pricing Rules are a Pro feature. They let you define one tiered pricing rule and apply it across multiple products and categories simultaneously — no need to edit each product individually. Get the Pro version.
Yes. The plugin declares full compatibility with WooCommerce High-Performance Order Storage (HPOS).
Yes. Tiered pricing applies to the product base price; WooCommerce then applies coupons and calculates tax on the discounted price as normal.
Yes. Use [tiered-pricing-table product_id="123"] to display the table anywhere on your site. You can also pass a template parameter to choose which of the five display styles to use. The prefixed alias [anhqtm-pricing-table] is also accepted.
Yes. You can use the shortcode [tiered-pricing-table] inside a Shortcode block in the Gutenberg editor to place the pricing table anywhere on a page or post.
Yes. Insert the shortcode into any Shortcode widget in Elementor, Divi, WPBakery, or any page builder that supports shortcodes.
No. All computed tier data is stored in WordPress transients (server-side cache). You can control the cache duration in WooCommerce → Tiered Pricing → Performance.
Yes. The free version exports and imports the pricing type, tier data, and quantity controls via WooCommerce's built-in product CSV tools. Full CSV round-trip support for role-based pricing fields is available in the Pro version.
Yes. In the Tiered Pricing tab on any product, set the Minimum Quantity field. Customers will not be able to add fewer than that number to the cart.
Post in the support forum on WordPress.org.
[tiered-pricing-table] now matches the Pro plugin's shortcode tag — no changes needed when upgrading. The [anhqtm-pricing-table] alias remains supported for backward compatibility.tiered_pricing now matches the Pro plugin's field name — no API changes needed when upgrading. The anhqtm_tiered_pricing alias remains supported for backward compatibility.[anhqtm-pricing-table] for manual placement.