# Create a product group: manual or by rules

> How to create a product group in Settings > Online shop, choosing the products one by one or with filters that keep themselves up to date.

## Group details

1. Go to **Settings > Online shop > Product groups**.
2. Click **New group**. A window opens with two tabs: **Data** and **Translations**.
3. In **Data**, fill in the **Name** and, if you want, the **Description** and an **Image**.
4. The **URL slug** is the last part of the group's address (`/catalog/your-slug`). It is suggested from the name, but you can change it. Be careful: if you change it later, links you have already shared will stop working.

## Manual content: you choose the products one by one

In **Content**, choose **Manual** if you want to decide which products go in and in what order.

1. Choose the **Product type** (group lesson, private lesson, packs, rental, bundle, retail, pass, course...).
2. Search for the product in the **Product** field and select it to add it.
3. Repeat with other product types to mix them in the same group.
4. Drag the products in the list to change their order.

![New group with manual content: product type and product search](https://media.support.lueira.com/images/7ed80b3d-0a36-4249-99bc-16ef1e5c6a8c.jpg)

## Content by rules: products join on their own

Choose **By rules** if you want Lueira to include automatically the products that match some filters. If you create a product tomorrow that fits, it will appear in the group without you doing anything.

1. Click **Add selector**.
2. Choose the selector's **product type**. Depending on the type, different filters appear. For example, for a group lesson you can filter by **Activities**, **Levels**, **Centers** and **Languages**. If you leave a filter on "Any", it does not limit anything.
3. If you need more than one type, add another selector. The products from all the selectors are added together: the group includes whatever matches *any* of them.
4. Look at the **Preview**: it tells you how many products match and shows the first ones, so you can check the rule does what you expect.

![New group by rules: group lesson selector with filters and preview](https://media.support.lueira.com/images/83cbb9c0-2bd5-4339-af67-9ddd9350de75.jpg)

## Order, publishing and saving

- **Order**: choose how the products of the group are sorted. **Store order** (default) follows the order you already have set for the online shop; **By name** sorts them alphabetically; **Manual order** follows the order you set.
- **Published**: new groups start unpublished. Turn it on when you want the group to be reachable in the online shop.
- Click **Save**. Before saving you can go to the **Translations** tab to enter the name and description in the other languages (we explain it in the guide about the shop menu).

**Tip:** a group does not appear in the menu until you add it to the shop navigation. Publishing it only makes it reachable by its address.

Source: https://help.lueira.com/en/articles/crear-un-grupo-de-productos-manual-o-por-reglas
