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

#   display a map in a tab

##

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

Less More

- Posts: 53
- Thank you received: 0
-
-
-

10 years 4 months ago [\#242756](#242756) by [Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")  *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#242756 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")* was created by *[Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")*

-- url of the page with the problem -- : [ aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers](http://aventures-culturelles.com/circuits-uniques/product/au-bonheur-des-cavaliers)
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 4.5.1
-- PHP version -- : 5.5

Hi

I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.

I tested the plugin Zhgooglemap in description product, it's allright. I used the following code : Code:

{tab Localisation} {zhgooglemap-marker: 15; placemark}

So I created a new tab and put it between "specifications" and "comments". To display a map in it, I read that I had to use the custom fields. So I created a new field.

My problems are following :

- in specifications tab, I see the code "{zhgooglemap-marker: 15; placemark}" ; but I don't want to see this information in specifications tab.
- in the new tab, the map doesn't display. I only see the code.

In the view "show-tabs", after "specification_li", I added this one : Code:

&lt;li id="hikashop_show_tabular_custom_li" class="hikashop_tabs_li ui-corner-top"&gt; &lt;a onclick="displayTab('hikashop_show_tabular_custom');" href="javascript:void(0);"&gt;&lt;?php echo JText::_('Attractivités');?&gt;&lt;/a&gt;&lt;/li&gt;

Then : Code:

&lt;input type="hidden" name="selected_tab" id="selected_tab" value="hikashop_show_tabular_description"/&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomEnd)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomEnd); ?&gt; &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_custom"&gt;&lt;?php echo $this-&gt;element-&gt;carte; ?&gt;&lt;/div&gt;

I need help to display my map please

Then, I would like that in case the field "map" is empty, the tab doesn't appear. Could you help me with this problem too ?

Thanks a lot

---

