Quote Originally Posted by RickyDicky View Post
I am currently trying to get the accordion on the product info pages to work. Has anybody had any success with this?

So far I have tried adding a column to the database in the table product_descriptions titled product_descriptions2. Then I have attempted to use the data from this table in the tpl_product_info.php template in the same way that the first description (product_descriptions) is referenced.

The first tab of the accordion (Product Description):
Code:
<section class="tab-content">
			<h3 class="tab"><?php echo TEXT_TAB_ACCORDION_DESCRIPTION; ?></h3>
			<!--bof Product description -->
				<?php if ($products_description != '') { ?>
				<div id="productDescription1" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?></div>
				<?php } ?>
			<!--eof Product description -->
		</section>
The second tab of the accordion (was called specification, now renamed to Ingredients):
Code:
		<section class="tab-content">
			<h3 class="tab">INGREDIENTS</h3>
			<!--bof Product description2 -->
				<div>
				<?php if ($products_description2 != '') { ?>
				<div id="productDescription2" class="productGeneral biggerText"><?php echo stripslashes($products_description2); ?></div>
				<?php } ?>
				
				</div>
			<!--eof Product description2 -->
		</section>
So far this has not worked, and has only resulted in a blank specifications/ingredients tab.

Any tips on how to get this to work?
Site is at: http://www.akin.co.nz/
In response to my own question!

It was actually quite easy to get the second description working. Just need to install Numinix Product Fields and then install the second description module. Then the second description will be enabled. If you have trouble running the SQL command (as I did) then try executing it from withing PHPmyadmin, and check that the table it is trying to create doesn't already exist. If it does exist then just exclude the statement to add a table. Hope this helps anyone who is confused like I was.