# Product Templates

You can create custom product templates to prepare a specific data structure for your product details. A product template can be used for multiple products when you want to have the same attributes for every product.

<figure><img src="https://3057647601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbTY7EwZtYYQYC6GOcdTj%2Fuploads%2Fgit-blob-c7215b5a9497d963fc32d0770e87dd9cc3a81561%2Fproduct_template.png?alt=media" alt=""><figcaption></figcaption></figure>

You can see product template list view with filtering my name, modification and creation date.

## Creating a new template

1. To add a new template to your database, go to **Products** -> **Product templates** and choose **Add new template**.
2. Provide the name of your new template.
3. In the **Add new attribute** window, add product attributes to the template by using the available configuration options. Using the attributes configuration you can define if it's a variant attribute, if it's mandatory and what is the attribute's type. The possible attribute types are:
   * Text
   * Number
   * Yes/No
   * Date/Time

You can also use a predefined values functionality to enter the values that can be used for a product.

<figure><img src="https://3057647601-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbTY7EwZtYYQYC6GOcdTj%2Fuploads%2Fgit-blob-2eb963580e5adcd0a4659fd07f2927137c9903cf%2Ftemplate_attributes.png?alt=media" alt="" width="441"><figcaption></figcaption></figure>

4. Choose **Save** to create the template.

{% hint style="info" %}

* Looking for business guides? Check out the [Products](https://developer.emporix.io/ce/core-commerce/product-user-guide) guide.
* Looking for code tutorials and API reference? Check out the [Product Templates API](https://app.gitbook.com/s/d4POTWomuSS7d3dnh4Dg/api-guides/products-labels-and-brands/product-service) documentation.
  {% endhint %}