Joomla 3.6.4
Hikashop Business 2.6.4
PHP 5.7
Navigateur Chrome 50 ou Mozilla 5
Website : [ www.aventures-culturelles.com](http://www.aventures-culturelles.com)

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

Less More

- Posts: 86293
- Thank you received: 14271
-
-

10 years 4 months ago [\#242779](#242779) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#242779 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")*

Hi,

1. You should turn off the display of the custom field on the product page.

2. Instead of:
&lt;?php echo $this-&gt;element-&gt;carte; ?&gt;
You should have:
&lt;?php echo JHTML::_('content.prepare',$this-&gt;element-&gt;carte); ?&gt;
so that Joomla can replace content tags in your "carte" custom field.

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

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

Less More

- Posts: 53
- Thank you received: 0
-
-
-

10 years 4 months ago [\#242882](#242882) by [Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")  Replied by *[Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")* on topic *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#242882 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")*

Hi
But if I turn off the custom field display, my page will not present the product as I want on the front page.

I suppose it must be possible to add something in a new tab. In your extension, I saw that it was possible to add a map. Cannot we choose where to display it (for exemple in a tab) ?

Thanks a lot

---

Joomla 3.6.4
Hikashop Business 2.6.4
PHP 5.7
Navigateur Chrome 50 ou Mozilla 5
Website : [ www.aventures-culturelles.com](http://www.aventures-culturelles.com)

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

Less More

- Posts: 86293
- Thank you received: 14271
-
-

10 years 4 months ago [\#242897](#242897) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#242897 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")*

Hi,

I'm sorry but I think there are some misunderstandings here.
If you want to display a custom product field on the product page, you have two choices:
1. You turn on the display option of the custom field settings page, and it will display in the specifications area/tab.
That mode doesn't handle the content tags.
2. You can add where you want on your product page the code I gave you in my previous message. It will handle the content tags, and allow you to display the custom field value wherever you want on the product page, even in a tab.

So what I replied previously seems to answer your question as far as I can see. But maybe I'm missing something ?

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

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

Less More

- Posts: 53
- Thank you received: 0
-
-
-

10 years 4 months ago [\#243115](#243115) by [Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")  Replied by *[Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")* on topic *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#243115 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")*

Hi,

I tried different things but nothing works. Perhaps I wasn't clear enough and there is a misunderstanding. So I am going to explain what I mean in another way.

I use the plugin Zhgooglemap in Hikashop product through two ways :

1/ My product display with default custom. In product description, I manually add tabs. In one of them, I display the map I want (Let's see picture 1 for backend - picture 2 for frontend)

2/ My product display with show-tab custom. In the product, I have added personnalized fields (one for the map). In the view "show-tabular", I have added the code described hereunder to add a tab in between description and specifications.

In the view, if I replace Code:

&lt;?php echo $this-&gt;element-&gt;carte; ?&gt;

with your code Code:

&lt;?php } ?&gt; &lt;input type="hidden" name="selected_tab" id="selected_tab" value="hikashop_show_tabular_description"/&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;bottomEnd)) echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;bottomEnd); ?&gt; &lt;/div&gt; &lt;div class="hikashop_tabs_content" id="hikashop_show_tabular_custom"&gt;[color=#bb0000]&lt; ? Php echo JHTML :: _ ( 'content.prepare', $ this-&gt; element-&gt; carte);? ?&gt;[/color]&lt;/div&gt; &lt;?php if(!empty($this-&gt;element-&gt;carte)){ ?&gt; &lt;?php } ?&gt; &lt;/div&gt; &lt;script type="text/javascript"&gt; if(typeof(hkjQuery) == "undefined") window.hkjQuery = window.jQuery; window.hikashop.ready( function(){ var selectedTab = hkjQuery( "#selected_tab" ).val(); hkjQuery("#hikashop_tabs_div").children("div").css("display","none"); hkjQuery("#"+selectedTab+"_li").addClass("hikashop_tabs_li_selected"); hkjQuery("#"+selectedTab).css("display","inherit"); hkjQuery("#hikashop_tabs_div .hikashop_tabs_ul li").click(function(){ var currentLi = hkjQuery(this).attr("id"); var currentDiv = currentLi.replace("_li",""); hkjQuery("#hikashop_tabs_div").children("div").css("display","none"); hkjQuery("#hikashop_tabs_div").children("form").children("div").css("display","none"); hkjQuery("#"+currentDiv).css("display","inherit"); hkjQuery(".hikashop_tabs_li_selected" ).removeClass("hikashop_tabs_li_selected"); hkjQuery("#"+currentLi).addClass("hikashop_tabs_li_selected"); }); }); &lt;/script&gt;

,

it doesn't work. (See backend in picture 3 - frontend in picture 4). Did I do something wrong ?

What I need ?... To display a specific map in each product page, in the third tab, and if none, to hide the tab.

Thanks a lot for your help

---

Joomla 3.6.4
Hikashop Business 2.6.4
PHP 5.7
Navigateur Chrome 50 ou Mozilla 5
Website : [ www.aventures-culturelles.com](http://www.aventures-culturelles.com)

- [ ![picture&#95;1.png](/forum/attachment/32106) ](/forum/attachment/32106 "picture&#95;1.png") [ ](/forum/attachment/32106?download=1 "picture&#95;1.png")
- [ ![picture&#95;2.png](/forum/attachment/32107) ](/forum/attachment/32107 "picture&#95;2.png") [ ](/forum/attachment/32107?download=1 "picture&#95;2.png")
- [ ![picture&#95;3.png](/forum/attachment/32108) ](/forum/attachment/32108 "picture&#95;3.png") [ ](/forum/attachment/32108?download=1 "picture&#95;3.png")
- [ ![picture&#95;4.png](/forum/attachment/32109) ](/forum/attachment/32109 "picture&#95;4.png") [ ](/forum/attachment/32109?download=1 "picture&#95;4.png")

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

Less More

- Posts: 86293
- Thank you received: 14271
-
-

10 years 4 months ago [\#243138](#243138) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#243138 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")*

Hi,

In your message, you say that you've added the code: Code:

&lt; ? Php echo JHTML :: _ ( 'content.prepare', $ this-&gt; element-&gt; carte);? ?&gt;

while I told you to add the code: Code:

&lt;?php echo JHTML::_('content.prepare',$this-&gt;element-&gt;carte); ?&gt;

That's why it doesn't work.

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

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

Less More

- Posts: 53
- Thank you received: 0
-
-
-

10 years 4 months ago [\#243358](#243358) by [Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")  Replied by *[Nathy78](/forum/user/42855-nathy78 "View Nathy78's Profile")* on topic *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#243358 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")*

Ooops ! One "?" was too much. You have the good eye ! Thanks.

I noticed that if I click on the third tab, and then go on another tab, the map display at the bottom of each tab. Is it possible to restrict her display on third tab only ?

And what about the possibility to hide third tab if personnalized map field is empty ?

I'm most gratefull for your help. Thanks in advance

---

Joomla 3.6.4
Hikashop Business 2.6.4
PHP 5.7
Navigateur Chrome 50 ou Mozilla 5
Website : [ www.aventures-culturelles.com](http://www.aventures-culturelles.com)

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

Less More

- Posts: 86293
- Thank you received: 14271
-
-

10 years 4 months ago [\#243366](#243366) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[display a map in a tab](/forum/32-content-creation/885024-display-a-map-in-a-tab#243366 "-- url of the page with the problem -- :   aventures-culturelles.com/circuits-uniqu...onheur-des-cavaliers  -- HikaShop version -- : 2.6.3 -- Joomla version -- : 4.5.1 -- PHP version -- : 5.5  Hi  I used tabs to display my products and I would like to make a map display in one of them. For the map, I use Zhgooglemap plugin.  I tested the plugin Zhgooglemap in description product, it's allright. I used the following code :  So I created a new tab and put it between &quot;specifications&quot; and &quot;comments&quot;. To display a map in it, I read that I had to use the custom fields. So I created a new field.  My problems are following :  - in specifications tab, I see the code &quot;{zhgooglemap-marker: 15; placemark}&quot; ; but I don't want to see this information in specifications tab. - in the new tab, the map doesn't display. I only see the code.  In the view &quot;show-tabs&quot;, after &quot;specification&#95;li&quot;, I added this one :  Then :  I need help to display my map please  Then, I would like that in case the field &quot;map&quot; is empty, the tab doesn't appear. Could you help me with this problem too ?  Thanks a lot")*

1.
Then it means that you have a problem in the code somewhere.
Please provide the whole code you have on that file so that we can look at it.
2.
Suppose that you use this code to display the tab title: Code:

&lt;li id="hikashop_show_tabular_custom_li" class="hikashop_tabs_li ui-corner-top"&gt; &lt;a onclick="displayTab('hikashop_show_tabular_custom');" href="javascript:void(0);"&gt;&lt;?php echo JText::_('Attractivités');?&gt;&lt;/a&gt;&lt;/li&gt;

you can use instead this code and it will display it only when the carte custom field is not empty:
Code:

&lt;?php if(!empty($this-&gt;element-&gt;carte)){ ?&gt;&lt;li id="hikashop_show_tabular_custom_li" class="hikashop_tabs_li ui-corner-top"&gt; &lt;a onclick="displayTab('hikashop_show_tabular_custom');" href="javascript:void(0);"&gt;&lt;?php echo JText::_('Attractivités');?&gt;&lt;/a&gt;&lt;/li&gt;&lt;?php } ?&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODg1MDI0LWRpc3BsYXktYS1tYXAtaW4tYS10YWI/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.122 seconds

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

[](#top)
