Display Prices With and Without VAT in WooCommerce
Updated 3 months ago
If you want to display prices with and without taxes (with or without VAT in Argentina) in WooCommerce, you can do so easily, without adding plugins or functions.
Go to the Tax options in WooCommerce, under Settings, on the Tax tab:
If we display final prices, as most people do, we just need to add the following under Price display suffix:
Precio sin impuestos nacionales: {price_excluding_tax}Once this is done, we just need to make a few design adjustments to improve the appearance.
To do this, go to the Customize option and, depending on your theme, find the option for adding custom CSS code and include:
small.woocommerce-price-suffix {
font-size: small;
display: block;
margin-top: 5px;
}
small.woocommerce-price-suffix bdi {
font-size: 14px;
font-weight: 5000;
}You can see examples of how this looks on some of our clients' sites:
Was this helpful?
Was this helpful?