# Create Attributes

For a variable product, we need to create the required attributes, such as Colour, Size and Material.

For more detail on creating attributes, please visit:

{% content-ref url="/pages/PshO8ERegFZhKG1KRSxv" %}
[Attributes](/woocommerce/attributes.md)
{% endcontent-ref %}

## Colour

* Navigate to the Attributes tab of the Dashboard and open.
* Input required name.
* Input required Slug.
* Set Type to Colour in the dropdown.
* Click "Add Attribute".

<figure><img src="https://lh4.googleusercontent.com/9v9tIGASIwLu59McJYoY1YaW9jO-04TjRGzBAtWXshkQck8oI12yyGgo0cPqsNKbEbsFy9xp_R0n85rkg0MErkFCoahuUqaZfyyXZ8oWxOn-Neqymw477HJhIB_9kweU6jCegam-R_JLI69fAy3AL2pPW_uqBnaQEvAJhgAVH19Fhij977FUrWTfa_lWdw" alt=""><figcaption></figcaption></figure>

* You will now see the new attribute in the panel.
* Select "Configure terms".

<figure><img src="https://lh4.googleusercontent.com/cFp2rMcv4gy5PCQ9iMQcGZgC_FWsVEk8PBOtNRTuq4FOVPMBNLDC5D0rcvHuhezZKZ-qPNgVTurQU32EIveQ_toKsi51eTdEqPEkXsCTxpSyPvlaB_u5CSY_QAm7B0wJWIVEx94R3cQp9a_1NuCw7fZ8cVQg_9sQ41XIeIT6iMQ_LJSdMkDfmwitH9ehWw" alt=""><figcaption></figcaption></figure>

This opens the "Edit attribute" page for Product Colour.

* Input required colour name.
* Input required slug.
* Input required description.
* Select colour in Colour picker (in our case red).
* Click "Add new Colour" to save.

<figure><img src="https://lh3.googleusercontent.com/04Ej1gvFueq4tHFkAURTqihUhUc8EtV8lgmEVwscjXJIdLkjdDKxLU1ujAG8Mvj_CvTU1L3jkrvI36BYDgNsUehQgWu6pQzE6MSh9ulQOm6JMF53RCFB1SwwQf1c5RyY0PPZxg4M-H6OV7ldKxptssmWqfpm73ay5KyXe0mtXkJOrKt2PLMatmvpGpQ9lw" alt=""><figcaption></figcaption></figure>

This will add the defined Colour to the window.

* Input next required colour name.
* Input required slug.
* Input required description.
* Select colour in Colour picker (in our case black).
* Click "Add new Colour" to save.

<figure><img src="https://lh3.googleusercontent.com/-sBms1cVYPsfp67-A_aWL3kkUQZCX0iGhO65iEQZredqKFil7ojigF3rB4hUYXB_RgjdeUiKF71uAtvbHnT0AQd2q39cOE40TMlLsyMkbMOG6oFXq4_pF6KucEFLGDxg8orSUKPEijtKyAL3LBnUoGaC2JktYFj2KM83Ub2505evIxEocs1qZNoURwGJbQ" alt=""><figcaption></figcaption></figure>

This will add the new defined Colour to the window.

* Input next required colour name.
* Input required slug.
* Input required description.
* Select colour in Colour picker (in our case green).
* Click "Add new Colour" to save.

<figure><img src="https://lh4.googleusercontent.com/RB5N_z4sDpScb1gsZd2VUvHT9Y0NBuseirt93i-eUQXYBv0VAE3Q1DBegRexuWZz6R5zXjoTp9oqb_pkXC5EvCEaz8WZ280US-tXzdZzaXmfcNAcmb1fBhxiQusMOib8JPnL7uWhH81S4u1nXQuI5xlTqIcUnHvnmXw-lgQPa7Z6B6AQC0mFrZe3aYddgg" alt=""><figcaption></figcaption></figure>

* Click Attributes to return to Attributes page.

