variant doesn't work with accordion content

  • Posts: 15
  • Thank you received: 0
13 years 5 months ago #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

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 5 months ago #17443

Your link is not working.

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
13 years 5 months ago #17474

ups, pardon..

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

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
13 years 5 months ago #17476

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->Views:
<div id="hikashop_product_description_<?php echo $variant_name;?>" style="display:none;">
<?php echo JHTML::_('content.prepare',preg_replace('#<hr *id="system-readmore" */>#i','',$variant->product_description));?>
</div>

Please Log in or Create an account to join the conversation.

  • Posts: 15
  • Thank you received: 0
13 years 5 months ago #17496

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

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum