Adding Fees To Attribute Values

From version 1.2.0 of WooCommerce Attribute Swatches you have the ability to add additional fees to specific attribute values. For example, if your customer chooses a material of “Gold” for your product, you can add $10 to the base price of the variation.

example of fees with attributesAdding fees is simple:

  1. Navigate to the WordPress admin area.
  2. Click Products.
  3. Find the variable product you want to edit, and click Edit.
  4. Scroll down to the Attributes tab in the Product Data section.
  5. Expand the attribute you’d like to add fees to.
  6. Scroll to the Fees section and enter your fee values beside each attribute value.
    adding fees to attributes
  7. Click Save Attributes.

Now when viewing the product on the frontend of your store, those attribute values will have additional fees assigned to them.

Things to note

  • If you’re using the default select dropdowns, the fees will not be listed in the dropdown. The fees will still be applied when adding to cart. This should change in WooCommerce 3.6.0 and the fees will be presented alongside the attribute value label.

Are you using WooCommerce Attribute Swatches yet?

Start your 14-day free trial right now and get instant access to the features described in this article.

or learn more

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.

WooCommerce Attribute Swatches

WooCommerce Attribute Swatches

Not got the plugin yet? Get instant access right now, free for 14 days.

or learn more

Still need help?

If you haven't found what you're looking for in our documentation, please contact support.

Get Support