Q&A: how to create custom product tabs with html box pro module?

PrestaShop user question

Im trying to use html box pro to create product tabs. But i've got some issues with reviews module. What i can do in this case? How to properly create new product tab?


PrestaShop expert answer

how to create a tab
Product page content blocks + html box pro 

productTab
<li class="product-features-tab"><a data-toggle="tab" href="#product-test-tab1">Test Tab</a></li>
ProductTabContent
<div id="product-test-tab1" class="product-test-tab1 tab-pane active">My custom contents</div>

Code above is for creating unique tabs in your theme
for second, third, fourth (and so on) tabs just change product-test-tab1 to: product-test-tab2, product-test-tab3, product-test-tab4, product-test-tab5 and so on

Fix issue with reviews tab
if you're on non-default theme, just go to this directory: /themes/YOUR-THEME/modules/productComments/ and remove file named tab.tpl after that your reviews tab SHOULD work properly (see animation above)
Share on Google Plus

About VEKIA

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment