The following code appeared in "Ask a Question Page" header_php.php in newest 158a release:
Code:
// -----
// Check to see if the "Show Ask a Question" button is enabled for the product's
// type. If not, redirect to the product's information page.
//
$info_page = zen_get_info_page($pid);
$show_info_page_ask_a_question = 'SHOW_' . strtoupper($info_page) . '_ASK_A_QUESTION';
if (!defined($show_info_page_ask_a_question) || constant($show_info_page_ask_a_question) === '0') {
zen_redirect(zen_href_link($info_page, 'products_id=' . $_GET['pid']));
}
I have not found, where the $show_info_page_ask_a_question variable is currently being used
Also I cannot find, where SHOW_PRODUCT_INFO_ASK_A_QUESTION constant is defined
But this code is actually blocking any access to "Ask a Question"-Page
Sorry, if I do understand something wrong... (I only support my own store, I am not a pro)
Bookmarks