
Originally Posted by
ideasgirl
The thing is they aren't showing at all. I also just tried your instructions to edit the template and it gives an error as well (even from the original 1.3.5 template code) I tried it twice...
I'm inserting the AaQ code just like on my previous version (no, not between any tabbed code or loops). But I'm guessing has to do with the details not showing up as well.
I will love to have the template organized like you did before.

Ok, well I would advise that you don't follow the Ask A Question directions because the author bundled the AAQ button with the Product Details. If you have product details disabled, then it will also disable the AAQ button.
However, if you are sure you don't have the Product details disabled, You should see them fine. Regardless, I have updated my demo site with the custom version I made that puts the Product Details at the top by the main image.
I've attached is my custom template files with the product details up by the main image and the ask a question actually ABOVE the product details as its own <div>. I also will show the code changes here.
In the tpl_product_display_info.php file (and the music and freeship ones as well)
FIND:
Code:
<!--eof free ship icon -->
RIGHT AFTER THAT PASTE:
Code:
<!-- bof AAQ Link -->
<div id="productQuestions" class="biggerText">
<b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>
</div>
<!-- eof AAQ Link -->
<!--bof Product details list -->
<?php
if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
<ul id="productDetailsList" class="floatingBox back">
<?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
</ul>
<?php }
?>
<!--eof Product details list -->
<br class="clearBoth" />
<div></div>
Then on Line 165 Find & Delete:
Code:
<!--bof Product details list -->
<?php if ( (($flag_show_product_info_model == 1 and $products_model != '') or ($flag_show_product_info_weight == 1 and $products_weight !=0) or ($flag_show_product_info_quantity == 1) or ($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name))) ) { ?>
<ul id="productDetailsList" class="floatingBox back">
<?php echo (($flag_show_product_info_model == 1 and $products_model !='') ? '<li>' . TEXT_PRODUCT_MODEL . $products_model . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_weight == 1 and $products_weight !=0) ? '<li>' . TEXT_PRODUCT_WEIGHT . $products_weight . TEXT_PRODUCT_WEIGHT_UNIT . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_quantity == 1) ? '<li>' . $products_quantity . TEXT_PRODUCT_QUANTITY . '</li>' : '') . "\n"; ?>
<?php echo (($flag_show_product_info_manufacturer == 1 and !empty($manufacturers_name)) ? '<li>' . TEXT_PRODUCT_MANUFACTURER . $manufacturers_name . '</li>' : '') . "\n"; ?>
</ul>
<br class="clearBoth" />
<?php
}
?>
<!--eof Product details list -->
THEN in the tpl_tabbed_products_lite.php file
FIND:
Code:
<!--eof free ship icon -->
RIGHT AFTER THAT PASTE:
Code:
<!-- bof AAQ Link -->
<div id="productQuestions" class="biggerText">
<b><?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id']) . '">' . ASK_A_QUESTION . '</a>'; ?></b>
</div>
<!-- eof AAQ Link -->
Thats it.
The location I put the AAQ link in works good for both text link and image button link.
Bookmarks