> For the complete documentation index, see [llms.txt](https://product-tabs-guide.ddshopapps.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://product-tabs-guide.ddshopapps.com/create-and-manage-tab-group.md).

# Create and manage Tab group

## 1. Create & **Enable tab group**

From the App admin, go to the **Tab groups** from the left sidebar -> click the **Create tab group** button.

To use tab group, go to **Genera** tab -> check "**Enable tab group**". If you want to temporarily not use it -> uncheck.

## 2. T**ab group settings**

### 2.1 Content

<figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FgNBQI0SAOraIrb5n5yAE%2Fimage.png?alt=media&amp;token=04bc79bb-7cb1-4700-9378-0ff2c48ff3d3" alt=""><figcaption></figcaption></figure>

#### **2.1.1 Tab group**

**Name**: must be unique

**Show on the store**: enable/disable tab grouip

**Tab content**:

* "Tab I create below": The content consists of tabs created by the store admin.
* "Product description, split by its headings": The content of the tabs is a description of the product. The store admin will specify which H tags will be used to divide the content into tabs, and the text within the H tags will be used as the title for the tabs.

#### **2.1.2 Tabs**

This setting is used if the store admin selects Tab content for Tab group as: "Tabs I create below"

**Add tab button**: Add a new tab

**Content**:&#x20;

* *Text*: the content is compiled by the store admin
* *Product description*: use the app's description as the tab content
* *Review app*: select one of the built-in review applications as the content (***Note that*** ***the tab only has content when the store has a Review app installed that our app supports***)
* *FAQs (FAQ app*): Install an FAQ app for the store and get the FAQ content shortcode to insert into the tab content box. We recommend installing the [**D:FAQs app**](https://apps.shopify.com/faq-page-smart).
* *Product question form*: Install a contact form app for the store and get the form's embed code to insert into the tab content box. We recommend installing the [**S:Contact Form app**](https://apps.shopify.com/storeify-contact-form-builder).
* *Metafield*: Get product Metafield data to push into tab content (***Only applies to Metafields with text data type***)

<figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FOFF3w5ouIXxcKziYYWo2%2Fimage.png?alt=media&amp;token=6a7180eb-0054-44d2-9e33-9f35ea04fbe3" alt=""><figcaption></figcaption></figure>

To make Metafield display in a tab, you need to go to specific tab, select content type for tab as Metafield, then declare **Namespace** and **Key** of Metafield.

<figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FO68KLnal70qBLOgF2EPS%2Fimage.png?alt=media&amp;token=5f22dca3-29a7-4e93-b9a8-bf3da9ea9cb9" alt=""><figcaption></figcaption></figure>

* *Custom Liquid*: if your theme is an [Online Store 2.0](https://help.shopify.com/en/manual/online-store/themes/managing-themes/versions), please [add an app block](https://help.shopify.com/en/manual/online-store/themes/theme-structure/extend/apps#app-blocks) to your product template via Theme Editor.<br>

  <figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FkNOmOuVeq0y7NJ2N6qZt%2Fimage.png?alt=media&amp;token=8812cb14-cb7f-4be4-b9a6-8a60c48bfa77" alt=""><figcaption></figcaption></figure>
* *Product recommendations*: use recommended products created by the theme as tab content.\
  Create a new file **ddshop-product-recommendations.liquid** in Sections folder.\
  Insert the code below

  ```liquid
  {%- if recommendations.performed? and recommendations.products_count > 0 -%}
      <div class="ifytab-product-grid">
        {%- for product in recommendations.products -%}
          <div class="ifytab-item-product">
            <a href="{{ product.url }}">
              <img class="ify_product__img"
                src="{{ product.featured_image | image_url: width: 300, height: 300 }}"
                alt="{{ product.featured_image.alt }}"/>
   
              <h3 class="ify_product__title">{{ product.title }}</h3>
              <div class="ify_product__price">{{ product.price | money}}</div>
            </a>
          </div>
        {%- endfor -%}
      </div>
  {%- endif -%}

  ```

  <figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FzSVFpHTkUhiXkrRbWqr0%2Fimage.png?alt=media&amp;token=45a2f7c5-1ef5-4290-bc4b-3cc79792ad3e" alt=""><figcaption></figcaption></figure>

  <figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FjZGlF7vIF1NfKKcTkkTQ%2Fimage.png?alt=media&amp;token=5f29ac05-07f4-4bc0-9431-7618d6ee6a8d" alt=""><figcaption></figcaption></figure>

### 2.2 Display conditions

Store admins can specify products, collections, landing pages, or create conditions to display group tabs on desired pages.

<figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FzbcaTjJpCWj3H69xHaZ5%2Fimage.png?alt=media&amp;token=a2c68073-7d7b-46a5-87f2-01049beedada" alt=""><figcaption></figcaption></figure>

#### **2.2.1 Where to show the tabs**

**Specific products**: Select one or more products to show the group tab on the product details page.

**Products in specific collections:** Select products by choosing one or more collections to show the group tab on the product details page.

**Products matching conditions**: Select products based on one or more conditions set by the store admin to display the group tab on the product details page. Conditions can be set based on: product type, product vendor, product tag, product price, collection, and "Out of stock" status.

**Other pages**: Add a tab group to any page through the theme editor. Go to the theme editor, then to the page template -> Add tab block -> Enter the tab group ID.

#### **2.2.2 Extra conditions**

**Show based on the shoppers language**: If the store uses multiple languages, this filter allows the store admin to set the group tab to show in some languages ​​and not in others.

**Show only customers with tags**: Only display the group tab for customers whose tags have been set up in this filter.

### 2.2 Style

<figure><img src="https://2169586977-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FS2NQC5Rc8K4ZJXTLYqwA%2Fuploads%2FUK7jIGRDxhi0ipgkyUXs%2Fimage.png?alt=media&amp;token=3ab5ec26-285a-4ade-9823-d8fa8c254a4d" alt=""><figcaption></figcaption></figure>

* **Layout** : There are 5 pre-designed layouts for the store admin to choose from.
* **Accordion** : Customize the styles for accordion tabs
* **Typography**: Customize font size, font weight
* **Color** : Customize colors for tab and text
* **Padding** : Align text
* **Spacing & Border** : Customize the style of the border
* **Scroll to the opened panel** : Automatically scroll the screen when opening a tab on a mobile device.
* **Custom CSS**: add CSS code to customize the tab to your liking
