[Skip to main content](#vessel-content)

#   Tabs on product page

##

- **[texomapoolguy](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile")**
- [![texomapoolguy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile") Topic Author
- [ Offline](/forum/user/4726-texomapoolguy)

Less More

- Posts: 14
- Thank you received: 0
-
-

14 years 4 months ago -  9 years 1 month ago [\#52260](#52260) by [texomapoolguy](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile")  *[Tabs on product page](/forum/4-how-to/52260-tabs-on-product-page#52260 "can anyone help me I am trying to put tabs on product page... goal is to get description...downloads...and related to render in tabs under product... downloaded nonumbers tabber.. get that i need to...")* was created by *[texomapoolguy](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile")*

can anyone help me I am trying to put tabs on product page... goal is to get description...downloads...and related to render in tabs under product... downloaded nonumbers tabber.. get that i need to work with show under product and show_default .... don't get what to place where to accomplish my goal...

I get this:

Tabber works with tags: Code:

{tab=Tab Title 1} Your text... {tab=Tab Title 2} Your text... {/ tabs}

Can do this:

You will have to edit the file "show_default" as I explained in order
to add the tabs tags in the different places to separate each element.
Then, in the file "show" of the view "product", you can replace the lines:
$this-&gt;setLayout($this-&gt;productlayout);
echo $this-&gt;loadTemplate();

by:
$this-&gt;setLayout($this-&gt;productlayout);
echo JHTML::_('content.prepare',$this-&gt;loadTemplate());

cant seem to understand where to place {tab=Tab Title 1} in the show_default and when im in show_default I see the description and files.. dont see how i would bring up the related to a tab...

see many hika sites with these tabs like i want so please someone help me out attached a pic showing what i wind up with..LOL

[ ![confused.jpg](/forum/attachment/4065) ](/forum/attachment/4065 "confused.jpg")

- [ ![confused.jpg](/forum/attachment/4065) ](/forum/attachment/4065 "confused.jpg") [ ](/forum/attachment/4065?download=1 "confused.jpg")

Last edit: 9 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile"). Reason: [code] is nice

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUyMjYwLXRhYnMtb24tcHJvZHVjdC1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86283
- Thank you received: 14262
-
-

14 years 4 months ago -  9 years 1 month ago [\#52326](#52326) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Tabs on product page](/forum/4-how-to/52260-tabs-on-product-page#52326 "can anyone help me I am trying to put tabs on product page... goal is to get description...downloads...and related to render in tabs under product... downloaded nonumbers tabber.. get that i need to...")*

You need to add:
{tab=Tab Title 1}
just before:
&lt;div id="hikashop_product_description_main" class="hikashop_product_description_main"&gt;

and:
{tab=Tab Title 2}
just before:
&lt;?php
$this-&gt;setLayout('show_block_product_files');

and then, before the last:
&lt;/div&gt;
of the file, you need to add:
{tab=Tab Title 3}
then, the code to display the modules under the product page
and finally the last tag:
{/ tabs}

You can find the piece of code to display the modules under the product page in the file "show" : Code:

&lt;div class="hikashop_submodules" id="hikashop_submodules" style="clear:both"&gt; &lt;?php if (!empty ($this-&gt;modules) &amp;&amp; is_array($this-&gt;modules)) { jimport('joomla.application.module.helper'); foreach ($this-&gt;modules as $module) { echo JModuleHelper :: renderModule($module); } } ?&gt; &lt;/div&gt;

so remove it from there and add it as explained above in the show_default file.

Last edit: 9 years 1 month ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUyMjYwLXRhYnMtb24tcHJvZHVjdC1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[texomapoolguy](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile")**
- [![texomapoolguy's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile") Topic Author
- [ Offline](/forum/user/4726-texomapoolguy)

Less More

- Posts: 14
- Thank you received: 0
-
-

14 years 4 months ago [\#52366](#52366) by [texomapoolguy](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile")  Replied by *[texomapoolguy](/forum/user/4726-texomapoolguy "View texomapoolguy's Profile")* on topic *[Re: Tabs on product page](/forum/4-how-to/52260-tabs-on-product-page#52366 "can anyone help me I am trying to put tabs on product page... goal is to get description...downloads...and related to render in tabs under product... downloaded nonumbers tabber.. get that i need to...")*

you all are great thank you so much works perfectly

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUyMjYwLXRhYnMtb24tcHJvZHVjdC1wYWdlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.161 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
