Descripción
Inclusive & Exclusive Tax Prices is a small, focused utility plugin for WooCommerce stores that need to display both tax-inclusive and tax-exclusive prices at the same time.
It does exactly what it says on the tin — no settings bloat, no assumptions, and no UI clutter.
The plugin:
* Works only on the front end
* Respects WooCommerce tax settings
* Handles simple and variable products
* Removes the default “From” price text on variable products
* Outputs clean, predictable HTML with semantic CSS class names
This plugin is ideal for developers and store owners who want full control over styling and presentation without introducing unnecessary complexity.
Features
- Displays both inclusive and exclusive tax prices
- Fully stylable HTML output
- No admin settings or configuration required
- No impact on the WordPress admin
- Lightweight and reliable
- Compatible with standard WooCommerce tax configurations
How It Works
The plugin filters WooCommerce’s price HTML on single product pages and replaces it with a structured markup block containing:
- Exclusive tax price
- Inclusive tax price
- Clear labels for each value
Prices are calculated using WooCommerce’s native tax functions to ensure accuracy and consistency.
Markup & Styling
The plugin outputs the following structure:
.vat-price
├── .vat-price__row–ex
│ ├── .vat-price__value–ex
│ └── .vat-price__label–ex
└── .vat-price__row–inc
├── .vat-price__value–inc
└── .vat-price__label–inc
All elements are fully classed to allow complete styling control via CSS.
No inline styles are added.
Tax Configuration Requirements
This plugin relies entirely on WooCommerce’s built-in tax system. It does not calculate or guess tax values on its own.
To ensure prices are displayed correctly, the following must be in place:
- Tax must be enabled in WooCommerce settings
- At least one tax rate must be configured
- Each product must have the correct tax status and tax class assigned
Once tax is enabled globally, WooCommerce will typically apply the Standard tax rate to products by default. You should review each product’s tax settings to ensure accuracy.
From the product editor, check the Product data panel and confirm:
- Tax status is set to “Taxable”
- The correct tax class is selected (Standard, Reduced, Zero rate, or a custom class)
The plugin will only display inclusive and exclusive prices for products that are marked as taxable.
If tax is disabled for a product, only a single price will be shown.
Correct tax configuration is essential to ensure prices are displayed accurately.
Styling Example
The plugin outputs fully classed HTML with no inline styles.
Below is an example of how pricing might be styled using CSS:
/* WooCommerce Pricing /
/ Container */
.vat-price {
display: inline-block;
line-height: 1.2;
}
/* Each line */
.vat-price__row {
display: block;
margin: 0.15rem 0;
}
/* EX VAT price + label */
.vat-price__value–ex {
font-size: 1.2rem;
font-weight: 600;
}
.vat-price__label–ex {
font-size: 0.7rem;
margin-left: 0.35rem;
opacity: 0.75;
}
/* INC VAT price + label */
.vat-price__value–inc {
font-size: 0.9rem;
font-weight: 600;
}
.vat-price__label–inc {
font-size: 0.7rem;
margin-left: 0.35rem;
opacity: 0.75;
}
All class names are stable and intended for developer customisation.
Instalación
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin through the WordPress Plugins screen
- Visit any single product page to see inclusive and exclusive tax prices displayed
No configuration is required.
Preguntas frecuentes
-
Does this plugin add settings or admin screens?
-
No. This is a deliberately minimal plugin with no configuration options.
-
Does this work with variable products?
-
Yes. The minimum variation price is used and displayed without the default “From” text.
-
Does this affect cart or checkout prices?
-
No. The plugin only affects price display on single product pages.
-
Can I change the wording or styling?
-
Yes. All output is fully classed and can be styled or modified using CSS.
Reseñas
No hay reseñas para este plugin.
Colaboradores y desarrolladores
Este software es de código abierto. Las siguientes personas han contribuido a este plugin.
ColaboradoresTraduce “DL Inclusive & Exclusive Tax Prices” a tu idioma.
¿Interesado en el desarrollo?
Revisa el código, echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.
Registro de cambios
1.0.0
- Initial release




