Skip to Content

Price Display Including or Excluding Tax — KoalaApps

Show both tax-inclusive AND tax-exclusive WooCommerce prices side by side — per user role, so wholesale and retail buyers each see what they expect.

Completed: June 2021 Type: Portfolio Project

Available on the WooCommerce Marketplace by KoalaApps · 5.0 ★ (7 reviews) · $29 annually

Price Display Including or Excluding Tax shows both tax-inclusive and tax-exclusive prices side by side on WooCommerce product pages — per user role, so wholesale buyers see ex-tax pricing while retail buyers see inc-tax pricing on the same store.

I built this for B2B-and-retail hybrid stores where the same SKU needs to display differently to different audiences. The plugin holds a perfect 5.0-star rating on the official WooCommerce Marketplace because it solves a specific tax-display problem that WooCommerce’s native settings cannot.

The problem it solves

WooCommerce lets merchants display prices inc-tax OR ex-tax — one or the other, store-wide. For hybrid B2B-and-retail stores, that single setting is wrong for half the audience. Wholesale buyers expect to see prices ex-tax (they reclaim it). Retail buyers expect to see prices inc-tax (that’s what they pay).

The plugin gives merchants per-role price-display rules so each audience sees the price format they expect, with the option to show both formats simultaneously for stores that prefer full transparency.

What the plugin does

A role-aware tax-display layer for WooCommerce pricing:

  • Show both inc-tax and ex-tax prices side by side — full transparency on the product page
  • Per-role display configuration — wholesale roles see ex-tax, retail roles see inc-tax
  • Custom labels for each price — “Inc. VAT”, “Ex. VAT”, or any merchant-specified text
  • Applies on shop and product pages — consistent display across catalog surfaces
  • Cart and checkout integration — the chosen display follows through the funnel
  • Compatible with the WooCommerce tax engine — uses the native tax calculation path
  • Multi-currency aware — works alongside multi-currency plugins without conflict
  • Configurable per category — different display rules per product category if needed

How it is built

The plugin hooks into woocommerce_get_price_html, the variation price filters, and the cart-line-item display filters to render the dual-price markup wherever a price is shown. Tax math runs through wc_get_price_including_tax and wc_get_price_excluding_tax so the calculations are always identical to the rest of WooCommerce — never duplicated logic that could drift. Role resolution happens once per request and caches for the request lifetime so role-aware lookups stay cheap inside product loops.

The plugin is HPOS-compatible at the order layer, fully translatable, and integrates with the standard WooCommerce tax-class system without overriding any of it.


Marketplace adoption

A perfect 5.0-star rating across 7 reviews on the official WooCommerce Marketplace reflects the kind of plugin that solves a specific tax-display headache cleanly. The customer base is hybrid B2B-and-retail stores in regions where VAT presentation rules matter — the UK, EU, Australia.

  • Marketplace rating: 5.0 stars — based on 7 customer reviews on the official WooCommerce Marketplace, a perfect score
  • Active hybrid B2B-and-retail customer base — used by stores serving both audiences from one install
  • Native tax math — uses WooCommerce’s own tax functions so calculations never drift
  • Multi-region applicability — used heavily in UK, EU and Australia where VAT presentation matters
  • Multi-year tenure on the marketplace — continuously maintained through WooCommerce releases

Need a custom WooCommerce plugin built like this?

I build production-grade WooCommerce plugins like the ones I shipped on the official WooCommerce Marketplace — engineered to use WooCommerce’s own primitives so calculations stay consistent across the platform. If you need custom tax or price-display logic, let’s talk.

See my WooCommerce plugin development service

Project Details

  • Completed June 2021
  • Project Type Portfolio