{"id":46167,"date":"2024-11-20T19:18:30","date_gmt":"2024-11-20T19:18:30","guid":{"rendered":"https:\/\/crocoblock.com\/knowledge-base\/?post_type=article&#038;p=46167"},"modified":"2024-11-20T19:20:54","modified_gmt":"2024-11-20T19:20:54","slug":"how-to-create-product-attributes-in-woocommerce","status":"publish","type":"article","link":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/","title":{"rendered":"How to Create Product Attributes in WooCommerce"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>The product attributes are a useful pre-made tool of the <em>WooCommerce<\/em> plugin that allows for creating product variations by adding product-specific characteristics (i.e., such as size and\/or color). Each attribute can include some terms (i.e., the color attribute can include the \u201cGreen,\u201d \u201cBlack,\u201d \u201cWhite,\u201d etc., terms).<\/p>\n\n\n\n<p>Read more about the product variation settings in the <a href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/woocommerce-variable-product-how-to-create-the-product-variations\/\" target=\"_blank\" rel=\"noreferrer noopener\">How to Create WooCommerce Product Variations<\/a> tutorial.<\/p>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-attributes\"><strong>Create<\/strong><strong> <\/strong><strong>Attributes<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Navigate to the <strong><em>WordPress Dashboard &gt; Products &gt; Attributes<\/em><\/strong> tab and type the attribute\u2019s <strong>Name<\/strong>; the <strong>Slug<\/strong> field will be inserted automatically.<strong> <\/strong>Then, in this case, we keep the <strong>Enable Archives?<\/strong> toggle disabled and leave the default&nbsp; \u201cCustom ordering\u201d <strong>Default sort order<\/strong> option.&nbsp;<\/p>\n\n\n\n<p>Finally, press the \u201c<strong>Add attribute<\/strong>\u201d button.<\/p>\n\n\n\n<p>In this tutorial, we created the \u201ccolor,\u201d \u201cfeature,\u201d \u201cimage,\u201d \u201csize,\u201d and more attributes<strong> <\/strong>with the corresponding names; the slugs were added automatically.\u00a0<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-1024x640.webp\" alt=\"attribute creation\" class=\"wp-image-46168\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"configure-the-attributes-terms\"><strong>Configure the Attribute\u2019s Terms<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>After pressing the \u201c<strong>Add attribute<\/strong>\u201d button, the new attribute will appear in the list. Click the \u201c<strong>Configure terms<\/strong>\u201d link on the right near the appropriate attribute to be redirected to the <strong>Edit attribute<\/strong> page.&nbsp;<\/p>\n\n\n\n<p>Here, type the <strong>Name<\/strong> of a new term, <strong>Slug<\/strong>, and <strong>Description<\/strong> (optionally). Once completed, press the \u201c<strong>Add new (attribute name)<\/strong>\u201d button.<\/p>\n\n\n\n<p>In this way, create as many terms as needed.&nbsp;<\/p>\n\n\n\n<p>For instance, we created the following terms for the \u201ccolor\u201d attribute: \u201cBlack,\u201d \u201cBlue,\u201d \u201cBrown,\u201d \u201cRed,\u201d and more.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/edit-attribute-tab-of-the-products-1024x640.webp\" alt=\"edit attribute tab of the products\" class=\"wp-image-46170\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/edit-attribute-tab-of-the-products-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/edit-attribute-tab-of-the-products-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/edit-attribute-tab-of-the-products-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/edit-attribute-tab-of-the-products-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/edit-attribute-tab-of-the-products-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/edit-attribute-tab-of-the-products.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/div>\n<\/div><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"assign-the-attributes-and-terms-to-products\"><strong>Assign the Attributes and Terms to Products<\/strong><\/h2>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"wp-block-group__inner-container\">\n<p>Navigate to the<strong><em> WordPress Dashboard &gt; Products &gt; Add New<\/em><\/strong> path. On the <strong>Add new product <\/strong>page, type the product\u2019s name instead of the \u201cProduct name\u201d text in the corresponding field and scroll down the page.<\/p>\n\n\n\n<p>Select the \u201cVariable product\u201d in the <strong>Product data<\/strong> drop-down list. After that, move to the <strong>Attributes<\/strong> section under this drop-down. Here, type some characters in the \u201cAdd existing\u201d search bar to find the needed attribute or create a new one by pressing the \u201c<strong>Add New<\/strong>\u201d button.&nbsp;<\/p>\n\n\n\n<p>In this tutorial, we added the \u201ccolor\u201d attribute.<\/p>\n\n\n\n<p>In the next step, fill out the attribute <strong>Value(s)<\/strong> field to add the required term(s). If you need to add all created terms, click the \u201c<strong>Select al<\/strong><strong>l<\/strong>\u201d button under this field.<\/p>\n\n\n\n<p>In this case, we added the \u201cBlack\u201d term to the attribute <strong>Value(s)<\/strong>.<\/p>\n\n\n\n<p>Also, leave the \u201cVisible on the product page\u201d<strong> <\/strong>option checked to make the attributes shown on the product page and the \u201cUsed for variations\u201d option checked to use the attribute for product variations.<\/p>\n\n\n\n<p>Finally, once completed, click the \u201c<strong>Save attributes<\/strong>\u201d button to save the changes.<\/p>\n\n\n\n<div class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page.webp\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page-1024x640.webp\" alt=\"add new product page\" class=\"wp-image-46169\" srcset=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page-1024x640.webp 1024w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page-300x188.webp 300w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page-768x480.webp 768w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page-1536x960.webp 1536w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page-600x375.webp 600w, https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/add-new-product-page.webp 1824w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/div>\n<\/div><\/div>\n\n\n\n<p>That\u2019s it. Now you know how to create <em>WooCommerce<\/em> product attributes, configure their terms, and assign them to the product variations.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how to create WooCommerce product attributes, configure their terms, and assign them to product variations, adding specific characteristics to a product, such as size and\/or color.<\/p>\n","protected":false},"author":12,"featured_media":0,"template":"","format":"standard","builder-category":[],"article-category":[564,530],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Create Product Attributes in WooCommerce\u4e28Crocoblock<\/title>\n<meta name=\"description\" content=\"Learn how to create WooCommerce product attributes, configure their terms, and assign them to product variations, adding specific characteristics to a product, such as size and\/or color.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create Product Attributes in WooCommerce\u4e28Crocoblock\" \/>\n<meta property=\"og:description\" content=\"Learn how to create WooCommerce product attributes, configure their terms, and assign them to product variations, adding specific characteristics to a product, such as size and\/or color.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/\" \/>\n<meta property=\"og:site_name\" content=\"Help Center\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-20T19:20:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-1024x640.webp\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/\",\"name\":\"How to Create Product Attributes in WooCommerce\u4e28Crocoblock\",\"isPartOf\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\"},\"datePublished\":\"2024-11-20T19:18:30+00:00\",\"dateModified\":\"2024-11-20T19:20:54+00:00\",\"description\":\"Learn how to create WooCommerce product attributes, configure their terms, and assign them to product variations, adding specific characteristics to a product, such as size and\/or color.\",\"breadcrumb\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Articles\",\"item\":\"https:\/\/crocoblock.com\/knowledge-base\/articles\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Create Product Attributes in WooCommerce\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#website\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"name\":\"Help Center\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#organization\",\"name\":\"Help Center\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"contentUrl\":\"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg\",\"caption\":\"Help Center\"},\"image\":{\"@id\":\"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create Product Attributes in WooCommerce\u4e28Crocoblock","description":"Learn how to create WooCommerce product attributes, configure their terms, and assign them to product variations, adding specific characteristics to a product, such as size and\/or color.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/","og_locale":"en_US","og_type":"article","og_title":"How to Create Product Attributes in WooCommerce\u4e28Crocoblock","og_description":"Learn how to create WooCommerce product attributes, configure their terms, and assign them to product variations, adding specific characteristics to a product, such as size and\/or color.","og_url":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/","og_site_name":"Help Center","article_modified_time":"2024-11-20T19:20:54+00:00","og_image":[{"url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2024\/11\/attribute-creation-1024x640.webp"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/","url":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/","name":"How to Create Product Attributes in WooCommerce\u4e28Crocoblock","isPartOf":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#website"},"datePublished":"2024-11-20T19:18:30+00:00","dateModified":"2024-11-20T19:20:54+00:00","description":"Learn how to create WooCommerce product attributes, configure their terms, and assign them to product variations, adding specific characteristics to a product, such as size and\/or color.","breadcrumb":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/crocoblock.com\/knowledge-base\/articles\/how-to-create-product-attributes-in-woocommerce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/crocoblock.com\/knowledge-base\/"},{"@type":"ListItem","position":2,"name":"Articles","item":"https:\/\/crocoblock.com\/knowledge-base\/articles\/"},{"@type":"ListItem","position":3,"name":"How to Create Product Attributes in WooCommerce"}]},{"@type":"WebSite","@id":"https:\/\/crocoblock.com\/knowledge-base\/#website","url":"https:\/\/crocoblock.com\/knowledge-base\/","name":"Help Center","description":"","publisher":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/crocoblock.com\/knowledge-base\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/crocoblock.com\/knowledge-base\/#organization","name":"Help Center","url":"https:\/\/crocoblock.com\/knowledge-base\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/","url":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","contentUrl":"https:\/\/crocoblock.com\/knowledge-base\/wp-content\/uploads\/2025\/04\/invert-crocoblock-logo.svg","caption":"Help Center"},"image":{"@id":"https:\/\/crocoblock.com\/knowledge-base\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article\/46167"}],"collection":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article"}],"about":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/types\/article"}],"author":[{"embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/users\/12"}],"wp:attachment":[{"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/media?parent=46167"}],"wp:term":[{"taxonomy":"builder-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/builder-category?post=46167"},{"taxonomy":"article-category","embeddable":true,"href":"https:\/\/crocoblock.com\/knowledge-base\/wp-json\/wp\/v2\/article-category?post=46167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}