1. Home
  2. Docs
  3. Variation Swatches for Wo...
  4. How to
  5. How to Set Attribute Options in WooCommerce

How to Set Attribute Options in WooCommerce

WooCommerce attributes are a powerful tool for adding extra details to your products, helping customers filter and find exactly what they’re looking for. This guide will walk you through setting up attribute options, making your store more organized and user-friendly.

hHvuqSfL5XU52py07YCzbMDXHFN4WFLf5 12FDLskuugACSnQf3u3Gvisd6tXBg3kTDJlSYWva7WXUnM3eEfDOVG5dTxdFrZYqIYoegF Q88F2Sv1tqGAdC2ipz bmRuSHa72qzT

n0O1gW2JvdFEWw7RdwJ2twK Vv4muNbxbaZPHst5HBqlCqHXLscUXkqjkZ3 1oi9K9g 8T0tXjKEDdD9Sjs P8VhNi3aJp0WuWnVLEBsOZ631EJjXQdSn 5AG5N 3 X Un

Accessing the Attributes Section

  • Log in to your WordPress dashboard.
  • Navigate to Products on the left-hand menu.
  • Under the WooCommerce menu, click on Attributes.

Adding a New Attribute

Here’s where you define the additional product information you want to include.

  • Click the Add new attribute button.
  • Enter a clear and descriptive Name for the attribute that will be displayed to your customers (e.g., Color, Size).
  • Set a unique Slug, a short reference used internally (e.g., color, size). Keep it under 28 characters.

Optional Settings

  • Enable archives: This allows the creation of dedicated archive pages for products with specific attribute values (e.g., a “Red Shirts” archive page).

Choosing the Attribute Type

Now, it’s time to define how your attribute values will be displayed:

  • Select: Use this for a dropdown menu with predefined options (e.g., Small, Medium, Large).
  • Color: This allows assigning color swatches to each attribute value.
  • Image: Use product images to visually represent each attribute value.
  • Label: Great for simple text-based options (e.g., Material: Cotton).

Organizing Your Attribute Values

  • Default sort order: Choose how attribute values appear by default (e.g., alphabetically, numerically).
  • Custom ordering: Allows you to manually arrange the values using drag-and-drop for a specific order (e.g., Small, Medium, Large, X-Large).

Final Touches: Add the Attribute

Once you’ve configured the details, click the Add attribute button to save your new attribute.

By adding well-defined attributes, you’ll enhance your store’s organization and navigation, making it easier for customers to find what they need. Happy selling!