| 开发者 | anhqui |
|---|---|
| 更新时间 | 2026年10月26日 06:40 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[tiered-pricing-table] — place the table anywhere/wp-json/wc/v3/products/{id}{qty_needed}, {discount} and {next_price} placeholders.
[PRO] Role Pricing in CSV
Export and import role-based prices and tiers with WooCommerce's built-in product CSV tools, alongside the free tier columns.
👉 Get TierMatrix Pro
Already using the plugin?
If your store used percentage discounts before version 1.0.3, you keep them — free, automatically. Nothing changes on your store.
Upgrading from Free to Pro
Pro is a separate plugin: deactivate the free plugin, then install and activate Pro. Pro imports your existing tiers, quantity controls and settings automatically, so your store keeps working without any setup. Your free-version data stays saved in case you ever switch back.
Enjoying This Plugin?
If Simple Tiered Pricing Table has helped you set up quantity discounts and bulk pricing on your store, please take a moment to leave a ★★★★★ review. Your review helps other WooCommerce store owners discover the plugin and directly supports its continued development. Thank you!
Shortcode Usage
[tiered-pricing-table product_id="123"]
The prefixed alias [anhqtm-pricing-table] also works.
Choose a template per placement:
[tiered-pricing-table product_id="123" template="blocks"] — table, blocks, list, tooltip, dropdown
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": "fixed",
"tiers": [
{ "qty": 5, "value": 9.00 },
{ "qty": 10, "value": 8.00 }
],
"min_qty": 1,
"max_qty": 0,
"qty_step": 0
}
}
"pricing_type": "percentage" requires Pro.
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.
Per-variation tiers via /products/{id}/variations/{vid} require Pro.
anhqui-tiermatrix-for-woocommerce folder to /wp-content/plugins/.Free gives you fixed-price quantity tiers on unlimited products, all 5 display templates (Table, Blocks, List, Tooltip, Dropdown), live price updates, quantity controls, shop-page price ranges, colours and labels, the shortcode, the REST API and CSV import/export. Pro adds percentage discounts, different tiers per variation, role-based pricing, global pricing rules with Mix & Match, cart upsell messages, and role-based pricing in CSV import/export.
No product or tier limits. Use fixed-price tiers on as many products as you like.
No. Stores that used percentage discounts before 1.0.3 keep them automatically, free of charge. Nothing changes on your store.
Open a product, go to Product data → Tiered Pricing, add rows such as "5 → $9.00" and "10 → $8.00", and save. The pricing table appears on the product page and the cart charges the tier price automatically.
Percentage discounts are a Pro feature. The free version uses fixed unit prices per tier. Get Pro
All five are free: Table, Blocks, List, Tooltip and Dropdown. Choose a default in WooCommerce → Tiered Pricing, or pick one per shortcode with the template attribute.
Yes, with Pro. Role-based pricing lets you set different prices, sale prices, tiers and minimum quantities per user role, and hide the table for specific roles.
Yes, with Pro. Global pricing rules apply to selected products, categories or your whole store, can target roles or specific customers, and support Mix & Match quantities.
Yes, with Pro. Cart upsell messages are fully customisable with placeholders.
Yes (Free). Export and import the pricing type, tiers and quantity controls with WooCommerce's built-in product CSV tools. Including role-based pricing data in the CSV is a Pro feature.
Yes (Free). The tiers on the product's Tiered Pricing tab apply to every variation, and the table updates live when a variation is chosen. With fixed prices, every variation gets the same tier price. To give each variation its own tiers, use Pro (see the next question).
Yes, with Pro. Tick "Use custom tiered pricing for this variation" in a variation's settings to give it its own pricing type and tiers — for example, Small 5+ = $8 and Large 5+ = $10. The product page table, cart, checkout and shop-page prices all use that variation's tiers. Global rules and role-based pricing still take priority. Get Pro
Yes (Free). Show a price range, "From $X" or "As low as $X" in WooCommerce → Tiered Pricing.
Yes (Free). Set them in the Quantity Controls section of the product's Tiered Pricing tab.
Yes (Free). Use [tiered-pricing-table product_id="123"] in a Shortcode block, Elementor, Divi, WPBakery or any builder. Add template="blocks" (or list, tooltip, dropdown) to choose the layout per placement.
Yes. It's HPOS compatible. Coupons and taxes apply to the tier price as normal. Classic and block Cart/Checkout are supported.
No. Computed prices are cached in WordPress transients. Adjust this in WooCommerce → Tiered Pricing → Performance.
Buy Pro and download it from your account. Then go to Plugins, deactivate the free plugin, upload Pro and activate it. That's it. Your existing setup comes with you (see the next question).
Yes. When you activate Pro (version 1.0.2 or later), it automatically imports from the free plugin:
Post in the support forum on WordPress.org.
The best way is to leave a ★★★★★ review on WordPress.org. It only takes a minute and helps other store owners find the plugin.
[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.