SectionAI is free + 20K tokens if you're a The4 customer, Free plan is available Install App  

Header background

Product Tab Feature

Lina

Written by Lina

Last updated

11 views

On this page


Product Tab Feature is a feature that displays product content in either tab or accordion format. To select design of the Product Tab, please go to Product Page > Main product tabs

1. Product Tab Layouts

1.1. Product content external

The Product Tabs add-on enables store owners to add additional product details in customizable tabs. There are 2 types of product tab: Tab and Accordion.

There are several options that allow you to redesign this section, such as changing the heading of each tab, adjusting colors, margins, and more.

  • Tabs type

tab.png
  • Accordions type

tab2.png

1.2. Product content inner

You can also display this section right below the product details.

  • Group product tab block

  • Accordion block

2. How to add content for Product Tabs

In Product Tabs, you can add a few blocks: Tab Description, Tab Custom HTML, Tab Additional Infor, Reviews, and Tab Custom Liquid. Please note that the Tab Description, Tab Additional Infor and Reviews only can add one time in the product tabs.

2.1. Tab description:

imag 5-1.png

This tab will automatically display the product description that you added in Products (Shopify Admin).

image6.png

2.2. Tab additional infor:

image 7.png

This tab will automatically display the product’s options that you added in Products (Shopify Admin).

image 8.png

2.3. Tab reviews:

You can integrate app review with the theme and then add the snippet code to show reviews into the Tab Review.

To know more about Review, please follow this guideline.

2.4. Tab Custom HTML:

To learn more about this block please follow this guild

2.5. Tab Custom Liquid:

This is an input field that allows you to directly insert custom Liquid or HTML code. This feature helps extend and customize the theme’s functionality without modifying the theme’s source code directly.

To show Tab Custom Liquid, you can click to add block and choose Tab Custom Liquid

image 10.png

2.5.1. Tab Custom Liquid for all products

Please help me to see an example about how to use this section:

This is the code used in the video:

<style>
  .custom-box {
    background-color: #f4f4f4;
    border: 2px solid #333;
    padding: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border-radius: 8px;
  }
  .custom-box:hover {
    background-color: #e0e0e0;
    color: #d32f2f;
    cursor: pointer;
  }
</style>
<div class="custom-box">
  This is a custom styled box!
</div>

2.5.2. Tab Custom Liquid for specific products
If you want each product has different HTML content in Tab Custom Liquid, you will use metafield. Please follow these steps:

Step 1: Create metafield and add HTML for Product metafield content for a product

Select Content Type: This is a required option, you have to choose Multi-line text.

Step 2: Go to Theme > Customize > Product Page > Product Main > Add block > Tab Custom Liquid > add the code with this syntax to connect the metafield

{{ product.metafields.the_key_for_metafield }}

*the_key_for_metafield is the namespace and key which you create at first step.

🎁 Exclusive Deals for The4 Customers

EComposer

🎉 EComposer – Free 6-Month Plan

Build landing pages, sales funnels, and more with drag & drop.
The4 users get 6 months free (save $114) on Pro plan.

  • ✅ 100+ templates ready to use
  • ✅ Build any Shopify page
  • ✅ No coding required
🔓 Get 6 Months Free
SectionAI

🤖 EcomRise: Upsell & Bundles

Boost sales effortlessly with product bundles, upsell and cross-sell, buy X get Y, volume discounts

  • ✅ Easy upsell & cross-sell
  • ✅ Works with the latest themes
  • ✅ Trusted by 10k customers
🚀 Get 6 Months Free

Enjoy a free 3-day trial. Then get your first month for $1. Try Now

We uses cookies to ensure you get the best experience on our website.