Customers often will not refer to a model number or a correct product name when asking about a product. This add-on will guarantee the correct product info and question are sent to the appropriate person.
This is a modified "Tell a Friend", but works just fine for the above needs.
Legend: 
Download

Report
Based on : ask_a_question-final_2.4 French and English.zip 14.04.2009
Files updated: /catalog/ask_a_question.php
FULL PACKAGE v2.4.1 with dutch, german, english, italian, french and spanish language files
---------------------------------
Because the hidden fields generates hardcoded your emailadress (hidden field though,
but still displayed in the source) andthis will allow Email Spider Robots to catch
your address and possibly send spam mails to your shop address.
So I changed this in /catalog/ask_a_question.php.
This is a full package including the updated file (/catalog/ask_a_question.php)
Full package - English and French
Scrennshots visible at : http://www.oscommerce-screenshots.com/product-question-p-388.html
Only Portuguese-BR install and language files changed, full package.
Somente em portugues do Brasil, pacote completo.
Small bug fix in the instructions in "Ask a question 2.4 Spanish and English" from 6.10.2008
Some minor typing errors in Class name and missing class for link tekst on product info.
Also change the alignment from left to centre.
Add configure options in admin to allow guest to ask questions.
Complete package with updated install.
Arild E 22.10.2008
Small bug fix in the instructions in "Ask a question 2.4 Spanish and English" from 6.10.2008
Some minor typing errors in Class name and missing class for link tekst on product info.
Also change the alignment from left to centre.
Arild E 22.10.2008
By Default, "Ask a Product Question" file will use same settings as "Allow Guest To Tell A Friend" in OSC Admin.
This patch is for users who would like to keep "Allow Guest To Tell A Friend" in False state and still have guests ask a product question without the need to register first.
Only 1 line modification required.
Thanks for the original author of this contrib.
I am no programmer buy any means but I saw several request in the help forum for this contribution about not requiring customers to log in to use Ask A Product Question.
I take No Credit for this contribution.
I have edited the catalog/ask_a_question.php file as follows:
From lines 13 through 17 Find this code:
require('includes/application_top.php');
if (!tep_session_is_registered('customer_id') && (ALLOW_GUEST_TO_TELL_A_FRIEND == 'false')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
And replace With:
require('includes/application_top.php');
if (!tep_session_is_registered('customer_id') && (ALLOW_GUEST_TO_TELL_A_FRIEND == 'false')) {
$navigation->set_snapshot();
//tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
I simply commented out (//) the last line.
If this causes a security risk, someone please let me know.
Eingedeutschte Dateien und Info.
This full pack contains the latest code except that of the translations to dutch, italian and portuguese, because this new version includes some improvements which require new entries on the language files, and I only speak english and spanish, sorry!
This new version introduces a check for empty message, and when a correct message is sent, it remains at the ask a question form, and it shows a 'sucess' message with a 'return' button below. I thought that this would be better than going back to the product info page and showing a green line on the top which can be overlooked.
Thanks to the original author, and any translation will be welcomed.
Just place in catalog/includes/languages/portugues/
Only the Dutch language File. Must be
placed in catalog/includes/languages/dutch/
This is the language file translated in italian
This mod automatically fills in the user name and email if logged in.
here is the full package
I've translated it to the french language
Correct way of adding link with session_id. pmvision bugfix can work if you have fresh session_id. But sometimes later when session_id disappears link becames invalid ".php&products_id=.." (Must read ".php?products_id=.."
echo '<a href="' . tep_href_link(FILENAME_ASK_QUESTION) . '&products_id='.$product_info['products_id'].'">' . TEXT_ASK_QUESTION . '</a>';
should be:
echo '<a href="' . tep_href_link(FILENAME_ASK_QUESTION, 'products_id='.$product_info['products_id']) . '">' . TEXT_ASK_QUESTION . '</a>'; ?>
There was a mistake in the product_info.php.
The Session-Id wasn't submitted to the ask_a_question.php.
So, the user was logged out evry time, he clicked the ask a question link.
This package includes the whole installation files and instructions also the bugfix is included.
Es war ein Fehler in der product_info.php.
Die Session ID wurde nicht an die ask_a_question.php übertragen.
Somit war der Nutzer immer ausgeloggt, als er auf den stelle eine Frage link klickt.
Dieses Paket beinhaltet die volle Installation inklusive dem behobenen Fehler.
The install instructions had an extra <tr> that wasnt required
The Catalog and Engligh directorys have also been renamed to lower case to save problems when being uploaded
I have simply taken the contribution from 16th Feb. 2004, removed the hard coded text and included these into their appropriate language files. Also included a little image to draw attention to the fact that the customer can ask a question, which I feel is an important 'service' for making a sale (as long as you answer quickly :-))
Sorry, but I have not updated the language files, e.g. German and French.
P.S, this is not the new 'in a box' contribution. I dont think its appropriate to push this out to the left/right column.
heres Russian translation file
Same as below, updated only the install instructions.
Removed the code from the product info, and placed it modified in a box, text replaced for button.
Multi language
Include French Langagua
Include an image
Only developped for MS2
Sigh..... All files fixed.
Done
For both OSC 2.1 and OSC 2.2 included.
Model wasn't showing up in email... is now.
Same as below... Fixed includes/languages/english/ask_a_question.php
Customers often will not refer to a model number or a correct product name when asking about a product. This add-on will guarantee the correct product info and question are sent to the appropriate person.
This is a modified "Tell a Friend", but works just fine for the above needs.