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

#   3rd party accordion module not working in variants

##

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

Less More

- Posts: 35
- Thank you received: 0
-
-

15 years 4 months ago [\#20475](#20475) by [mbeley](/forum/user/3137-mbeley "View mbeley's Profile")  *[3rd party accordion module not working in variants](/forum/4-how-to/20475-3rd-party-accordion-module-not-working-in-variants#20475 "Hi,  I'm using an accordion module with a hover display in the product details (under description). It's working well on the main page. But as soon as I change a characteristic (color or size) the accordion module stops working.  I tried deleting all the variants and characteristics and adding the characteristics again, did not work.  The variant pages have absolutely ne difference from the main page (I have entered no variant photos or descriptions). So I was thinking if I could just disable the variant page, meaning when I change a characteristic, it would still update the cart in case the product gets added to cart, but it would not update the rest of the page.  The website is   www.mandaline.fr  User/Pass is guest/guest  Thank you and best regards,")* was created by *[mbeley](/forum/user/3137-mbeley "View mbeley's Profile")*

Hi,

I'm using an accordion module with a hover display in the product details (under description).
It's working well on the main page.
But as soon as I change a characteristic (color or size) the accordion module stops working.

I tried deleting all the variants and characteristics and adding the characteristics again, did not work.

The variant pages have absolutely ne difference from the main page (I have entered no variant photos or descriptions).
So I was thinking if I could just disable the variant page, meaning when I change a characteristic, it would still update the cart in case the product gets added to cart, but it would not update the rest of the page.

The website is [ www.mandaline.fr](http://www.mandaline.fr)
User/Pass is guest/guest

Thank you and best regards,

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

15 years 4 months ago [\#20503](#20503) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: 3rd party accordion module not working in variants](/forum/4-how-to/20475-3rd-party-accordion-module-not-working-in-variants#20503 "Hi,  I'm using an accordion module with a hover display in the product details (under description). It's working well on the main page. But as soon as I change a characteristic (color or size) the accordion module stops working.  I tried deleting all the variants and characteristics and adding the characteristics again, did not work.  The variant pages have absolutely ne difference from the main page (I have entered no variant photos or descriptions). So I was thinking if I could just disable the variant page, meaning when I change a characteristic, it would still update the cart in case the product gets added to cart, but it would not update the rest of the page.  The website is   www.mandaline.fr  User/Pass is guest/guest  Thank you and best regards,")*

Hi,
You need to edit the file "show" of the view "product" and remove the 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 avoid that the description is updated when the variant is changed.

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

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

Less More

- Posts: 35
- Thank you received: 0
-
-

15 years 4 months ago [\#20560](#20560) by [mbeley](/forum/user/3137-mbeley "View mbeley's Profile")  Replied by *[mbeley](/forum/user/3137-mbeley "View mbeley's Profile")* on topic *[Re: 3rd party accordion module not working in variants](/forum/4-how-to/20475-3rd-party-accordion-module-not-working-in-variants#20560 "Hi,  I'm using an accordion module with a hover display in the product details (under description). It's working well on the main page. But as soon as I change a characteristic (color or size) the accordion module stops working.  I tried deleting all the variants and characteristics and adding the characteristics again, did not work.  The variant pages have absolutely ne difference from the main page (I have entered no variant photos or descriptions). So I was thinking if I could just disable the variant page, meaning when I change a characteristic, it would still update the cart in case the product gets added to cart, but it would not update the rest of the page.  The website is   www.mandaline.fr  User/Pass is guest/guest  Thank you and best regards,")*

Works great!
Thank you Nicolas!

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

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