How to use tabs?

  • Posts: 72
  • Thank you received: 3
11 years 6 months ago #98658

I would like to know how i can implement tabs on the product details page.
I did read a lot in the forum, a lot is spoken about the tab plugin (from nonumber.nl) but i also see in the configuration of Hikashop that i can choose for a tab view.

I decided to choose this option first since it must have been there for a reason :)

The good news is that i did get tabs .... but it also resulted in some questions where i hope the experience from others can help me to some answers ....

1. As you can see on the attached image i now have the description twice. How can i remove the first one that is outside the tabs?
2. The font changed, where can i change that back to the default font?
3. The last tab (add comment) has the content partly outside the tab, where can i solve this?
4. I know i must modify the view show_tabular for adding/changing tabs, but can i also add a tab that would have for every product a different image as content (for instance a color or size table)?

Or is using the Tab plugin a better way to go?

Thank you all HikaShoppers for any help ....may all WorldWideWebShoppers find your stores :)

Attachments:
Last edit: 11 years 6 months ago by Huub.

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

  • Posts: 37
  • Thank you received: 1
11 years 6 months ago #98712

for 1.
You can edit the view "product / show_tabular" in HikaShop > Display > Views and comment/remove the lines:

	<div id="hikashop_product_description_main_mini" class="hikashop_product_description_main_mini">
		<?php
		$resume = substr(strip_tags(preg_replace('#<hr *id="system-readmore" */>#i','',$this->element->product_description)),0,300);
		$resume .= "...<a href='#description'>See more</a>";
		echo JHTML::_('content.prepare',$resume);
		?>
	</div>

from: www.hikashop.com/en/forum/4-how-to/61459...product-details.html

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

  • Posts: 72
  • Thank you received: 3
11 years 6 months ago #98723

Thank you Russa. I wonder why that part of code was there then. It doesnt make sense to have the description twice when you use the tab-view.

But the bright side is ...you answered my question 1 :)

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

Time to create page: 0.068 seconds
Powered by Kunena Forum