News:

AbanteCart v1.4.2 is released.

Main Menu

Add a tab in product features

Started by kingme, November 24, 2013, 04:11:11 AM

Previous topic - Next topic

kingme

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

abantecart

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:


                        <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



Forum Rules Code of conduct
AbanteCart.com 2010 -