{"id":2988,"date":"2024-09-10T13:54:43","date_gmt":"2024-09-10T11:54:43","guid":{"rendered":"https:\/\/blog.sutilweb.eu\/?page_id=2988"},"modified":"2024-09-10T13:54:44","modified_gmt":"2024-09-10T11:54:44","slug":"07-configurar-categorias-en-prestashop-8","status":"publish","type":"page","link":"https:\/\/sutilweb.eu\/index.php\/cmss-frameworks\/prestashop\/prestashop-8\/07-configurar-categorias-en-prestashop-8\/","title":{"rendered":"07. Configurar categor\u00edas en Prestashop 8"},"content":{"rendered":"\n<p>En este cap\u00edtulo vamos a ver como gestionar todas las categor\u00edas de nuestra tienda, para de esta forma poder empezar a crear toda la estructura interna para luego poder asociar los productos.<\/p>\n\n\n\n<p>Para ello seguimos la ruta <em><strong>Cat\u00e1logo -> Categor\u00edas<\/strong><\/em>, y dentro de esta secci\u00f3n ya tenemos un listado de categor\u00edas.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"598\" src=\"https:\/\/blog.sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-1024x598.png\" alt=\"\" class=\"wp-image-2994\" srcset=\"https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-1024x598.png 1024w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-300x175.png 300w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-768x448.png 768w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-1536x897.png 1536w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2048x1196.png 2048w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-1320x771.png 1320w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>El listado que aparece es el de las categor\u00edas que trae Prestashop por defecto, pero podemos hacernos una idea de como funcionan internamente. Dentro de cada categor\u00eda puede haber subcategor\u00edas de forma ilimitada. Si hacemos clic en alguna de las categor\u00edas, nos llevar\u00e1 a las subcategor\u00edas de la categor\u00eda a la que hemos hecho clic.<\/p>\n\n\n\n<p>En nuestra categor\u00eda ra\u00edz tenemos varios campos como son la <em>ID<\/em>, el <em>Nombre<\/em>, <em>Descripci\u00f3n<\/em>, <em>Productos<\/em> asociados a dicha categor\u00eda, <em>Posici\u00f3n<\/em> de los productos, el campo <em>Mostrados<\/em> que indica si se van o no a mostrar dichas categor\u00edas, que podemos cambiarla tan s\u00f3lo con arrastrar, y el campo <em>Acciones<\/em> con m\u00e1s opciones de categor\u00edas (borrar, modificar&#8230;), el icono de la <strong>lupa<\/strong> indica que la categor\u00eda ya tiene subcategor\u00edas, y si hacemos clic en \u00e9l nos llevar\u00e1 a sus subcategor\u00edas. Si no tuviera subcategor\u00edas, en vez de la <strong>lupa<\/strong> aparecer\u00eda el bot\u00f3n de <strong>editar<\/strong> (una especie de l\u00e1piz).<\/p>\n\n\n\n<p>Si hacemos clic en el bot\u00f3n <em><strong>Modificar<\/strong><\/em> aparecer\u00e1n los siguientes campos<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"765\" src=\"https:\/\/blog.sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2-1024x765.png\" alt=\"\" class=\"wp-image-3008\" srcset=\"https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2-1024x765.png 1024w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2-300x224.png 300w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2-768x574.png 768w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2-1536x1147.png 1536w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2-1320x986.png 1320w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-2.png 1734w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"917\" src=\"https:\/\/blog.sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-3-1024x917.png\" alt=\"\" class=\"wp-image-3009\" srcset=\"https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-3-1024x917.png 1024w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-3-300x269.png 300w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-3-768x688.png 768w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-3-1536x1376.png 1536w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-3-1320x1183.png 1320w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-3.png 1576w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"508\" src=\"https:\/\/blog.sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-4-1024x508.png\" alt=\"\" class=\"wp-image-3010\" srcset=\"https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-4-1024x508.png 1024w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-4-300x149.png 300w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-4-768x381.png 768w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-4-1536x762.png 1536w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-4-1320x655.png 1320w, https:\/\/sutilweb.eu\/wp-content\/uploads\/2024\/09\/Categorias-4.png 1674w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Para crear una categor\u00eda hacemos clic en el bot\u00f3n <em><strong>A\u00f1adir categor\u00eda<\/strong><\/em> y rellenamos los campos y hacemos clic en el bot\u00f3n <em><strong>Guardar<\/strong><\/em>. De primeras las categor\u00edas nuevas no van a aparecer en el men\u00fa, para ver nuestra categor\u00eda creada vamos a hacerlo por la ID m\u00e1s un gui\u00f3n medio y la URL que se ha creado.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>En este cap\u00edtulo vamos a ver como gestionar todas las categor\u00edas de nuestra tienda, para de esta forma poder empezar [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2580,"menu_order":7,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-2988","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Sutil Web","author_link":"https:\/\/sutilweb.eu\/index.php\/author\/sutilweb\/"},"uagb_comment_info":0,"uagb_excerpt":"En este cap\u00edtulo vamos a ver como gestionar todas las categor\u00edas de nuestra tienda, para de esta forma poder empezar [&hellip;]","_links":{"self":[{"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/pages\/2988","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/comments?post=2988"}],"version-history":[{"count":27,"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/pages\/2988\/revisions"}],"predecessor-version":[{"id":3019,"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/pages\/2988\/revisions\/3019"}],"up":[{"embeddable":true,"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/pages\/2580"}],"wp:attachment":[{"href":"https:\/\/sutilweb.eu\/index.php\/wp-json\/wp\/v2\/media?parent=2988"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}