Setting up HS built in tabs

  • Posts: 279
  • Thank you received: 1
11 years 7 months ago #129732

-- url of the page with the problem -- : mywebsite.com/mypage
-- HikaShop version -- : 2.2.2 Essentials
-- Joomla version -- : 2.5.14

Is there a tutorial on how to do this? I can't find any info except selecting "Show tabular" under Display->Product. That really messes up what I had worked hard to display nicely as it seems to have a center command in the display which shunts the add to cart, etc down below the image. Looks bad.

Then it seems that I have to add code to the Product/Show_tabular.php file. That doesn't seem too hard given it's a cut and paste of lines above with a parameter name change. But where does HS pull the info from to put in the tabs? I cannot find an explanation for this. Is it a Joomla article, do I enter it in the Product Description with special code around it (trying to avoid that as client is updating info)?

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 7 months ago #129807

Hi,

There is actually no documentation on the tabs, you have to copy / paste the line:

<li id="MY_DIV_ID_li" class="hikashop_tabs_li ui-corner-top"><a onclick="displayTab('MY_DIV_ID');" href="javascript:void(0);"><?php echo JText::_('PRODUCT_DESCRIPTION');?></a></li>
To add a new tab. Then just add a div with the same id than the name set in the "displayTab()" function.
<div id="MY_DIV_ID">CONTENT</div>

Please Log in or Create an account to join the conversation.

Time to create page: 0.062 seconds
Powered by Kunena Forum