# Custom Fields export/import

Some configurations from our theme can be specifically adjusted using custom fields. Therefore, it might be important for you to export/import these data/settings. In this example, we'll assume you want to export/import your products along with the associated custom fields.

To do this, first navigate to the **settings (1)** and click on **Import/Export (2)**.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FJllc2dhRZr9mBZRgtlUc%2Fdocs-en-settings-import-export.webp?alt=media&#x26;token=d5dc7c77-bda5-40f7-98a7-149ac2d34414" alt=""><figcaption></figcaption></figure>

Custom fields are not included in the default profile for products. Therefore, you need to create a new profile first by going to the **Profiles tab (1).** Here, all available profiles are listed. Standard profiles from Shopware cannot be edited. So, click on **Add new profile (2)**.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2F7Ls2vAsKctxbtCG8u85B%2Fdocs-en-settings-import-export-new-profile.webp?alt=media&#x26;token=a6e6b5fc-7ced-433d-9584-1b98e3368b0d" alt=""><figcaption></figcaption></figure>

A pop-up will appear. First, choose a **profile name and a technical name (1 and 2).** For the **object type (3)**, select "Product" in this example. The **field indicators (4)** determine how the data in your exported CSV file will be separated and what the delimiters should look like in your imported file. Then, click **Next (5)**.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2Fn4ly99lI1LZ0YOMBcyYT%2Fdocs-en-settings-import-export-new-profile-basic-information.webp?alt=media&#x26;token=867d2f1e-6b88-45d0-b69f-407fe11c30f1" alt=""><figcaption></figcaption></figure>

In the next step, you have the option to automatically prepare the data mapping from an existing CSV file. This can be useful for larger import/export datasets. In this example, however, the mapping will be done manually in the following step. So, skip this step for now.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2F9rWj0xXvU1zLHzBaAE9Z%2Fdocs-en-settings-import-export-new-profile-skip-upload.webp?alt=media&#x26;token=6cfa8427-637b-49c0-91bc-ca1c671d3530" alt=""><figcaption></figcaption></figure>

In the final step, we define the data mapping. Here, you link the CSV name (the name of the column in the CSV file) with the database entry. Some entries are pre-selected and should not be deleted, as the import will not work otherwise. You can add a new entry by clicking the **Add new mapping button (1)**.

In the **CSV name field (2)**, enter the name of the column in the CSV file. The **Database entry field (3)** is important. In this field, paste the following value: `translations.DEFAULT.customFields`. A dropdown arrow will appear, allowing you to select from all the product-related custom fields in your shop. Zenit Custom fields are prefixed with `zenit_[THEMENAME]_`.

<figure><img src="https://2915610672-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4i6VN0FeNAgRFLwVM2Cr%2Fuploads%2FpRf0dUG0dg5jyZeTKQSG%2Fdocs-en-settings-import-export-new-profile-data-mapping.webp?alt=media&#x26;token=a5c7fee2-a743-402c-8d08-32bc4932e3e5" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Warning: By using `translations.DEFAULT.customFields`, you will export the content of the custom field in the default language of your shop. To export a specific language, replace `DEFAULT` with the ISO code (e.g., `translations.en-GB.customFields`).
{% endhint %}

Save the profile afterward. The profile will now be available for selection in the Import/Export module.

## Available theme custom fields

Below you will find an overview of which theme add-on fields you refer to by their technical names.

#### Product theme custom fields

