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

#   Create new tab

##

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

Less More

- Posts: 36
- Thank you received: 0
-
-

11 years 3 weeks ago [\#217402](#217402) by [newt](/forum/user/39210-newt "View newt's Profile")  *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217402 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")* was created by *[newt](/forum/user/39210-newt "View newt's Profile")*

-- url of the page with the problem -- : [ solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013](http://solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013)
-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.3

Hello,

Here is a product page :
[ solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013](http://solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013)

Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one.
It will contains the composition of the product. So it need to be fill by the vendor.

Is it possible to do it with Hikashop ? How can I do it ?

Thanks

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

11 years 3 weeks ago [\#217404](#217404) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217404 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Hi,

See : [ www.hikashop.com/support/documentation/i...ow-tabular-view.html](http://www.hikashop.com/support/documentation/integrated-documentation/20-hikashop/tutorials/297-manage-tabs-in-show-tabular-view.html)

And that forum thread :
[ www.hikashop.com/forum/product-category-...on-product-page.html](http://www.hikashop.com/forum/product-category-display/871043-add-tab-on-product-page.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

11 years 3 weeks ago [\#217494](#217494) by [newt](/forum/user/39210-newt "View newt's Profile")  Replied by *[newt](/forum/user/39210-newt "View newt's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217494 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Thanks

But with that will it create a slot for the vendor when he fill his product page ?

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4077
-
- [](http://obsi.dev)
-

11 years 3 weeks ago [\#217496](#217496) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217496 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Hi,

If the product have "specifications" (thanks to product custom field) ; yes, the tab "specification" will be added.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

11 years 3 weeks ago -  11 years 3 weeks ago [\#217508](#217508) by [newt](/forum/user/39210-newt "View newt's Profile")  Replied by *[newt](/forum/user/39210-newt "View newt's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217508 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Where can I see if the product have "specification" ?
Here is the website where I test everything : avice.net
login : demo
password : demo

I put a tab call "Composition" and created a custom field.
And I want that the content of the field in the tabs Composition and not "Caractéristiques" (Which is the "specification" one )

And I wonder if it is possible that it appears in the product page like the description part. With a text editor ??

Thanks for your quick answer !

Last edit: 11 years 3 weeks ago by [newt](/forum/user/39210-newt "View newt's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk4NzAtY3JlYXRlLW5ldy10YWI/dG1wbD1tYXJrZG93bg==) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86358
- Thank you received: 14293
-
-

11 years 3 weeks ago [\#217513](#217513) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217513 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Sure. You'll get a text editor on the product edition page of the vendor if you set the type of the custom field to WYSIWYG.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

11 years 3 weeks ago -  11 years 3 weeks ago [\#217691](#217691) by [newt](/forum/user/39210-newt "View newt's Profile")  Replied by *[newt](/forum/user/39210-newt "View newt's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217691 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Thank you very much !

But can I put the content in the tab "Composition" that I created and not in the default tab "Specification" that I rename "Caractéristiques" ?

[EDIT]

I managed to publish the content in the tab that I wanted to ![:)](/media/kunena/emoticons/3.png ":)")
But it is still on the other tab...
And my knowledge in php are too low to understand the code...

&lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_specification"&gt;
**&lt;?php
$this-&gt;setLayout('show\_block\_dimensions');
echo $this-&gt;loadTemplate();
if(!empty($this-&gt;fields)){
$this-&gt;setLayout('show\_block\_custom\_main');
echo $this-&gt;loadTemplate();
}
?&gt;**
&lt;/div&gt;
&lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_composition"&gt;
&lt;?php
if (!empty ($this-&gt;element-&gt;product_composition))
{
echo $this-&gt;element-&gt;product_composition;
}
?&gt;
&lt;/div&gt;

What can I do to not include the element product_composition ??

Last edit: 11 years 3 weeks ago by [newt](/forum/user/39210-newt "View newt's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 3 weeks ago [\#217733](#217733) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217733 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Hi,

You have to remove that code: Code:

if(!empty($this-&gt;fields)){ $this-&gt;setLayout('show_block_custom_main'); echo $this-&gt;loadTemplate(); }

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

11 years 2 weeks ago -  11 years 2 weeks ago [\#217802](#217802) by [newt](/forum/user/39210-newt "View newt's Profile")  Replied by *[newt](/forum/user/39210-newt "View newt's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217802 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

But if I do this It will remove all the content ...

[ zupimages.net/viewer.php?id=15/43/2dwz.png](http://zupimages.net/viewer.php?id=15/43/2dwz.png)

All I want is to erase the "Composition" Line and keep the others, is it possible ?

Last edit: 11 years 2 weeks ago by [newt](/forum/user/39210-newt "View newt's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 2 weeks ago [\#217803](#217803) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217803 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

Hi,

So you have to let this code in place and edit the view "product / show_block_custom_main" and add the code: Code:

if($fieldName == 'YOUR_FIELDNAME')continue;

Right after the php foreach, and of course replace ""YOUR_FIELDNAME" by the fieldname of the desired custom field.

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

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

Less More

- Posts: 36
- Thank you received: 0
-
-

11 years 2 weeks ago [\#217914](#217914) by [newt](/forum/user/39210-newt "View newt's Profile")  Replied by *[newt](/forum/user/39210-newt "View newt's Profile")* on topic *[Create new tab](/forum/26-product-category-display/879870-create-new-tab#217914 "-- url of the page with the problem -- :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  -- HikaShop version -- : 2.6.0 -- Joomla version -- : 3.4.3  Hello,  Here is a product page :   solishop.fr/produits/boissons/vins/sainte-croix-du-mont-2013  Under the picture there are 4 tabs (I don't know if it is the right word) and I want to add one. It will contains the composition of the product. So it need to be fill by the vendor.  Is it possible to do it with Hikashop ? How can I do it ?  Thanks")*

It's working !
Thank you very much !

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84Nzk4NzAtY3JlYXRlLW5ldy10YWI/dG1wbD1tYXJrZG93bg==) 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.069 seconds

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