{"id":305821,"date":"2021-09-16T17:52:35","date_gmt":"2021-09-16T17:52:35","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=305821"},"modified":"2024-07-24T11:09:14","modified_gmt":"2024-07-24T11:09:14","slug":"create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/","title":{"rendered":"Create Custom Attribute Set and their Custom Attribute Groups In Magento2.3 and Magento2.4"},"content":{"rendered":"\n<p>In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group.<\/p>\n\n\n\n<p>In Magento 2.3 and in its latest versions, for database table creation, we use the db_schema.xml file.<br>For more information, you can check to <a href=\"https:\/\/devdocs.magento.com\/guides\/v2.4\/extension-dev-guide\/declarative-schema\/db-schema.html\" target=\"_blank\" rel=\"noreferrer noopener\">Configure declarative schema<\/a>. But sometimes, we need to add some additional attributes or attribute set and its custom attributes group.<\/p>\n\n\n\n<p>Then we can do it by following the below steps.<br><br><strong>1.<\/strong> Create <strong>DemoAttributeSetAndItsGroup.php<\/strong> file inside <em>app\/code\/Vendor\/CustomModule\/Setup\/Patch\/Data\/<\/em> directory.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;?php\n\/**\n * Webkul Software.\n *\n * @category  Webkul\n * @package   Vendor_CustomModule\n * @author    Webkul Software Private Limited\n * @copyright Copyright (c) Webkul Software Private Limited (https:\/\/webkul.com)\n * @license   https:\/\/store.webkul.com\/license.html\n *\/\nnamespace Vendor\\CustomModule\\Setup\\Patch\\Data;\n\nuse Magento\\Eav\\Model\\Config as EavConfig;\nuse Magento\\Framework\\Setup\\ModuleDataSetupInterface;\nuse Magento\\Framework\\Setup\\Patch\\DataPatchInterface;\nuse Magento\\Eav\\Model\\Entity\\Attribute\\SetFactory as AttributeSetFactory;\nuse Magento\\Eav\\Api\\Data\\AttributeGroupInterfaceFactory;\nuse Magento\\Eav\\Api\\AttributeGroupRepositoryInterface;\n\nclass DemoAttributeSetAndItsGroup implements DataPatchInterface\n{\n    \/**\n     * @var ModuleDataSetupInterface\n     *\/\n    private $moduleDataSetup;\n    \/**\n     * @var AttributeSetFactory\n     *\/\n    private $attributeSetFactory;\n\n    \/**\n     * @var EavConfig\n     *\/\n    private $eavConfig;\n\n    \/**\n     * @var AttributeGroupInterfaceFactory\n     *\/\n    private $attributeGroupFactory;\n\n    \/**\n     * @var AttributeGroupRepositoryInterface\n     *\/\n    private $attributeGroupRepository;\n\n    \/**\n     * Initialize dependencies\n     * \n     * @param ModuleDataSetupInterface $moduleDataSetup\n     * @param AttributeSetFactory $attributeSetFactory\n     * @param EavConfig $eavConfig\n     * @param AttributeGroupInterfaceFactory $attributeGroupFactory\n     * @param AttributeGroupRepositoryInterface\n     * @return void\n     *\/\n    public function __construct(\n        ModuleDataSetupInterface $moduleDataSetup,\n        AttributeSetFactory $attributeSetFactory,\n        EavConfig $eavConfig,\n        AttributeGroupInterfaceFactory $attributeGroupFactory,\n        AttributeGroupRepositoryInterface $attributeGroupRepository\n    ) {\n        $this-&gt;moduleDataSetup          = $moduleDataSetup;\n        $this-&gt;attributeSetFactory      = $attributeSetFactory;\n        $this-&gt;eavConfig                = $eavConfig;\n        $this-&gt;attributeGroupFactory    = $attributeGroupFactory;\n        $this-&gt;attributeGroupRepository = $attributeGroupRepository;\n    }\n\n    \/**\n     * {@inheritdoc}\n     *\/\n    public function apply()\n    {\n        try {\n            $entityTypeId = $this-&gt;eavConfig-&gt;getEntityType(\\Magento\\Catalog\\Model\\Product::ENTITY)-&gt;getId();\n            $attributeSetId = $this-&gt;eavConfig-&gt;getEntityType(\\Magento\\Catalog\\Model\\Product::ENTITY)\n                -&gt;getDefaultAttributeSetId();\n\n            $attributeSet = $this-&gt;attributeSetFactory-&gt;create();\n\n            $data = &#091;\n                &#039;attribute_set_name&#039; =&gt; &#039;Demo Attribute Set&#039;,\n                &#039;entity_type_id&#039; =&gt; $entityTypeId,\n                &#039;sort_order&#039; =&gt; 200,\n            ];\n            $attributeSet-&gt;setData($data);\n            $attributeSet-&gt;validate();\n            $attributeSet-&gt;save();\n            $attributeSet-&gt;initFromSkeleton($attributeSetId);\n            $attributeSet-&gt;save();\n\n            $attributeGroupName = &#039;Demo Group1&#039;;        \n          \n            $attributeGroup = $this-&gt;attributeGroupFactory-&gt;create();\n            $attributeGroup-&gt;setAttributeSetId($attributeSet-&gt;getAttributeSetId());\n            $attributeGroup-&gt;setAttributeGroupName($attributeGroupName);\n            $this-&gt;attributeGroupRepository-&gt;save($attributeGroup);\n        } catch (\\Exception $e) {\n            return $e-&gt;getMessage();\n        }\n    }\n\n    \/**\n     * {@inheritdoc}\n     *\/\n    public static function getDependencies()\n    {\n        return &#091;];\n    }\n\n    \/**\n     * {@inheritdoc}\n     *\/\n    public function getAliases()\n    {\n        return &#091;];\n    }\n}<\/pre>\n\n\n\n<p><strong>2.<\/strong> In the following images, you can see our custom attribute set &#8220;Demo Attribute Set&#8221; and its custom attribute group &#8220;Demo Group1&#8221;.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"617\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png\" alt=\"attributeSet\" class=\"wp-image-305822\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-300x154.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-250x129.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-768x395.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1536x790.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet.png 1802w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Custom Attribute Set Image<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"579\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeGroup-1200x579.png\" alt=\"attributeGroup\" class=\"wp-image-305823\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeGroup-1200x579.png 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeGroup-300x145.png 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeGroup-250x121.png 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeGroup-768x371.png 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeGroup-1536x742.png 1536w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeGroup.png 1808w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Custom Attribute Group<\/figcaption><\/figure>\n\n\n\n<p>Hope this will be helpful. Thanks \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group. In Magento 2.3 and in its latest versions, for database table creation, we use the db_schema.xml file.For more information, you can check to Configure declarative schema. But sometimes, we need to add some additional <a href=\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":249,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[302,8884],"tags":[354,12054,12053,12052,2460,12055],"class_list":["post-305821","post","type-post","status-publish","format-standard","hentry","category-magento2","category-magento2-marketplace","tag-attribute","tag-attribute-set-and-its-group","tag-custom-attribute-group","tag-custom-attribute-set","tag-magento-2","tag-set-and-group"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Magento2 Custom Attribute Set and their Attribute Groups<\/title>\n<meta name=\"description\" content=\"In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Magento2 Custom Attribute Set and their Attribute Groups\" \/>\n<meta property=\"og:description\" content=\"In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-09-16T17:52:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-24T11:09:14+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png\" \/>\n<meta name=\"author\" content=\"Khushboo Sahu\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Khushboo Sahu\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\"},\"author\":{\"name\":\"Khushboo Sahu\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca\"},\"headline\":\"Create Custom Attribute Set and their Custom Attribute Groups In Magento2.3 and Magento2.4\",\"datePublished\":\"2021-09-16T17:52:35+00:00\",\"dateModified\":\"2024-07-24T11:09:14+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\"},\"wordCount\":136,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png\",\"keywords\":[\"Attribute\",\"attribute set and its group\",\"custom attribute group\",\"custom attribute set\",\"Magento 2\",\"set and group\"],\"articleSection\":[\"Magento2\",\"Magento2 marketplace\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\",\"url\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\",\"name\":\"Magento2 Custom Attribute Set and their Attribute Groups\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png\",\"datePublished\":\"2021-09-16T17:52:35+00:00\",\"dateModified\":\"2024-07-24T11:09:14+00:00\",\"description\":\"In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet.png\",\"width\":1802,\"height\":927,\"caption\":\"attributeSet\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Create Custom Attribute Set and their Custom Attribute Groups In Magento2.3 and Magento2.4\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca\",\"name\":\"Khushboo Sahu\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g\",\"caption\":\"Khushboo Sahu\"},\"url\":\"https:\/\/webkul.com\/blog\/author\/khushboo-sahu062\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Magento2 Custom Attribute Set and their Attribute Groups","description":"In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group.","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:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/","og_locale":"en_US","og_type":"article","og_title":"Magento2 Custom Attribute Set and their Attribute Groups","og_description":"In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group.","og_url":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2021-09-16T17:52:35+00:00","article_modified_time":"2024-07-24T11:09:14+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png","type":"","width":"","height":""}],"author":"Khushboo Sahu","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Khushboo Sahu","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/"},"author":{"name":"Khushboo Sahu","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca"},"headline":"Create Custom Attribute Set and their Custom Attribute Groups In Magento2.3 and Magento2.4","datePublished":"2021-09-16T17:52:35+00:00","dateModified":"2024-07-24T11:09:14+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/"},"wordCount":136,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png","keywords":["Attribute","attribute set and its group","custom attribute group","custom attribute set","Magento 2","set and group"],"articleSection":["Magento2","Magento2 marketplace"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/","url":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/","name":"Magento2 Custom Attribute Set and their Attribute Groups","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet-1200x617.png","datePublished":"2021-09-16T17:52:35+00:00","dateModified":"2024-07-24T11:09:14+00:00","description":"In this blog, we are going to learn how we can create a custom attribute set and its custom attributes group.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/09\/attributeSet.png","width":1802,"height":927,"caption":"attributeSet"},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/create-custom-attribute-set-and-their-custom-attribute-groups-in-magento2-3-and-magento2-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Create Custom Attribute Set and their Custom Attribute Groups In Magento2.3 and Magento2.4"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f94b8f53397bf85810761d76c98fadca","name":"Khushboo Sahu","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cabac965df656d114e6bf340df07518c990eda03bb09265dbd5c17f1097adaae?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Feva.png&r=g","caption":"Khushboo Sahu"},"url":"https:\/\/webkul.com\/blog\/author\/khushboo-sahu062\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/305821","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/249"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=305821"}],"version-history":[{"count":4,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/305821\/revisions"}],"predecessor-version":[{"id":454511,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/305821\/revisions\/454511"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=305821"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=305821"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=305821"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}