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

#   variant doesn't work with accordion content

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 5 months ago [\#17439](#17439) by [areena](/forum/user/2300-areena "View areena's Profile")  *[variant doesn't work with accordion content](/forum/3-bug-report/17439-variant-doesnt-work-with-accordion-content#17439 "I have a problem with variant selection. I think there is a javascript problem, but I am not too strong at it..  In product description I would like to use accordion or tabs style module. When I choose another variant then it stops working unless I reload the page.  Here is the page   sjwatches.com/web/index.php/mark-viiic-10  Thank you")* was created by *[areena](/forum/user/2300-areena "View areena's Profile")*

I have a problem with variant selection. I think there is a javascript problem, but I am not too strong at it..

In product description I would like to use accordion or tabs style module. When I choose another variant then it stops working unless I reload the page.

Here is the page
[ sjwatches.com/web/index.php/mark-viiic-10](http://sjwatches.com/web/index.php/mark-viiic-10)

Thank you

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNzQzOS12YXJpYW50LWRvZXNudC13b3JrLXdpdGgtYWNjb3JkaW9uLWNvbnRlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

15 years 5 months ago [\#17443](#17443) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: variant doesn't work with accordion content](/forum/3-bug-report/17439-variant-doesnt-work-with-accordion-content#17443 "I have a problem with variant selection. I think there is a javascript problem, but I am not too strong at it..  In product description I would like to use accordion or tabs style module. When I choose another variant then it stops working unless I reload the page.  Here is the page   sjwatches.com/web/index.php/mark-viiic-10  Thank you")*

Your link is not working.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNzQzOS12YXJpYW50LWRvZXNudC13b3JrLXdpdGgtYWNjb3JkaW9uLWNvbnRlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 5 months ago [\#17474](#17474) by [areena](/forum/user/2300-areena "View areena's Profile")  Replied by *[areena](/forum/user/2300-areena "View areena's Profile")* on topic *[Re: variant doesn't work with accordion content](/forum/3-bug-report/17439-variant-doesnt-work-with-accordion-content#17474 "I have a problem with variant selection. I think there is a javascript problem, but I am not too strong at it..  In product description I would like to use accordion or tabs style module. When I choose another variant then it stops working unless I reload the page.  Here is the page   sjwatches.com/web/index.php/mark-viiic-10  Thank you")*

ups, pardon..

Could you please try again.. I was reinstalling the whole website..

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNzQzOS12YXJpYW50LWRvZXNudC13b3JrLXdpdGgtYWNjb3JkaW9uLWNvbnRlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86323
- Thank you received: 14282
-
-

15 years 5 months ago [\#17476](#17476) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: variant doesn't work with accordion content](/forum/3-bug-report/17439-variant-doesnt-work-with-accordion-content#17476 "I have a problem with variant selection. I think there is a javascript problem, but I am not too strong at it..  In product description I would like to use accordion or tabs style module. When I choose another variant then it stops working unless I reload the page.  Here is the page   sjwatches.com/web/index.php/mark-viiic-10  Thank you")*

It is not technically possible to have accordions/tabs in the description of variants.
What you can do though is to put the accordions/tabs in the main product description and then remove the code below from the file show of the view product via the menu Display-&gt;Views:
&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;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNzQzOS12YXJpYW50LWRvZXNudC13b3JrLXdpdGgtYWNjb3JkaW9uLWNvbnRlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 15
- Thank you received: 0
-
-

15 years 5 months ago [\#17496](#17496) by [areena](/forum/user/2300-areena "View areena's Profile")  Replied by *[areena](/forum/user/2300-areena "View areena's Profile")* on topic *[Re: variant doesn't work with accordion content](/forum/3-bug-report/17439-variant-doesnt-work-with-accordion-content#17496 "I have a problem with variant selection. I think there is a javascript problem, but I am not too strong at it..  In product description I would like to use accordion or tabs style module. When I choose another variant then it stops working unless I reload the page.  Here is the page   sjwatches.com/web/index.php/mark-viiic-10  Thank you")*

Thank you sooo much! It's exactly how I wanted..

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNzQzOS12YXJpYW50LWRvZXNudC13b3JrLXdpdGgtYWNjb3JkaW9uLWNvbnRlbnQ/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.059 seconds

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