<figure><img src="https://lh4.googleusercontent.com/PjpE6X4y1KpnvTs86jENR3FTg-eF17tGGe3xUKMZLwwkqn0DHcqCUhkHjktq22eMS8byx5fpUe--zGpiW4IDYqWNmMTHriOYmdGFrkMaVurGM--3mmtlrBskAtYONlL-SgnLSm8wfRbjM3gB9R_lpwl1UOPinTWAWxTCUnbwp2rn_s-2wKEUmwMdhUGPKg" alt=""><figcaption></figcaption></figure>

## Size

* Navigate to the Attributes tab of the Dashboard and open.
* Input required name.
* Input required Slug.
* Set Type to Size in the dropdown.
* Click "Add Attribute".

<figure><img src="https://lh4.googleusercontent.com/jtNjFPDqjMzqgPnuUGR6IX6d_RdnvUy9ZP0-OKmrZGTXXqudBImzw6XrTTrfJqSZslOAWt1gx_wtAXeAOZXrdpnThe0RbuA6-gE7gyZWdgW_pJLAIBk7Li-BEnp649l6g37v8S2rdPPUQOsYX9f3Zqn84fmg9Yz-bcQwRas-052VXPA9Z_aCw2pKJFtEHA" alt=""><figcaption></figcaption></figure>

* You will see your Size attribute in the window.
* Click "Configure terms" to add the Size terms.

<figure><img src="https://lh5.googleusercontent.com/0uS0YQ-OSu6Epa-I3fr9HHdayIjLvEOO8ktzUy_zbC2kT-rWm6KuMzxXv19uqwW_n_vw10ZwgjvczOU4aI1w53o8JbFrhPbpt2y37UJBIBsDL6-HceijtAEuVFE8dEkuckpavj2lBG6e-GkENaH0Ht4aoX5vPG0GiC5sbVP0T_Q5dl5OyojLIq1Dq15mzA" alt=""><figcaption></figcaption></figure>

* Add Size terms, such as Small, Medium, Large (S, M, L).
* Input required Size Name.
* Input required Slug.
* Input a Description.
* Click "Add new Size".

<figure><img src="https://lh5.googleusercontent.com/Mw_MwJTpUL9KV4ocshwg6X4Y0CEjOjrUcUKoGLgHNSYVS9KB3T_5eAopiN0RdbyRgM6csE3iVaqMh2-swPxPJvSi0-jrav_C8WjTXTBqCdAkYJkgPwlxEhO5NTKN5tJ5WZnsYw1MDnaoUdyiZJrGm-UXDFbJN49LDI8vPKNlb65GR7YItV8lBstG5IFujA" alt=""><figcaption></figcaption></figure>

* Input next Size details.
* Click "Add new Size" to save.

<figure><img src="https://lh3.googleusercontent.com/hSvMsSiEB3ZTTWlHz1gug8DbxcZLZcDu8r2Piiaz00VTvQqS9dUCtUMEfM6R3JSUAvJFHgyQ3sIBxUNl8_IWWNaerLY7VF9OrUo6vOIGMtXqEw20wMsBxQklbMNhgGe3ZSamPzxRSwwsR4JSi-W7mftsRn8r_t92f8pRn8mqkkCfRcbUA5K0yJsyC6M__Q" alt=""><figcaption></figcaption></figure>

* Input next Size detail.
* Click "Add new Size" to save.
* Repeat the process until all the sizes for your article have been added.

<figure><img src="https://lh6.googleusercontent.com/5i9B-r7q9zjH8kTUUZ_ny9vWelJJYwzOJ76GOSeR_R9cDkngNG4-7YJv0OhyElQzfQ-cbV87J8tbkxSOzko4eWOPMh2LzDPk1bPnF_Z1RU5Io7vusQDz55Cr0R8OPaKyKIrjW14fZE9fkZsXVYHC9LXxpEDIYJDB6nf5li0m8dOZ_QDM3hQpQCIOOyFH7A" alt=""><figcaption></figcaption></figure>

## Material

* Click "Attributes" to add a new Attribute, in our case Material.