<table><thead><tr><th width="313">custom field</th><th>technical name</th><th data-hidden></th></tr></thead><tbody><tr><td>Product features</td><td>zenit_THEMENAME_features</td><td></td></tr><tr><td>Youtube IDs / Urls</td><td>zenit_THEMENAME_youtube_ids</td><td></td></tr><tr><td>Vimeo IDs / Urls</td><td>zenit_THEMENAME_vimeo_ids</td><td></td></tr><tr><td>Tab 1 title</td><td>zenit_THEMENAME_custom_tab1_title</td><td></td></tr><tr><td>Tab 1 text</td><td>zenit_THEMENAME_custom_tab1_text</td><td></td></tr><tr><td>Tab 2 title</td><td>zenit_THEMENAME_custom_tab2_title</td><td></td></tr><tr><td>Tab 2 text</td><td>zenit_THEMENAME_custom_tab2_text</td><td></td></tr><tr><td>Datasheet 1</td><td>zenit_THEMENAME_datasheet_one</td><td></td></tr><tr><td>Datasheet 2</td><td>zenit_THEMENAME_datasheet_two</td><td></td></tr><tr><td>Datasheet 3</td><td>zenit_THEMENAME_datasheet_three</td><td></td></tr><tr><td>Gallery mode</td><td>zenit_THEMENAME_gallery_mode</td><td></td></tr><tr><td>Custom field details 1</td><td>zenit_THEMENAME_custom_details_1</td><td></td></tr><tr><td>Custom field details 2</td><td>zenit_THEMENAME_custom_details_2</td><td></td></tr><tr><td>Custom field details 3</td><td>zenit_THEMENAME_custom_details_3</td><td></td></tr></tbody></table>

#### Category theme custom fields

<table><thead><tr><th width="319">custom field</th><th>technical name</th></tr></thead><tbody><tr><td>Header overlay</td><td>zenit_THEMENAME_category_header_position</td></tr><tr><td>Header background opacity</td><td>zenit_THEMENAME_category_header_bg_opacity</td></tr><tr><td>Main navigation background opacity</td><td>zenit_THEMENAME_category_nav_main_opacity</td></tr><tr><td>Header contrast</td><td>zenit_THEMENAME_category_header_contrast</td></tr><tr><td>Use first section of listing layout as "Hero section"</td><td>zenit_THEMENAME_category_image</td></tr><tr><td>Text contrast</td><td>zenit_THEMENAME_category_image_contrast</td></tr><tr><td>Background color</td><td>zenit_THEMENAME_category_image_color</td></tr><tr><td>Opacity</td><td>zenit_THEMENAME_category_image_opacity</td></tr><tr><td>Attachment</td><td>zenit_THEMENAME_category_image_attachment</td></tr><tr><td>Position</td><td>zenit_THEMENAME_category_image_position</td></tr><tr><td>Image mode</td><td>zenit_THEMENAME_category_image_mode</td></tr><tr><td>Display category images of subcategories in the flyout navigation</td><td>zenit_THEMENAME_navigation_flyout_category_media</td></tr><tr><td>Flyout navigation category image</td><td>zenit_THEMENAME_navigation_flyout_category_media_media</td></tr><tr><td>CSS classes</td><td>zenit_THEMENAME_category_classes</td></tr><tr><td>Badge - text</td><td>zenit_THEMENAME_category_badge_text</td></tr><tr><td>Badge - background color</td><td>zenit_THEMENAME_category_badge_bg</td></tr><tr><td>Badge - text color</td><td>zenit_THEMENAME_category_badge_color</td></tr><tr><td>Category listing media</td><td>zenit_THEMENAME_category_listing_media</td></tr><tr><td>Small smartphones</td><td>zenit_THEMENAME_product_listing_columns_xs</td></tr><tr><td>Smartphones</td><td>zenit_THEMENAME_product_listing_columns_sm</td></tr><tr><td>Tablets</td><td>zenit_THEMENAME_product_listing_columns_md</td></tr><tr><td>Laptops</td><td>zenit_THEMENAME_product_listing_columns_lg</td></tr><tr><td>Desktop</td><td>zenit_THEMENAME_product_listing_columns_xl</td></tr></tbody></table>

#### CMS block theme custom fields

| custom field | technical name   |
| ------------ | ---------------- |
| Grid gap     | zenit\_grid\_gap |
