Originally Posted by
DrByte
Like I said in
my reply to your other post on this same issue:
It's not affecting everyone. If it's a "bug", then it's a bug on your site.
Feels like something amiss with alterations made to your template, eg tpl_product_info_display.php (assuming you're using Product General, adapt filename for other product-types).
Two approaches one could take for researching: compare your customized tpl_product_info_display.php with the original and see what's different in that part of the file (probably has a change made to the product ID); ... or turn the feature back on and post a link to the page so we can look at the raw HTML generated and compare it with a working site in order to find approximate clues to what might be wrong/different. You could compare the raw html to that of a working site as well. eg WinMerge
Thank you. It was in that file. I looked up the Ask a Question 2.2 plug-in and uploaded those files to my server. It worked, so I tried to figure out what was wrong with the Ask a Question that I was using with my Responsive Classic template. I noticed that when I hovered over the "Ask a Question" button on my product, one showed "products_id" and one showed "pid." The "pid" one did not work, so I changed the code in tpl_product_info_display.php to "products_id" like this, and it worked:
Code:
<!-- bof Ask a Question -->
<br>
<span id="productQuestions" class="">
<?php echo '<a href="' . zen_href_link(FILENAME_ASK_A_QUESTION, 'products_id=' . $_GET['products_id'], 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_ASK_A_QUESTION, BUTTON_ASK_A_QUESTION_ALT) . '</a>'; ?>
</span>
<br class="clearBoth">
<br>
<!-- eof Ask a Question -->
Bookmarks