{"id":15037,"date":"2018-02-01T18:22:14","date_gmt":"2018-02-01T15:22:14","guid":{"rendered":"https:\/\/belvg.com\/blog\/?p=15037"},"modified":"2025-02-11T10:43:14","modified_gmt":"2025-02-11T08:43:14","slug":"entities-catalog_product-in-magento-2","status":"publish","type":"post","link":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html","title":{"rendered":"Entities Catalog_Product in Magento 2"},"content":{"rendered":"\n<p>The article is dedicated to catalog product, the tables used for creating attributes, attribute set, attribute group. The first part of the article has already been published. Don&rsquo;t forget to review <a href=\"https:\/\/belvg.com\/blog\/eav-in-magento-2.html\" target=\"_blank\" rel=\"noopener\">EAV in Magento 2<\/a>&nbsp;in order to have a full understanding of the issue.<!--more--><\/p>\n<p><strong>&nbsp;<\/strong><strong>1.10. Create product attribute with Visual Swatch type<\/strong><\/p>\n<pre class=\"lang:mysql decode:true\">INSERT INTO `catalog_eav_attribute` (`attribute_id`, `is_global`, `is_searchable`, `is_filterable`, `is_comparable`, `is_visible_on_front`, `is_html_allowed_on_front`, `is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`, `apply_to`, `is_visible_in_advanced_search`, `is_used_for_promo_rules`, `is_used_in_grid`, `is_visible_in_grid`, `is_filterable_in_grid`, `additional_data`) VALUES (168, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL, 0, 0, 1, 1, 1, 'a:3:{s:17:\"swatch_input_type\";s:6:\"visual\";s:28:\"update_product_preview_image\";s:1:\"0\";s:28:\"use_product_image_for_swatch\";s:1:\"0\";}')\r\n\r\nINSERT INTO `eav_attribute_option` (`attribute_id`, `sort_order`) VALUES ('168', '1')\r\nDELETE FROM `eav_attribute_option_value` WHERE (option_id = '217')\r\nINSERT INTO `eav_attribute_option_value` (`option_id`, `store_id`, `value`) VALUES ('217', '0', 'White')\r\n\r\nINSERT INTO `eav_attribute_option` (`attribute_id`, `sort_order`) VALUES ('168', '2')\r\nDELETE FROM `eav_attribute_option_value` WHERE (option_id = '218')\r\nINSERT INTO `eav_attribute_option_value` (`option_id`, `store_id`, `value`) VALUES ('218', '0', 'Black')\r\n\r\nUPDATE `eav_attribute` SET `default_value` = '' WHERE (attribute_id = '168')\r\n\r\nINSERT INTO `eav_attribute_option_swatch` (`option_id`, `store_id`, `type`, `value`) VALUES (217, 0, 1, '#ffffff')\r\nINSERT INTO `eav_attribute_option_swatch` (`option_id`, `store_id`, `type`, `value`) VALUES (218, 0, 1, '#000000')<\/pre>\n<p><strong>1.11. Create product attribute with Text Swatch type<\/strong><\/p>\n<pre class=\"lang:mysql decode:true\">INSERT INTO `eav_attribute` (`entity_type_id`, `attribute_code`, `backend_model`, `backend_type`, `frontend_input`, `frontend_label`, `source_model`, `is_required`, `is_user_defined`, `is_unique`) VALUES (4, 'text_swatch', NULL, 'int', 'select', 'Text &nbsp;Swatch', 'Magento\\\\Eav\\\\Model\\\\Entity\\\\Attribute\\\\Source\\\\Table', 0, 1, 0)\r\n\r\nDELETE FROM `eav_attribute_label` WHERE (attribute_id ='169')\r\n\r\nINSERT INTO `catalog_eav_attribute` (`attribute_id`, `is_global`, `is_searchable`, `is_filterable`, `is_comparable`, `is_visible_on_front`, `is_html_allowed_on_front`, `is_filterable_in_search`, `used_in_product_listing`, `used_for_sort_by`, `apply_to`, `is_visible_in_advanced_search`, `is_used_for_promo_rules`, `is_used_in_grid`, `is_visible_in_grid`, `is_filterable_in_grid`, `additional_data`) VALUES (169, 0, 0, 0, 0, 0, 1, 0, 0, 0, NULL, 0, 0, 1, 1, 1, 'a:3:{s:17:\"swatch_input_type\";s:4:\"text\";s:28:\"update_product_preview_image\";s:1:\"0\";s:28:\"use_product_image_for_swatch\";i:0;}')\r\n\r\nINSERT INTO `eav_attribute_option` (`attribute_id`, `sort_order`) VALUES ('169', '1')\r\nDELETE FROM `eav_attribute_option_value` WHERE (option_id = '219')\r\nINSERT INTO `eav_attribute_option_value` (`option_id`, `store_id`, `value`) VALUES ('219', '0', 'Description one')\r\n\r\nINSERT INTO `eav_attribute_option` (`attribute_id`, `sort_order`) VALUES ('169', '2')\r\nDELETE FROM `eav_attribute_option_value` WHERE (option_id = '220')\r\nINSERT INTO `eav_attribute_option_value` (`option_id`, `store_id`, `value`) VALUES ('220', '0', 'Description two')\r\n\r\nUPDATE `eav_attribute` SET `default_value` = '' WHERE (attribute_id = '169')\r\n\r\nINSERT INTO `eav_attribute_option_swatch` (`option_id`, `store_id`, `type`, `value`) VALUES (219, 0, 0, 'Swatch one')\r\nINSERT INTO `eav_attribute_option_swatch` (`option_id`, `store_id`, `type`, `value`) VALUES (219, 1, 0, NULL)\r\n\r\nINSERT INTO `eav_attribute_option_swatch` (`option_id`, `store_id`, `type`, `value`) VALUES (220, 0, 0, 'Swatch two')\r\nINSERT INTO `eav_attribute_option_swatch` (`option_id`, `store_id`, `type`, `value`) VALUES (220, 1, 0, NULL)<\/pre>\n<p><strong>2. Create attribute set with our new attributes. You can perform this in the admin panel: Stores &ndash; Attributes &ndash; Attribute Sets &ndash; Add Attribute Sets<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `eav_attribute_set` (`entity_type_id`, `attribute_set_name`) VALUES (4,'Test Set')<\/pre>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/magento-audit\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><div class=\"module_content_part\"><h3 class=\"title\">Magento Audit<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento Audit<\/p><a href=\"https:\/\/belvg.com\/magento-audit\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n<p><strong>3. Add new attribute group in attribute set<\/strong><\/p>\n<p>Add new attribute group in attribute set as it is shown in the picture below. Save it and check the queries. Firstly, the record about a new attribute group is added:<\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `eav_attribute_group` (`attribute_set_id`, `attribute_group_name`, `sort_order`, `attribute_group_code`) VALUES (16, 'Test group', 11, 'test-group')<\/pre>\n<p>For each attribute, the same queries are made. The difference is in <em>attribute_id<\/em> and <em>sort_order.<\/em> <a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/02\/SQL-queries.txt\" target=\"_blank\" rel=\"noopener\">Check all SQL queries<\/a>.<\/p>\n<p>Let&rsquo;s have a closer look at SQL queries using the following attribute:<\/p>\n<pre class=\"lang:mysql decode:true \">UPDATE `eav_attribute` SET `entity_type_id` = 4 WHERE (attribute_id='159')<\/pre>\n<p>Redundant line, as all the attributes created have <em>entity_type_id = 4<\/em><\/p>\n<pre class=\"lang:mysql decode:true \">DELETE FROM `eav_attribute_label` WHERE (attribute_id ='159')<\/pre>\n<p>Update attribute label. If we assigned the label for the attribute, there would be a new line added:<\/p>\n<pre class=\"lang:mysql decode:true\">INSERT INTO `eav_attribute_label` (`attribute_id`, `store_id`, `value`) VALUES ('159', 1, 'Label Name')\r\n\r\nUPDATE `catalog_eav_attribute` SET `attribute_id` = 159 WHERE (attribute_id = '159')\r\n\r\nDELETE FROM `eav_entity_attribute` WHERE (attribute_id =159) AND (attribute_set_id =16)\r\nINSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES ('4', 16, 101, 159, 1)\r\n\r\nDELETE FROM `eav_entity_attribute` WHERE (attribute_id =159) AND (attribute_set_id =16)\r\nINSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES ('4', 16, 101, 159, 1)<\/pre>\n<p>Two couples of similar queries where we get data updated: <em>eav_entity_attribute<\/em><\/p>\n<p>In such a manner, if we remove query redundancy and imagine creating attributes with no labels for the first time, the only query will be enough:<\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES ('4', 16, 101, 159, 1);<\/pre>\n<p>One might create 1 query for all 11 attributes:<\/p>\n<pre class=\"lang:mysql decode:true\">INSERT INTO `eav_entity_attribute` (`entity_type_id`, `attribute_set_id`, `attribute_group_id`, `attribute_id`, `sort_order`) VALUES\r\n('4', 16, 101, 159, 1),\r\n('4', 16, 101, 160, 2),\r\n('4', 16, 101, 161, 3),\r\n('4', 16, 101, 162, 4),\r\n('4', 16, 101, 163, 5),\r\n('4', 16, 101, 164, 6),\r\n('4', 16, 101, 165, 7),\r\n('4', 16, 101, 166, 8),\r\n('4', 16, 101, 167, 9),\r\n('4', 16, 101, 168, 10),\r\n('4', 16, 101, 169, 11);<\/pre>\n<p>The picture below contains the tables we&rsquo;ve already dealt with:<\/p>\n<p><a href=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/02\/Entities-Catalog_Product-in-Magento-2_1.png\"><img decoding=\"async\" loading=\"lazy\" class=\"lazy alignnone size-full wp-image-15040\" src=\"https:\/\/belvg.com\/wp-content\/uploads\/2019\/06\/pixel.png\" data-src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/02\/Entities-Catalog_Product-in-Magento-2_1.png\" alt=\"Entities Catalog_Product in Magento 2_1\" width=\"1600\" height=\"1356\" title=\"Entities Catalog_Product in Magento 2\"><\/a><strong>4.&nbsp;Let&rsquo;s consider the tables used when assigning attributes to products.<\/strong><\/p>\n<p>When saving attribute values, it&rsquo;s necessary to use the tables <em>eav_entity_{type}<\/em><\/p>\n<p><em>entity_id &ndash; id product.<\/em><\/p>\n<div class=\"content_sales_info\" style=\"background-image: url(https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/03\/Sales_background.png\"><img width=\"65\" height=\"65\" src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2015\/11\/Andrey_Dubina.png\" alt=\"Andrey_Dubina\" title=\"Entities Catalog_Product in Magento 2\"><div class=\"content_part\"><h3 class=\"title\">Partner With Us <\/h3><span class=\"sales_content_text\">Let's discuss how to grow your business. Get a Free Quote.<\/span><\/div> <a class=\"call-to-action\" href=\"https:\/\/belvg.com\/contact?utm_source=blog&amp;utm_campaign=sales_block&amp;utm_content=middle\" target=\"_blank\" rel=\"noopener\">Talk to Andrey<\/a><\/div>\n<p><strong>4.1. Text Field<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_varchar` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '159', 'Text Field Value', 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p><strong>4.2. Text Area<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_text` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '160', 'Text Area Value', 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p><strong>4.3. Date<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_datetime` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '161', '2017-12-20 00:00:00', 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p><strong>4.4. Yes\/No<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_int` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '162', 1, 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p>In the example yes\/no attribute is equal to yes(1).<\/p>\n<p><strong>4.5. Multiple Select<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_varchar` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '163', '213,214', 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p>For multi-selection I chose 2 values. It&rsquo;s apparent that id values are saved as lines.<\/p>\n<p><strong>4.6. Dropdown<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_int` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '164', 216, 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p><strong>4.7. Price<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_decimal` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '165', 99.0, 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p><strong>4.8. Media Image<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_varchar` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '166', '\/h\/o\/hours.png.tmp', '0') ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p><strong>4.9. Fixed Product Tax<\/strong><\/p>\n<pre class=\"lang:mysql decode:true\">DELETE FROM `weee_tax` WHERE (entity_id = 2047) AND (attribute_id = 167)\r\nINSERT INTO `weee_tax` (`website_id`, `country`, `state`, `value`, `attribute_id`, `entity_id`) VALUES ('0', 'AW', '', '1', '167', 2047)\r\nINSERT INTO `weee_tax` (`website_id`, `country`, `state`, `value`, `attribute_id`, `entity_id`) VALUES ('0', 'HT', '0', '2', '167', 2047)<\/pre>\n<p><strong>4.10. Visual Swatch<\/strong><\/p>\n<pre class=\"lang:mysql decode:true \">INSERT INTO `catalog_product_entity_int` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '168', 217, 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<p><strong>4.11. Text Swatch<\/strong><\/p>\n<pre class=\"lang:default decode:true\">INSERT INTO `catalog_product_entity_int` (`entity_id`,`attribute_id`,`value`,`store_id`) VALUES (2047, '169', 219, 0) ON DUPLICATE KEY UPDATE `entity_id` = VALUES(`entity_id`), `attribute_id` = VALUES(`attribute_id`), `value` = VALUES(`value`), `store_id` = VALUES(`store_id`)<\/pre>\n<div class=\"module_in_content_container\"><a href=\"https:\/\/belvg.com\/magento-custom-development\" class=\"link_to_module\" target=\"_blank\" rel=\"noopener\"><\/a><div class=\"module_content\"><img src=\"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2019\/01\/magento-custom-development.png\" width=\"120\" height=\"120\" alt=\"magento custom development\" class=\"module_image\" title=\"Entities Catalog_Product in Magento 2\"><div class=\"module_content_part\"><h3 class=\"title\">Magento Custom Development<\/h3><p class=\"module_content_text\">Take your online store to the next level with BelVG Magento Custom Development <\/p><a href=\"https:\/\/belvg.com\/magento-custom-development\" class=\"link_2_to_module\" target=\"_blank\" style=\"display:inline-block\" rel=\"noopener\"><span class=\"read-more\">Visit the page<\/span><\/a><\/div><\/div><\/div>\n\n","protected":false},"excerpt":{"rendered":"Developer Certification Exam","protected":false},"author":58,"featured_media":15045,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"image","meta":{"_acf_changed":false,"footnotes":""},"categories":[35,14,389,471],"tags":[],"class_list":["post-15037","post","type-post","status-publish","format-image","has-post-thumbnail","hentry","category-certification","category-magento","category-magento2-development","category-magento-developer","post_format-image"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"The article is dedicated to catalog product, the tables used for creating attributes, attribute set, attribute group.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Aleksander Kutseika\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#article\",\"name\":\"Entities Catalog_Product in Magento 2 | BelVG Blog\",\"headline\":\"Entities Catalog_Product in Magento 2\",\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/aleksander-kutseika#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Entities-Catalog_Product-in-Magento-2-2.jpg\",\"width\":770,\"height\":433,\"caption\":\"Entities Catalog_Product in Magento 2 (2)\"},\"datePublished\":\"2018-02-01T18:22:14+02:00\",\"dateModified\":\"2025-02-11T10:43:14+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#webpage\"},\"articleSection\":\"Certification, Magento, Magento 2 Development, Magento Developer, Image\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"position\":2,\"name\":\"Magento\",\"item\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#listItem\",\"name\":\"Entities Catalog_Product in Magento 2\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#listItem\",\"position\":3,\"name\":\"Entities Catalog_Product in Magento 2\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/category\\\/magento#listItem\",\"name\":\"Magento\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/aleksander-kutseika#author\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/aleksander-kutseika\",\"name\":\"Aleksander Kutseika\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/20dcba617ca05952a14d36e3f30fc6a632094549decebf7a03ba790095042cd3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Aleksander Kutseika\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#webpage\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html\",\"name\":\"Entities Catalog_Product in Magento 2 | BelVG Blog\",\"description\":\"The article is dedicated to catalog product, the tables used for creating attributes, attribute set, attribute group.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/aleksander-kutseika#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/author\\\/aleksander-kutseika#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/02\\\/Entities-Catalog_Product-in-Magento-2-2.jpg\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html\\\/#mainImage\",\"width\":770,\"height\":433,\"caption\":\"Entities Catalog_Product in Magento 2 (2)\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/entities-catalog_product-in-magento-2.html#mainImage\"},\"datePublished\":\"2018-02-01T18:22:14+02:00\",\"dateModified\":\"2025-02-11T10:43:14+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/belvg.com\\\/blog\\\/\",\"name\":\"BelVG Blog\",\"description\":\"Magento and Prestashop articles\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/belvg.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Entities Catalog_Product in Magento 2 | BelVG Blog","description":"The article is dedicated to catalog product, the tables used for creating attributes, attribute set, attribute group.","canonical_url":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#article","name":"Entities Catalog_Product in Magento 2 | BelVG Blog","headline":"Entities Catalog_Product in Magento 2","author":{"@id":"https:\/\/belvg.com\/blog\/author\/aleksander-kutseika#author"},"publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/02\/Entities-Catalog_Product-in-Magento-2-2.jpg","width":770,"height":433,"caption":"Entities Catalog_Product in Magento 2 (2)"},"datePublished":"2018-02-01T18:22:14+02:00","dateModified":"2025-02-11T10:43:14+02:00","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#webpage"},"isPartOf":{"@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#webpage"},"articleSection":"Certification, Magento, Magento 2 Development, Magento Developer, Image"},{"@type":"BreadcrumbList","@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/belvg.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","position":2,"name":"Magento","item":"https:\/\/belvg.com\/blog\/category\/magento","nextItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#listItem","name":"Entities Catalog_Product in Magento 2"},"previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#listItem","position":3,"name":"Entities Catalog_Product in Magento 2","previousItem":{"@type":"ListItem","@id":"https:\/\/belvg.com\/blog\/category\/magento#listItem","name":"Magento"}}]},{"@type":"Organization","@id":"https:\/\/belvg.com\/blog\/#organization","name":"BelVG Blog","description":"Magento and Prestashop articles","url":"https:\/\/belvg.com\/blog\/"},{"@type":"Person","@id":"https:\/\/belvg.com\/blog\/author\/aleksander-kutseika#author","url":"https:\/\/belvg.com\/blog\/author\/aleksander-kutseika","name":"Aleksander Kutseika","image":{"@type":"ImageObject","@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/20dcba617ca05952a14d36e3f30fc6a632094549decebf7a03ba790095042cd3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Aleksander Kutseika"}},{"@type":"WebPage","@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#webpage","url":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html","name":"Entities Catalog_Product in Magento 2 | BelVG Blog","description":"The article is dedicated to catalog product, the tables used for creating attributes, attribute set, attribute group.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/belvg.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#breadcrumblist"},"author":{"@id":"https:\/\/belvg.com\/blog\/author\/aleksander-kutseika#author"},"creator":{"@id":"https:\/\/belvg.com\/blog\/author\/aleksander-kutseika#author"},"image":{"@type":"ImageObject","url":"https:\/\/belvg.com\/blog\/wp-content\/uploads\/2018\/02\/Entities-Catalog_Product-in-Magento-2-2.jpg","@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html\/#mainImage","width":770,"height":433,"caption":"Entities Catalog_Product in Magento 2 (2)"},"primaryImageOfPage":{"@id":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html#mainImage"},"datePublished":"2018-02-01T18:22:14+02:00","dateModified":"2025-02-11T10:43:14+02:00"},{"@type":"WebSite","@id":"https:\/\/belvg.com\/blog\/#website","url":"https:\/\/belvg.com\/blog\/","name":"BelVG Blog","description":"Magento and Prestashop articles","inLanguage":"en-US","publisher":{"@id":"https:\/\/belvg.com\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"15037","title":"Entities Catalog_Product in Magento 2 | #site_title","description":"The article is dedicated to catalog product, the tables used for creating attributes, attribute set, attribute group.","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-11-03 18:37:12","updated":"2026-11-03 18:37:12"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/belvg.com\/blog\/category\/magento\" title=\"Magento\">Magento<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tEntities Catalog_Product in Magento 2\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/belvg.com\/blog\/"},{"label":"Magento","link":"https:\/\/belvg.com\/blog\/category\/magento"},{"label":"Entities Catalog_Product in Magento 2","link":"https:\/\/belvg.com\/blog\/entities-catalog_product-in-magento-2.html"}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/15037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/users\/58"}],"replies":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/comments?post=15037"}],"version-history":[{"count":0,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/posts\/15037\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media\/15045"}],"wp:attachment":[{"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/media?parent=15037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/categories?post=15037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/belvg.com\/blog\/wp-json\/wp\/v2\/tags?post=15037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}