
If you’re encountering a situation where your WooCommerce shop is displaying double prices on your archives and shop pages, this is often caused by a misconfiguration in your tax settings. Specifically, this can occur when the Price display suffix field under the tax settings has been incorrectly defined. Here’s how it happens and how to fix it.
Understanding the Problem
WooCommerce allows you to control how prices are displayed in your store, including whether they are shown inclusive or exclusive of taxes. One of the settings that play a role in this is the Price display suffix, which allows you to append text after the price. For example, you can add something like “(incl. VAT)” or “(excl. VAT)” to inform customers about the tax status of the price they are seeing.
However, if this field is incorrectly configured to include the {price_excluding_tax}
placeholder, it can result in the price being displayed twice on your shop and archive pages. This happens because WooCommerce is instructed to append the price excluding tax next to the actual price, leading to what appears to be a duplicated price.
Example Scenario
Let’s assume you’ve set up your tax settings as follows:
- Navigate to WooCommerce -> Settings -> Tax.
- Scroll down to the Price display suffix field.
- You see that the field contains
{price_excluding_tax}
.
With this setup, your product prices will appear twice, for example:
$50.00 $40.00
(Here, $50.00 is the price inclusive of tax, and $40.00 is the price excluding tax.)
This creates confusion for your customers, as they see two different prices without clear context, which can hurt your sales and user experience.
How to Fix the Double Price Issue
To resolve this, you simply need to remove the {price_excluding_tax}
placeholder from the Price display suffix field or replace it with a more appropriate suffix. Here’s a step-by-step guide:
- Log in to your WordPress admin dashboard.
- Go to WooCommerce -> Settings -> Tax.
- Look for the Price display suffix field.
- Remove
{price_excluding_tax}
or replace it with something more user-friendly, such as “(incl. VAT)” or “(excl. VAT),” depending on how you want to display your prices. - Save changes.
By removing or adjusting this placeholder, you ensure that your prices will be displayed correctly, with no duplication.
Conclusion
Displaying double prices on the shop and archive pages is a common issue in WooCommerce that often stems from misconfigured tax settings, particularly the Price display suffix field. Ensuring that this field is configured correctly can resolve the issue and improve the overall shopping experience for your customers. If you’re still experiencing problems after making this change, it may be worth reviewing other tax-related settings or reaching out to WooCommerce support for further assistance.