AbanteCart Development > Customization help

Add a tab in product features

(1/1)

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:


--- Code: ---                        <div class="tab-content">

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

--- End code ---

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


Navigation

[0] Message Index

Go to full version
Powered by SMFPacks Social Login Mod