AbanteCart Community

AbanteCart Development => Customization help => Topic started by: kingme on November 24, 2013, 04:11:11 AM

Title: Add a tab in product features
Post by: kingme on November 24, 2013, 04:11:11 AM
Hy,
 How can I add one more tab in product features on a Product page.
Kindly help to insert a tab for more notes.

Thanks
Title: Re: Add a tab in product features
Post by: abantecart on November 24, 2013, 12:50:07 PM
You will need to add data for this tab in the controller and edit template for the product

Template file:
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default_html5/template/pages/product/product.tpl

Look around line 216  code:

Code: [Select]
                        <div class="tab-content">

                                <div class="tab-pane active" id="description">

You need to add new tab-pane div container

To build dynamic data for the template, you need to look into product controller below.

https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/controller/pages/product/product.php