<figure><img src="https://lh4.googleusercontent.com/bLjPzPuC_UDQ2Wrq6YZ7BUxNwdsMI4OtmtWFpebU2dAEMvEQmqJ6KDt2Y2Kg9OzgDe9Cs7OGZTV5bSDcGNRvG5jeaX3j_789OTqHr0iu3MeXD3aBFJuZvR7ERYhhli_tLj4S6E0FX2LINuaJwo0AjrOzL-6GP0643svoebAC4qimxxGzeT_7S48rvgPOeA" alt=""><figcaption></figcaption></figure>

* Input Name, in this case Material.
* Input Slug, in this case material.
* Select Image as Type in the dropdown.
* Click "Add attribute" to save.

<figure><img src="https://lh6.googleusercontent.com/wrsb7DAsNPihYo8zBSMyQEEOX5sD0HxZoy8ddcLkQECjOmKuPTiiVU8fiKwFvB66KJEsqu3f_XmPlFNtYnYF_PHjNreF9rL_Hh3D8AmbfSdJLPH6FO-Qz13qJ1KUAtq3NUttcuU1dbWw5vbCTuum9n99eJTqT5gWnLgSrLISBwHFe13aH3Lrk5l2ptyYvQ" alt=""><figcaption></figcaption></figure>

* Find Material in the Attribute window and click "Configure terms".

<figure><img src="https://lh5.googleusercontent.com/uM5K79lzP9w0Go1-BgcLzD9Gf6Y_FsRgDfuc4uCanESicVhv6B82HXa0E-qobN1M-Zu1Re6DdlR4aruFNiX96WTarFEXsrTJ7YZSZEecsOeNYeaicA6bJsZU6cGe9beOnPRI2aGwrp0aD_xBHeBRCuv315mqnm52aC7ZD55IzoDxfdkz4PgbH0TEhaKb8A" alt=""><figcaption></figcaption></figure>

Now we need to add some Type attributes to our new Attribute, such as Leather, Suede, Vinyl, Rubber, Laminate.

* Add name, for instance Leather.
* Add slug, for instance, leather.
* Add description.
* Add an image (upload).
* Click "Add new Material" to save.

<figure><img src="https://lh5.googleusercontent.com/khqaLoAuWozxpJJ7URbXa_Mgj5nTYbpD9Ivh3N04K_lgxRlEmF53TlgDUcTUPUdk7YjpY-WLO4wJ3NJtarrH1GvugoVsG6dvqSjgvLibPfckMbHhdydnAL9YFBNCMtWzR9Y3lxhZ6JxNkjdlGkOP1WCwvkR-fIv8XtX7vE0EKJlHhzA4qKJvt7a6BBuJig" alt=""><figcaption></figcaption></figure>

Add new material:

* Input required Name, for instance Suede.
* Input required Slug.
* Input required Description.
* Add material Image.
* Click "Add new Material" to save.

<figure><img src="https://lh3.googleusercontent.com/nzBY916rWLX9jAFYBNR9b-Fsmtv7hgMkqk-EibCjhzB3btA9mz0aRFFY5LD4e2pp7e-XhE-i9oIRd2ewe6tXFFczgEg1RpLMryAoLeypeaQSNSDodQmQCyb-ryr48h_YtMzXBKV4PG_5iyIKXgUoU6AV_GdDNKPS5YThrSS7KLuDWDWlpP4guvmlgcPAbw" alt=""><figcaption></figcaption></figure>

Add new material:

* Input required Name, such as Vinyl.
* Input required Slug.
* Input required Description.
* Add material Image.
* Click "Add new Material" to save.

<figure><img src="https://lh6.googleusercontent.com/CKoDRTvJEJ1DtONSyJk1qh97l6LyaQhZtdXBb4Wa4S_iy6ESA5mf4UVM_SDPrp25OYr5So_fbLen08PRUE4tsyU4IW53SaCqd0Fo3i3tEUwM0_nC4gGEbXulvEn4AcEui274Gjvuj_XQntYUryWucXOl4FHpUuGnbKKfj3C94WjjLsLzRZkPflSbgDNwqA" alt=""><figcaption></figcaption></figure>

You can add as many Attribute Types as you require.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cwicly.com/woocommerce/create-a-product-type/variable/create-attributes.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
