Child pages
  • Gestionar Categorías

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Managing Categories

Categories are essential, as they enable you to group equivalent products. This helps customers find their way through the variety of your catalog, and narrow down their search when looking for a specific type of product. Categories also make it easy for the customers to find and compare them (thanks to PrestaShop's product-comparison feature).

You should create a new category from the moment you have at least two products with equivalent attributes. Products in a category should be comparable, if not interchangeable. Keep this idea in mind when adding new products and creating new categories.

Info

You may choose to not create any category, and have all products grouped into a single global category, "Home". But then customers won't be able to compare products.

You may also decide that you are not interested in the comparison feature, and would rather build your categories freely. In that case, you should disable the comparison feature: go the product preference page, and put 0 for the "Product comparison" option.

Tip

When creating a product category, you should focus on one thing: the products in this category must be comparable through their attributes (not their features). This is not only useful for your customers, but it is also a necessity for PrestaShop's product-comparison feature.

Categories are managed in the "Categories" page of the "Catalog" menu. This page displays a table with the currently existing categories, with the main information displayed.
In order to display sub-categories, click on the parent category or select "View" in the action menu.

Image Removed

Using the icon in the "Displayed" column of the table, you can indicate the ones you want hidden from the customer by clicking on the green check-mark icon, thus turning it into a red "x" mark.

All the categories are actually sub-categories of the "Home" category.
To edit the "Home" category (or any currently selected category), click on the "Edit" button in the button bar when the table displays the root categories.

To create a new category (or a sub-category of an existing category), click on the "Add New" button from any level of categories.

Image Removed

Tip
titleTranslate your categories!

Make sure to translate each field in every language that your shop supports. In order to do that, click on the language button next to the field, and choose the language in which you wish to edit the text.

First of all, you must enter a set of general information:

  • Name. Give your category a name. Make it very short and descriptive, and choose your words wisely: your customers will rely on it when browsing your shop.
  • Displayed. Indicate if it is "displayed" (i.e., whether or not it will be available to your customers). For example, you may want to postpone displaying a new category to your customers because you have not quite completed it.
  • Parent Category. Does not appear when creating a root category. If you wish to create a subcategory belonging to a category other than the home page, choose the category under which it will appear.
    The form is the same when creating a root category or a sub-category. The only difference is that when clicking "Add New" from a sub-level of categories, PrestaShop understands that you want to create a sub-category, and therefore sets the "Parent category" option accordingly.
  • Description. You should fill this field, because not only will it be useful to you or your employees, but some themes might also make use of it, displaying it to your customers.
  • Image. Click on "Add file" to upload an image from your computer which will represent this category.
  • Meta title. The title that will appear on the search engines when a request is made by a customer
  • Meta description. A presentation of your category in just a few lines, intended to capture a customer's interest. This will appear in search results
  • Meta Keywords. Keywords that you must define in order to have your site referenced by search engines. You can enter several of them, separated by commas, as well as expressions, which must be indicated in quotation marks.
  • Friendly URL. Enables you to rewrite the addresses of your categories as you wish.
    For example, instead of having an address such as http://www.example.com/category.php?id_category=3, you can have http://www.example.com/123-name-of-the-category.
    In this case, all you would need to do is indicate in the field marked "Friendly URL" the words that you wish to see appear instead of "name-of-the-category" separated by dashes.
  • Group access. Restricts access to the category and its products to certain shoppers. To see these categories, your shoppers must belong to a user group. Check out the "Groups" page in the "Customers" menu for more information.
  • Root Category. Only appears when creating a root category. You might want to use this new category as the new root category, instead of "Home". If so, check this option that applies.

    Info

    The root category is very useful in multi-shop mode. Imagine you have 3 stores with different or partly different products and categories: you might want to use a different root category for each store.

    The root category thus reflects the "home" category of each store so if you do not want to have the same products in the homepage category of each store, you need different root categories.
    This way it is easier to assign categories to each store and you can have different products in the home category.

Once you have finished configuring your category, save it, and you are ready to fill it with products.

Navigating and editing categories

The "Edit" button in the button bar enables you to edit the parent category of the currently-displayed sub-categories. This means that when you are viewing the main sub-categories, clicking the "Edit" button will enable you to edit the "Home" category.

You can click on any category in the table: this will open that category, and display all of its sub-categories. In effect, this will change the context of the interface: clicking the "Edit" button will edit the current parent category, and clicking the "Add new" button will open the category creation form with the "Parents category" option set to the current parent category.

Importing and exporting categories

Besides the "Add new" and the "Edit" buttons, the list's button bar also features three buttons:

...

Gestionar Categorías

Las categorías son esenciales, ya que te permite agrupar productos equivalentes. Esto ayuda a los clientes a navegar fácilmente a través de tu catálogo de productos, y restringir la búsqueda a un tipo específico de producto. Las categorías también facilitan a tus clientes el que puedan comparar los productos de tu catálogo (gracias a la función de comparación de productos de PrestaShop).

Debes crear una nueva categoría en el momento en que tenga al menos dos productos con atributos o características equivalentes. Los productos dentro de una misma categoría deben ser comparables, e incluso intercambiables. Mantén esta idea al añadir nuevos productos y al crear nuevas categorías.

Info

Puedes optar por no crear ninguna categoría, y tener todos los productos agrupados dentro de una sola categoría global, denominada "Inicio". Pero entonces los clientes no tendrán la posibilidad de comparar productos.

También puedes establecer que no estás interesado en la función de comparación, y prefieres crear tus categorías libremente. En ese caso, debes desactivar la herramienta de comparación: dirígete a la página de preferencias de productos, y establece a 0 la opción "Comparación de productos".

Tip

Al crear una categoría de productos, debes cumplir y tener claro un requisito: los productos de esta categoría deben ser comparables entre sí a través de sus atributos (no por sus características). Esto no es sólo útil para tus clientes, sino que también es una necesidad para la funcionalidad que incorpora PrestaShop para comparar productos.

Las categorías son gestionadas en la página "Categorías" del menú "Catálogo". Esta página muestra una tabla con las categorías existentes en la actualidad, mostrando la información principal de cada una de ellas.
Para visualizar las sub-categorías, haz clic en la categoría padre o selecciona "Ver" en el menú de acciones.

Image Added

Utilizando el icono verde de verificación de la columna "Mostrado" de la tabla, puedes indicar que deseas ocultar la categoría correspondiente, convirtiéndose en este caso el icono en una "x" de color rojo. 

Todas las categorías son en realidad subcategorías de la categoría de "Inicio".
Para editar la categoría "Inicio" (o cualquier categoría seleccionada), haz clic en el botón "Modificar" en la barra de botones.

Para crear una nueva categoría (o una subcategoría de una categoría existente), haz clic en el botón "Añadir nueva categoría" en cualquier nivel de categorías.

Image Added

 

Tip
title¡Traduzca sus categorías!

Asegúrate de traducir cada campo en todos los idiomas soportados por tu tienda. Para ello, haz clic en el botón que muestra la lista desplegable de códigos de idioma, y selecciona el idioma en el que deseas editar el texto.

En primer lugar, debes introducir la información general:

  • Nombre. Establece un nombre a tu categoría. Asegúrate de que éste sea corto y descriptivo: tus clientes confiarán en dicho nombre para guiarse a través de tu tienda.
  • Mostrado. Indica si esta categoría será "mostrada" (es decir, si estará o no estará disponible para tus clientes). Por ejemplo, podrías posponer el mostrar una categoría a tus clientes si consideras que ésta no cuenta todavía con suficientes productos introducidos.
  • Categoría padre. No aparece cuando se crea una categoría raíz. Si deseas crear una subcategoría perteneciente a una categoría que no sea la página de inicio, selecciona la categoría bajo la cual aparecerá.
    La forma en la que se crea una categoría raíz o una sub-categoría es la misma. La única diferencia es que cuando se hace clic en "Añadir nueva" desde un sub-nivel de categorías, PrestaShop entiende que deseas crear una subcategoría de esa categoría, y por lo tanto, determina la opción "Categoría padre" en consecuencia.
  • Descripción. Debes rellenar este campo, no solamente porque será de utilidad tanto para ti como para tus empleados, sino porque también algunos temas hacen uso de ella, mostrando ésta a tus clientes.
  • Imagen de portada de categoría. Haz clic en "Añadir archivo" para subir una imagen desde tu ordenador, que represente a esta categoría.
  • Miniatura de categoría. Muestra una imagen pequeña en la página de categoría principal, si el tema lo permite.
  • Miniatura del Menú. La miniatura de categoría aparece en el menú como una pequeña imagen que representa la categoría, si el tema lo permite.
  • Meta título. El título que aparecerá en los motores de búsqueda cuando se realiza una solicitud por parte de un cliente.
  • Meta descripción. Una presentación de tu categoría en unas pocas líneas, destinada a captar el interés de un cliente. Esta descripción aparecerá en los resultados de búsqueda.
  • Meta palabras clave. Palabras clave que definan a esta categoría, con el fin de ser referenciadas por los motores de búsqueda. Puedes introducir varias palabras separadas por comas, así como expresiones que deben ser indicadas entre comillas.
  • URL amigable. Te permite reescribir las direcciones de tus categorías como desees.
    Por ejemplo, en lugar de tener una dirección como http://www.ejemplo.com/categoria.php?id_categoria=3, puedes tener http://www.ejemplo.com/123-nombre-de-la-categoria.
    En este caso, todo lo que tendrías que hacer es indicar en el campo "URL amigable" las palabras que deseas que aparezcan en lugar de "nombre-de-la-categoría", separadas por guiones.
  • Acceso de grupo. Restringe el acceso a la categoría y los productos que la forman a ciertos compradores. Para ver estas categorías, los compradores deben pertenecer a un grupo de usuarios. Echa un vistazo a la página "Grupos" en el menú "Clientes" para obtener más información.
  • Categoría raíz. Sólo aparece cuando se crea una categoría raíz. Es posible que desees utilizar esta nueva categoría como la nueva categoría raíz, en lugar de "Inicio". Si es así, marca esta opción para aplicar el cambio.

    Info

    La categoría raíz es muy útil en el modo multitienda. Imagina que tienes 3 tiendas con diferentes (o parcialmente diferentes) productos y categorías: es posible que desees utilizar una categoría raíz diferente para cada tienda.

    La categoría raíz refleja la categoría "inicio" de cada tienda, así que si no quieres tener los mismos productos en la categoría de la página principal de cada tienda, necesitas crear diferentes categorías raíz.
    De esta forma es más fácil asignar categorías para cada tienda, y así poder tener diferentes productos en la categoría inicio de cada una de ellas.

Una vez que hayas terminado de configurar tu categoría, guardala, y ya estará preparada para llenarla de productos.

Note

Una nueva categoría no aparecerá automáticamente en el menú de tu tienda. Para que salga en tu menú, debes configurar el menú con el módulo "Menú horizontal superior" (si utilizas el tema predeterminado) o cualquier módulo personalizado que utilizas para gestionar tu menú.

 

Examinar y Editar Categorías

El botón "Modificar" en la barra de botones, te permite editar la categoría padre de las subcategorías actualmente mostradas. Esto significa que cuando estés viendo la subcategorías principales, al hacer clic en el botón "Modificar" podrás editar la categoría "Inicio".

Al hacer clic en cualquier categoría de la tabla, se abrirá, y mostrará todas tus subcategorías. Como consecuencia a esta acción, cambiarás el contexto de la interfaz: haciendo clic en el botón "Modificar" puedes editar la categoría padre actual, y haciendo clic en "Añadir nueva" se abrirá el formulario de creación de la categoría con la opción "Categoría padre" establecida a la categoría padre actual.

Importar y exportar categorías

Además de los habituales botones "Añadir nueva" y "Modificar", la barra de botones también cuenta con otros tres botones:

  • Exportar. Te permite descargar la lista de todas las categorías, en formato CSV.
  • Importar. Abre la página "Parámetros avanzados > Importar archivos CSV", con el tipo de datos que se espera establecido en "Categorías". Consulta la sección "Comprender los Parámetros avanzados" para obtener más información sobre la importación de archivos CSV.
    Necesitarás que el archivo CSV siga este formato:

    Code Block
    ID;Name;Description;Position;Displayed;
    3;iPods;Now that you can buy movies from the iTunes Store and sync them to your iPod, the whole world is your theater.;1;1;
    4;Accessories;Wonderful accessories for your iPod;2;1;
    5;Laptops;The latest Intel processor, a bigger hard drive, plenty of memory, and even more new features all fit inside just one liberating inch. The new Mac laptops have the performance, power, and connectivity of a desktop computer. Without the desk part.;3;1;

    The category identifier is the ID, not the category's name.

  • Refresh list. Reloads the list of categories with all the changes that you made.

More import options are available in the "CSV Import" page of the "Advanced parameters" menu.

Adding products to a category

In order to add a product in a category, you must open the product configuration page and go to its "Association" tab on the left. This is where you can set the categories to which the product belongs.

...

The "Home" category is a special category, where you can highlight/promote products from any other category by making them appear in the "Featured products" bloc. By default, you can only display 8 products in the homepage.

The "Featured products" block depends on the "Featured products on the homepage" module. If you want more (or less) products on the homepage, configure this module (from the "Modules" page in the "Modules" menu).

...

  • El identificador de la categoría es la ID, no el nombre de la categoría.

  • Actualizar lista. Vuelve a recargar la lista de categorías mostrando todos los cambios realizados.

Encontrarás disponibles más opciones de importación en la página "Importar CSV" del menú "Parámetros avanzados".

Añadir productos a una categoría

Para añadir un producto a una categoría, debes abrir la página de configuración del producto e ir a la pestaña "Asociaciones" situada a la izquierda del formulario. En esta opción es en donde puedes establecer las categorías a las que pertenece el producto.

Info

La categoría "Inicio" es una categoría especial, donde puedes destacar/promocionar productos de cualquier otra categoría, haciendo que aparezcan en el bloque "Productos destacados". De forma predeterminada, sólo se pueden visualizar 8 productos destacados en la página principal.

El bloque "Productos destacados" está supeditado al módulo "Productos destacados en la página de inicio". Si deseas tener más (o menos) productos en la página principal, configura este módulo (desde la página de "Módulos y Servicios" en el menú "Módulos y Servicios").

Nota: No tienes que quitar un producto de su categoría original para que se visualice  en la página principal. Un producto puede tener tantas categorías, como sea necesario.