Documentation

How to Disable Attribute Fees Functionality

WooCommerce Attribute Swatches gives you the ability to add fees to each attribute. However, on some occasions, you may want to turn this functionality off altogether, for example, if it’s conflicting with another plugin.

Fortunately, it’s possible to do with a code snippet. You can add this to your theme’s functions.php file, or by using a code snippets plugins.

/**
 * Disable Attribute Swatches fee functionality.
 */
add_filter( 'iconic_was_disable_fees', '__return_true' );

WooCommerce Attribute Swatches

Replace the default WooCommerce variation dropdown menu with variation swatches for WooCommerce. Add color swatches, image swatches, and modern text buttons to your variable product pages.

Was this helpful?

Please let us know if this article was useful. It is the best way to ensure our documentation is as helpful as possible.