---
title: "How to Prevent the Display of Attribute Fees"
source: "https://docs.nexcess.com/software/kadence/iconic/woocommerce-attribute-swatches/prevent-the-display-of-attribute-fees/"
description: "Coming soon: Iconic WooCommerce Attribute Swatches is becoming part of Kadence Shop Kit. You may see both names used while we update the product, documentation,…"
vertical: "Software"
area: "WooCommerce Attribute Swatches"
date: "2021-12-06"
last_modified: "2026-08-12"
---

# How to Prevent the Display of Attribute Fees

**Coming soon:** Iconic WooCommerce Attribute Swatches is becoming part of Kadence Shop Kit. You may see both names used while we update the product, documentation, and customer experience.

WooCommerce Attribute Swatches gives you the ability to [add fees to each attribute](https://docs.nexcess.com/software/kadence/iconic/woocommerce-attribute-swatches/add-fees-to-attributes-globally-store-wide/). These fees are then displayed in the variations section of your product pages. Including the swatch tooltips if these have been enabled.

However, you may not want the attribute fees to be visible on your product pages at all for a variety of reasons.

Fortunately, it’s possible to prevent the fees from displaying in this location with a code snippet. You can add this to your theme’s functions.php file, or by using a code snippets plugin:

```
/**
 * Prevent the Display of Attribute Fees
 */
add_filter( 'iconic_was_hide_attribute_label_fee', '__return_true' );
```
