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

#   Interaction with 2JTabs

##

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

Less More

- Posts: 29
- Thank you received: 2
-
-

14 years 7 months ago [\#44819](#44819) by [wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")  *[Interaction with 2JTabs](/forum/3-bug-report/44819-interaction-with-2jtabs#44819 "We have Hikashop installed on Joomla 1.23 and Hikahop 1.5.6. On our product pages we also use the plugin 2JTabs (  2joomla.net ) which adds a really handy tabbed feature to the content.  Both elements (Hikashop and 2JTabs) work fine together except where Hikashop displays a product option (characteristic) e.g. dropdown field. Like on this page:   www.wirthconsulting.com.au/social-media-...2-month-subscription  When a user clicks an option from the “Analysis Type” characteristics field on this page, the tabs below (e.g. ‘How it works’) no longer work.  Essentially if you change the Analysis Type field, then try to click one of the tabs, the URL changes - for example to:   www.wirthconsulting.com.au/social-media-...ion#twoj&#95;fragment3-2  So the text &quot;#twoj&#95;fragment3-2&quot; (or similar) is added to the end of the URL. We contacted 2JTabs and they advised us that it was a Hikashop issue - they said the additional code on the end of the URL &quot;breaks the scenario of the page by replacing the link&quot;.  I've never seen this additional code being added to the end of a Hikashop URL when the characteristics changes on other sites we have installed Hikashop.  But it definitely looks like some type of interaction bug between Hikashop and 2JTabs so wondering if Hikashop has an answer?  Thanks for advising, B.")* was created by *[wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")*

We have Hikashop installed on Joomla 1.23 and Hikahop 1.5.6. On our product pages we also use the plugin 2JTabs ([ 2joomla.net](http://2joomla.net)) which adds a really handy tabbed feature to the content.

Both elements (Hikashop and 2JTabs) work fine together except where Hikashop displays a product option (characteristic) e.g. dropdown field. Like on this page: [ www.wirthconsulting.com.au/social-media-...2-month-subscription](http://www.wirthconsulting.com.au/social-media-monitoring-solutions/services/1-sm-reporting-social-a-online-media-monitoring-12-month-subscription)

When a user clicks an option from the “Analysis Type” characteristics field on this page, the tabs below (e.g. ‘How it works’) no longer work.

Essentially if you change the Analysis Type field, then try to click one of the tabs, the URL changes - for example to: [ www.wirthconsulting.com.au/social-media-...ion#twoj\_fragment3-2](http://www.wirthconsulting.com.au/social-media-monitoring-solutions/services/1-sm-reporting-social-a-online-media-monitoring-12-month-subscription#twoj_fragment3-2)

So the text "#twoj_fragment3-2" (or similar) is added to the end of the URL. We contacted 2JTabs and they advised us that it was a Hikashop issue - they said the additional code on the end of the URL "breaks the scenario of the page by replacing the link".

I've never seen this additional code being added to the end of a Hikashop URL when the characteristics changes on other sites we have installed Hikashop.

But it definitely looks like some type of interaction bug between Hikashop and 2JTabs so wondering if Hikashop has an answer?

Thanks for advising,
B.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC80NDgxOS1pbnRlcmFjdGlvbi13aXRoLTJqdGFicz90bXBsPW1hcmtkb3du) 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: 86541
- Thank you received: 14304
-
-

14 years 7 months ago [\#44983](#44983) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Interaction with 2JTabs](/forum/3-bug-report/44819-interaction-with-2jtabs#44983 "We have Hikashop installed on Joomla 1.23 and Hikahop 1.5.6. On our product pages we also use the plugin 2JTabs (  2joomla.net ) which adds a really handy tabbed feature to the content.  Both elements (Hikashop and 2JTabs) work fine together except where Hikashop displays a product option (characteristic) e.g. dropdown field. Like on this page:   www.wirthconsulting.com.au/social-media-...2-month-subscription  When a user clicks an option from the “Analysis Type” characteristics field on this page, the tabs below (e.g. ‘How it works’) no longer work.  Essentially if you change the Analysis Type field, then try to click one of the tabs, the URL changes - for example to:   www.wirthconsulting.com.au/social-media-...ion#twoj&#95;fragment3-2  So the text &quot;#twoj&#95;fragment3-2&quot; (or similar) is added to the end of the URL. We contacted 2JTabs and they advised us that it was a Hikashop issue - they said the additional code on the end of the URL &quot;breaks the scenario of the page by replacing the link&quot;.  I've never seen this additional code being added to the end of a Hikashop URL when the characteristics changes on other sites we have installed Hikashop.  But it definitely looks like some type of interaction bug between Hikashop and 2JTabs so wondering if Hikashop has an answer?  Thanks for advising, B.")*

It's because the description of the product is changed dynamically when you change a characteristic. And since the JS code of the tabs of your plugin is not dynamic, the tabs don't work once copied.
The fix is quite simple, just edit the file "show" of the view "product" via the menu Display-&gt;Views and remove the code: Code:

&lt;div id="hikashop_product_description_&lt;?php echo $variant_name;?&gt;" style="display:none;"&gt; &lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$variant-&gt;product_description));?&gt; &lt;/div&gt;

That will remove the update of the description when the characteristics are changed and thus avoid that problem.

The following user(s) said Thank You: [wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")

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

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

Less More

- Posts: 29
- Thank you received: 2
-
-

14 years 7 months ago -  14 years 7 months ago [\#45073](#45073) by [wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")  Replied by *[wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile")* on topic *[Re: Interaction with 2JTabs](/forum/3-bug-report/44819-interaction-with-2jtabs#45073 "We have Hikashop installed on Joomla 1.23 and Hikahop 1.5.6. On our product pages we also use the plugin 2JTabs (  2joomla.net ) which adds a really handy tabbed feature to the content.  Both elements (Hikashop and 2JTabs) work fine together except where Hikashop displays a product option (characteristic) e.g. dropdown field. Like on this page:   www.wirthconsulting.com.au/social-media-...2-month-subscription  When a user clicks an option from the “Analysis Type” characteristics field on this page, the tabs below (e.g. ‘How it works’) no longer work.  Essentially if you change the Analysis Type field, then try to click one of the tabs, the URL changes - for example to:   www.wirthconsulting.com.au/social-media-...ion#twoj&#95;fragment3-2  So the text &quot;#twoj&#95;fragment3-2&quot; (or similar) is added to the end of the URL. We contacted 2JTabs and they advised us that it was a Hikashop issue - they said the additional code on the end of the URL &quot;breaks the scenario of the page by replacing the link&quot;.  I've never seen this additional code being added to the end of a Hikashop URL when the characteristics changes on other sites we have installed Hikashop.  But it definitely looks like some type of interaction bug between Hikashop and 2JTabs so wondering if Hikashop has an answer?  Thanks for advising, B.")*

Brilliant! thanks very much Nicolas - you are a gem!

Last edit: 14 years 7 months ago by [wirthconsulting](/forum/user/3837-wirthconsulting "View wirthconsulting's Profile").

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

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