Xavier wrote: In HikaShop > Configuration > Display, you have an option "Layout on product page" you can set it to "show_tabular".
I have set "Layout on product page" to "show_tabular" and I can now see the tabs "Comment" and "Post a Comment".
Xavier wrote: Then in HikaShop > Display > Views, edit the view "product / show_tabular" and you will see how the tabs work.
You just have to add a <li> int he menu like "<li><a href="#new_comment"><?php echo JText::_('PRODUCT_NEW_COMMENT');?></a></li>" to add a tab.
Then add a div with the id of the href content in the link, like: "<div id="comment"> <!-- your content --> </div>"
When you say "in the menu", I am guessing you mean we should edit the view "product / show_tabular??
For example, to add a tab called "The Author", I have added the following line:
<li><a href="#author"><?php echo JText::_('The Author');?></a></li>
to the
show_tabular file. I can now see the new tab.
Then in the
product description, I added:
<div id="author"><p>About the author ...</p></div>
- but the new tab does not show the content "About the author ...". (when I click on "The Author", the tab is empty.
What am I doing wrong?