Jump to content
NemoPS

[FREE MODULE] Ask a question

Recommended Posts

ask-a-question.jpg

 

 

Download here for FREE

 

If your customer base is fairly large you might be responding to the very same questions about your products over and over again. This is where the free Prestashop module "Ask a question" comes in handy,

Using this free Prestashop addon your customers will be able to ask product-specific questions directly from each product page, without having to register! Furthermore, each answered question will be published on the product page, so that other people having the same query will receive immediate answer.

 

 

Core features

  • Answers displayed on the product page
  • Saves your time on frequently asked questions
  • Ajax powered submission form
  • Email Notification on new questions
  • Like 12
  • Thanks 1

Share this post


Link to post
Share on other sites

Hello Nemo,

 

I just downloaded and tested your free module and i must say that it is very useful.

Install went without a problem and working perfect.

I also like that you got a notification email when customer ask a question, very cool module.

Thanks for sharing it with us.

 

Regards,

 

ysco..

Share this post


Link to post
Share on other sites

Great to know! Thanks for the feedback! (feel free to leave a comment in the module's page if you want :D)

Share this post


Link to post
Share on other sites

Hi,

 

I just test the module.

I use 1.5.6.2

 

When install all ok

 

When I ask something the mail arrived.

 

But in the backoffice I cannot approve! and don't see the question

 

Nice module!

Share this post


Link to post
Share on other sites

Do you use multistore?

It's weird. Did you visit the module's config page? there is where the question will be shown

Share this post


Link to post
Share on other sites

Might be multistore then, it's not supporting it at the moment :/

Share this post


Link to post
Share on other sites

Hello Nemo1,

 

I have leave a reply a few days ago on your website but it is still not visible ;)

 

Regards

 

ysco..

Share this post


Link to post
Share on other sites

Hi!

My fault, I should check comments more often (or add a notification!)

 

Approved now, thanks for your feedback!

Share this post


Link to post
Share on other sites

Hi,

 

I just test the module.

I use 1.5.6.2

 

When install all ok

 

When I ask something the mail arrived.

 

But in the backoffice I cannot approve! and don't see the question

 

Nice module!

Same problem but I do not use the multi-store.

Share this post


Link to post
Share on other sites

I don't get it.....

How many languages do you use? As you say records are stored in the db, it's really weird. Here is the method which grabs pending questions:

 

 

public function listPending($id_lang)
{
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
SELECT q.*, pl.name as pname
FROM '._DB_PREFIX_.$this->table_name.' q
LEFT JOIN '._DB_PREFIX_.'product_lang pl ON (pl.id_product = q.id_product)
WHERE approved = 0
AND pl.id_lang ='.$id_lang.' ORDER BY q.id_product');
}
 
Have you tried the latest version?

Share this post


Link to post
Share on other sites

Hi Nemo!
Nice module!
Module installed without a problem, translated the module into Russian, but had to change the template prestaqna_tab_content.tpl. Without changes in the module did not deduce phrase to translate.
Letters informing about the new issue come, a notification to the user about the answer to his question as sent. The only problem with sending e-mail rejection. Letters are not sent, although created for your language folder modules/prestaqna/mails/EN and moved the files to mail messages.
 

 

Tell me what could be caused by a problem with sending rejected issues.

Share this post


Link to post
Share on other sites

That feature is currently disabled, I temporarily removed it from the code ;)

Share this post


Link to post
Share on other sites

That feature is currently disabled, I temporarily removed it from the code ;)

 

Why? If not a secret.

Share this post


Link to post
Share on other sites

Because I'm lazy :D

I wanted to publish the module but lacked time to add a feature to disable sending rejection email if the owner wanted :D

 

You can turn it on by removing the comment on line 100 of the module :D

  • Like 1

Share this post


Link to post
Share on other sites

Can change the template prestaqna_tab_content.tpl like this:

<div id="qnaTab">
<p class="centertext">
<span><strong>{l s='NO registration required!' mod='prestaqna'}</strong></span>
</p>
{if $qnas_nb}<p id="qna_pointer"><strong>{$qnas_nb}</strong> {l s='Question(s) answered' mod='prestaqna'}</p>{/if}

<p>{l s='If the question you have has not yet been answered here, use the form below to ask something about this addon.' mod='prestaqna'}</p>
<form action="" method="POST" id="qna_ask">
<label for="qna_q">{l s= " I want to know:' mod='prestaqna'} </label>
<textarea name="qna_q" id="qna_q" rows="8"/></textarea>
</p>
<div class="field clearfix">
<label for="qna_name">{l s='Name:' mod='prestaqna'} </label>
<input type="text" name="qna_name" value="" id="qna_name" />
<small>{l s='optional' mod='prestaqna'}</small>
</div>
<div class="field clearfix required">
<label for="qna_email">{l s='email address:' mod='prestaqna'} </label>
<input type="text" name="qna_email" value="" id="qna_email" />
<small><sup>*</sup>{l s='(Required to be notified when an answer is available)' mod='prestaqna'}</small>
</div>
<input type="hidden" name="qna_prod" value="{$product->id}"/>
<a href="javascript:void(0)" title="{l s='Send question!' mod='prestaqna'}" class="button style1" id="submitQNA">{l s='Send question!' mod='prestaqna'}</a>
</form>

{if isset($qnas) && $qnas}
<div class="qna-answers">
<ul>
{foreach from=$qnas item=qna}
<li>
<span class="name">
{l s='Asked by' mod='prestaqna'} {if empty($qna.name)}{l s='a guest' mod='prestaqna'}{else}{$qna.name|escape:'hmlall'}{/if} <br />
{if $qna.date_added !="0000-00-00"}
<em>{l s='on' mod='prestaqna'} {dateFormat date=$qna.date_added}</em>
{/if}
</span>
<span class="question">{$qna.question|escape:'htmlall'}</span>
<span class="answer">
<strong>{l s='Answer:' mod='prestaqna'}</strong> <br/>
{$qna.answer|escape:'htmlall'}
</span>

<div style="clear:both"></div>
</li>
{/foreach}
</ul>
</div>

{/if}
</div>

<script>
var qna_error = "{l s='Whoops! It seems that your request could not be validated, please retry' mod='prestaqna'}",
qna_badcontent = "{l s='Bad message content!' mod='prestaqna'}",
qna_badname = "{l s='Bad name content!!' mod='prestaqna'}",
qna_bademail = "{l s='Bad E-mail address!' mod='prestaqna'}",
qna_confirm = "{l s='Thank you. Your question has been registered. You will be notified as soon as an answer is available' mod='prestaqna'}";

</script>

Such combination allows to make the translation and displays all the fields for translation.
{l s='sample text' mod='prestaqna'}

In your template indicated like so: {l mod='prestaqna' s='sample text'} In this version I have not fields are shown for translation.

How do you think of that?

Share this post


Link to post
Share on other sites

Updated, let me know

Greek characters work fine. However paypal button redirects to my dashboard :P I can't see the reason, code seems fine to me..

<div style="float:left">

 

<form style="text-align:right" action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">

<input type="hidden" name="cmd" value="_s-xclick">

<input type="hidden" name="hosted_button_id" value="GSG68TUKQC24J">

<input type="image" src="https://www.paypalobjects.com/en_US/IT/i/btn/btn_donateCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">

<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">

</form>

</div>';

Share this post


Link to post
Share on other sites

Cheers to my dumbness.

I forgot an open <form> tag in the middle of nowhere :D Fixed

Share this post


Link to post
Share on other sites

About pending questions not appearing, can anybody of your try this? Change this

 

public function listPending($id_lang)
{
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
SELECT q.*, pl.name as pname
FROM '._DB_PREFIX_.$this->table_name.' q
LEFT JOIN '._DB_PREFIX_.'product_lang pl ON (pl.id_product = q.id_product)
WHERE approved = 0
AND pl.id_lang ='.$id_lang.' ORDER BY q.id_product');
}
 
to this
 
public function listPending($id_lang)
{
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
SELECT q.*, pl.name as pname
FROM '._DB_PREFIX_.$this->table_name.' q
LEFT JOIN '._DB_PREFIX_.'product_lang pl ON (pl.id_product = q.id_product)
WHERE approved = 0
ORDER BY q.id_product');
}
 
And then add var_dump($pending) at line 186?

Share this post


Link to post
Share on other sites

 

About pending questions not appearing, can anybody of your try this? Change this

 

public function listPending($id_lang)
{
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
SELECT q.*, pl.name as pname
FROM '._DB_PREFIX_.$this->table_name.' q
LEFT JOIN '._DB_PREFIX_.'product_lang pl ON (pl.id_product = q.id_product)
WHERE approved = 0
AND pl.id_lang ='.$id_lang.' ORDER BY q.id_product');
}
 
to this
 
public function listPending($id_lang)
{
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
SELECT q.*, pl.name as pname
FROM '._DB_PREFIX_.$this->table_name.' q
LEFT JOIN '._DB_PREFIX_.'product_lang pl ON (pl.id_product = q.id_product)
WHERE approved = 0
ORDER BY q.id_product');
}
 
And then add var_dump($pending) at line 186?

 

Hi Nemo

Where should I add "var_dump($pending)" ? In line 186 in prestaqna.php I got this:

 

<tr><th>'.$this->l('Product').'</th><th>'.$this->l('Question').'</th><th>'.$this->l('By').'</th><th>'.$this->l('E-mail').'</th><th>'.$this->l('Answer').'</th><th></th></tr>

 

I make the change in "public function listPending($id_lang)... " and the pending questions appear but whitout the product name, and when I push on "approve the above Q&As" button it returns a Prestashop Exception and says:

 

Invalid product vars

at line 104 in file classes/Link.php

 

98.             if (is_array($product) && isset($product['id_product']))

99.                 $product = new Product($product['id_product'], false, $id_lang, $id_shop);

100.             elseif ((int)$product)

101.                 $product = new Product((int)$product, false, $id_lang, $id_shop);

102.             else

103.                 throw new PrestaShopException('Invalid product vars');

104.         }

105.

106.         // Set available keywords

107.         $params = array();

108.         $params['id'] = $product->id;

 

Thank you for your job.

Share this post


Link to post
Share on other sites

So language is the issue. Do those products have the name field filled in for the current back office language?

Share this post


Link to post
Share on other sites
Hi, 

 

I installed this module but I do not get the questions. Have tested my email in prestashop and it is working. Can you tell me how can I solve this problem? I would appreciate questions via this module. 

 

Best regards,

Share this post


Link to post
Share on other sites

 

Hi, 
 
I installed this module but I do not get the questions. Have tested my email in prestashop and it is working. Can you tell me how can I solve this problem? I would appreciate questions via this module. 
 
Best regards,

 

 

Try to change settings. Select Settings -> E-mail -> Set your settings for the SMTP server. For advanced users only. Point your mail settings.

The module working, tested on versions 1.5.6.0-1.5.5.2

Share this post


Link to post
Share on other sites

I'm not sure it's related to smtp settings. It seems that in the database product ids are not saved on a couple of installations... but I wasn't able to figure out why so far!

Share this post


Link to post
Share on other sites

I'm not sure it's related to smtp settings. It seems that in the database product ids are not saved on a couple of installations... but I wasn't able to figure out why so far!

 

 

Nemo, the problem with the Javascript what can i do for fix that? PS 1.5.2 I really need this module

Share this post


Link to post
Share on other sites

Hi Nemo

Where should I add "var_dump($pending)" ? In line 186 in prestaqna.php I got this:

 

<tr><th>'.$this->l('Product').'</th><th>'.$this->l('Question').'</th><th>'.$this->l('By').'</th><th>'.$this->l('E-mail').'</th><th>'.$this->l('Answer').'</th><th></th></tr>

 

I make the change in "public function listPending($id_lang)... " and the pending questions appear but whitout the product name, and when I push on "approve the above Q&As" button it returns a Prestashop Exception and says:

 

Invalid product vars

at line 104 in file classes/Link.php

 

98.             if (is_array($product) && isset($product['id_product']))

99.                 $product = new Product($product['id_product'], false, $id_lang, $id_shop);

100.             elseif ((int)$product)

101.                 $product = new Product((int)$product, false, $id_lang, $id_shop);

102.             else

103.                 throw new PrestaShopException('Invalid product vars');

104.         }

105.

106.         // Set available keywords

107.         $params = array();

108.         $params['id'] = $product->id;

 

Thank you for your job.

Hi Bravu u find how to fix this? 

Share this post


Link to post
Share on other sites

Nemo, the problem with the Javascript what can i do for fix that? PS 1.5.2 I really need this module

What kind of javascript problem?

 

Hi Bravu u find how to fix this? 

 

Can you post your dump of the pending list?

Share this post


Link to post
Share on other sites

What kind of javascript problem?

 

 

Can you post your dump of the pending list?

 

I managed to solve the error which did not show the questions in the module, disabling the module "comments" that comes by default in prestashop the ASK question could not show me anything, much less could send the answers, after activating the module comments by default magically returned to run the module ask check that Nemo,

Share this post


Link to post
Share on other sites

Uhm, I am not sure I understood, you mean it conflicts with the comments module? And where it didn't work, it was fixed by disabling the default comments?

Share this post


Link to post
Share on other sites
Hi Nemo1, congratulations for a job well done and thank you for free module. 

I have a question, I'm Italian and I would like to translate the form into my language, you can tell me how to do? 

Thank you!

Edited by nakiodev (see edit history)

Share this post


Link to post
Share on other sites

Hi! (It's the english forum so let's keep talking in english :))

You should be able to translate it from modules -> translations of installed modules

Share this post


Link to post
Share on other sites

Hi! (It's the english forum so let's keep talking in english :))

 

I apologize, I use the automatic translator Google Chrome to view the forum English. Modifying my previous comment, I accidentally entered the Italian translation. :)

Share this post


Link to post
Share on other sites
Installed in prestashop 1.6 and am having problems: 
 
1.Do not get e-mail, or the client, error (Error while sending the email to fariasmarcilio@outlook.com) 
 

 

2. How to reset the answers on the product page?

Share this post


Link to post
Share on other sites

You should be able to translate it from modules -> translations of installed modules

 

Hi, I have prestashop 1.5.4.1 and found the translation module in location -> translation, but I have not found the items to be translated. I would like to translate the items in question submission form. To better understand attach a photo, (the part that I want to translate is circled in red).

post-628623-0-50759000-1396025967_thumb.png

Edited by nakiodev (see edit history)

Share this post


Link to post
Share on other sites

Hi, I have prestashop 1.5.4.1 and found the translation module in location -> translation, but I have not found the items to be translated. I would like to translate the items in question submission form. To better understand attach a photo, (the part that I want to translate is circled in red).

Direct translate the php file, replace the words in quotation marks (") in English by Italian. 
 
File: prestaqna_tab_content.tpl 
folder: module / prestaqna / views / templates / hook

Share this post


Link to post
Share on other sites

 

Installed in prestashop 1.6 and am having problems: 
 
1.Do not get e-mail, or the client, error (Error while sending the email to fariasmarcilio@outlook.com) 
 

 

2. How to reset the answers on the product page?

 

 

Do you have any javascript error in the front office, when you try to ask a question?

2- you can't at the moment, you can only do it by running a query

Share this post


Link to post
Share on other sites

 

Direct translate the php file, replace the words in quotation marks (") in English by Italian. 
 
File: prestaqna_tab_content.tpl 
folder: module / prestaqna / views / templates / hook

 

 
Thanks for the reply, I had already thought of this solution, the problem is that I manage a multilanguage shop and then when the customer selects the English language, having edited the file manually, the translated words (the ones circled in red in the screenshot) will remain in Italian language . 
So what I tried to do is make sure that the words to change the form by selecting the language. 
Thanks again for your reply!

Share this post


Link to post
Share on other sites
Hi guys, I solved my problem in this way: 
 
1) I created a language file IT (for the Italian language) in the "translations" to the path, folder: modules \ prestaqna \ translations. 
2) I have compiled the IT file with the following code:
 

 

<?php

 
global $_MODULE;
$_MODULE = array();
$_MODULE['<{prestaqna}prestashop>prestaqna_tab_content_CODE-MD5] = 'translation';
 

 

3) Pointing to the reference file that must be made the translation of words. (written in red, I recommend respected underscores!)

4) Copying from the file "prestaqna_tab_content.tpl" the word or phrase to be translated and generating the MD5 code we're going to copy instead of MD5 in blue.

5)Writing a translation into the language of your choice instead of "translation" in green.

6)Save the changes.

 

If you have any question please feel free to ask, thank Valerio and Intermediadorpopular for the help. 
Sorry for the bad English, Good prestashop at all!

 

 

Share this post


Link to post
Share on other sites
I am sorry, but I have another problem. I have prestashop 1.5.4.1 and I have tested this module either locally or online, but in both cases I can not see the customers' questions. 

Do you have any solution to propose?

Share this post


Link to post
Share on other sites

It's hard to tell what's going on. What's the language of your front office? And back office?

Share this post


Link to post
Share on other sites

It's hard to tell what's going on. What's the language of your front office? And back office?

 

The language of my front office and back office is Italian.

Edited by nakiodev (see edit history)

Share this post


Link to post
Share on other sites

Did you add the 'it' folder inside mails/ of the module folder?

Share this post


Link to post
Share on other sites

I didn't test it, but it should :)

Share this post


Link to post
Share on other sites

Hello, congratulations for this work, very good module, I installed the latest version on version 1.5x (before 1.6).
The only problem I have is with sending mails.
I set the transit of mail via SMTP, this function works OK for the rest of the store but can not get that in your module by registering a new question me send an email notification to the administrator that there is a new question ... , so when I answer the same question from the module when I run "answer" a warning (red) appears stating that there was an error sending mail to the address of the client (mail advising that your question was answered)
I'm using Spanish language so I translated the contents of / prestaqna / views / templates / hook to Spanish (I have knowledge of PHP).
Any clue about my case?, Any help will be grateful for my wonderful this module would have to 100%!
Best Regards

 

Mr Kairo

Share this post


Link to post
Share on other sites

You need to add a folder named 'es' containing those emails from 'en' in the mails folder within the module ;)

Share this post


Link to post
Share on other sites

You need to add a folder named 'es' containing those emails from 'en' in the mails folder within the module ;)

Hi Nemo1 Beforehand excellent job, only I have a problem. 

 
When I answer the questions, does not reach the correct product link in the email cleinte other direction on the link, I'm using friendly links. 
 
Any idea that this evil?

Share this post


Link to post
Share on other sites

 

Hi Nemo1 Beforehand excellent job, only I have a problem. 

 
When I answer the questions, does not reach the correct product link in the email cleinte other direction on the link, I'm using friendly links. 
 
Any idea that this evil?

 

 

 

You need to add a folder named 'es' containing those emails from 'en' in the mails folder within the module ;)

Beforehand excellent job, only I have a problem. 
 
When I answer the questions, does not reach the correct product link in the email client other direction on the link, I'm using friendly links. 
 
Any idea that this evil?

 

Hi Nemo1 Beforehand excellent job, only I have a problem. 

 
When I answer the questions, does not reach the correct product link in the email cleinte other direction on the link, I'm using friendly links. 
 
Any idea that this evil?

 

Beforehand excellent job, only I have a problem. 
 
When I answer the questions, does not reach the correct product link in the email client other direction on the link, I'm using friendly links. 
 
Any idea that this evil?

Share this post


Link to post
Share on other sites

 

Hi Nemo1 Beforehand excellent job, only I have a problem. 

 
When I answer the questions, does not reach the correct product link in the email cleinte other direction on the link, I'm using friendly links. 
 
Any idea that this evil?

 

prestaqna.php

 

Do not send the url friendly Product ....

 

public function sendEmail($to, $id_product, $pname)
{
global $cookie;
$link = new Link();
$productLink = $link->getProductlink($id_product).'#qnaTab';  

Share this post


Link to post
Share on other sites

You mean  $id_product is not the correct one? Are you using any module that removes product ids from urls?

Share this post


Link to post
Share on other sites

You mean  $id_product is not the correct one? Are you using any module that removes product ids from urls?

Apparently the $ id_product if it is correct but I answer the mail with $ link with several characters and leads him to the question. 
 
example 
 
Send this link in your email: 
 
 
And right should be: 
 
 
Hopefully you can help me. 
 
regards

 

Apparently the $ id_product if it is correct but I answer the mail with $ link with several characters and leads him to the question. 
 
example 
 
Send this link in your email: 
 
 
And right should be: 
 
 
Hopefully you can help me. 
 
regards

 

Share this post


Link to post
Share on other sites

controller  = product_rule? this doesn't exist in prestashop by default
Do you have any override? If so, it's that thing's fault

Share this post


Link to post
Share on other sites

controller  = product_rule? this doesn't exist in prestashop by default

Do you have any override? If so, it's that thing's fault

Apparently there is a debug. 
 
index.php?controller=product_rule&id
 
'll Know how to fix it. 
 
regards

Share this post


Link to post
Share on other sites

Please, i can use help

 

We have a java script error , people can not do send & ask questions with the ask a question module.( see atachment foto )

 

On the atachment  is visable that there are 3 error or mistake s Down page of the atachment foto

 

( the follow text i dit translate for you ) :

De opgegeven URL wordt niet toegestaan door de configuratie van de applicatie.: Een of meer van de opgegeven URL's zijn niet toegestaan door de instellingen van de app. De URL moet overeenkomen met de website- of canvas-URL, of het domein moet een subdomein zijn van een van de domeinen van de app.

 

""The specified URL is not allowed by the configuration of the application:. One or more of the URLs are not permitted by the settings of the app. The URL must match the site or canvas URL, or it should be a subdomain of one of the domains of the app.""

 

maybe you can tell what i can change to lett it work ...I hope

 

http://www.leepleziervoorjou.nl/

post-387679-0-74405900-1403183567_thumb.jpg

Edited by annegirly (see edit history)

Share this post


Link to post
Share on other sites

the link you posted seems to be unreachable :(

Share this post


Link to post
Share on other sites

Congratulations for your very useful module!

 

I installed it recently on 1.5.4.1

 

The only issue i have is that i don't get the Admin mail, costumer email works just fine, any ideas on what to check?

Share this post


Link to post
Share on other sites

Hello,

 

I was forget to put a s between the name.

The right website is:

 

http://www.leespleziervoorjou.nl

 

Weird, I cannot see the module active on this site, did you disable it?

 

Congratulations for your very useful module!

 

I installed it recently on 1.5.4.1

 

The only issue i have is that i don't get the Admin mail, costumer email works just fine, any ideas on what to check?

 

Hm, only admin? did you check the spam folder? What is your admin language, compared to the front office one?

Share this post


Link to post
Share on other sites

Yes Nemo1, only Admin and i checked Spam.

 

Front office language is different than back office.

Back office is English. I also use just "en" mail folder in your module which i have translated.

Share this post


Link to post
Share on other sites

Well, what surprises me then is the fact that you don't get the "en" one, but the front office one, which is in a different language. DId you perhaps rename that folder?

Share this post


Link to post
Share on other sites

Weird, I cannot see the module active on this site, did you disable it?

I had disable it yes,

Can you now check it please?

Because i was install back again today in hope you can help

Share this post


Link to post
Share on other sites

It seems like the module is missing both css and js, try resetting it and check that it hooks to displayHeader

Share this post


Link to post
Share on other sites

Hi Nemo1,

Really nice module,

Installed on 1.6.0.8. Site: www.zech.cl

 

I just had to translate some words direct on .tpl files and subject for emails, and uncomment the lines for send rejected emails( and a new line of code to get the name of product comment rejected) .

 

Thanks for sharing.

Regards,

 

Christian Z.

Share this post


Link to post
Share on other sites

Hi
 
A really nice module and working perfectly on v1.6.0.8 but a small glitch, "Ask the question" appearing above the comment in review section and rest are below.
 
I think it should appear below the comment section, how to rectify it. Please view the screenshot marked with arrow.
 
 
Help

 

post-719967-0-72606000-1404408818_thumb.jpg

Share this post


Link to post
Share on other sites

Well, what surprises me then is the fact that you don't get the "en" one, but the front office one, which is in a different language. DId you perhaps rename that folder?

 

It's fixed Nemo1.

 

I just had to create one mail folder for each language and although i only have one front office language, it's different than back office language so both folders were needed to work.

 

Thanks for your time!

Share this post


Link to post
Share on other sites

Hi, Nemo. Please include the option to post links in the answers and line-breaks in the text format >.<.

Share this post


Link to post
Share on other sites

Hi

 

A really nice module and working perfectly on v1.6.0.8 but a small glitch, "Ask the question" appearing above the comment in review section and rest are below.

 

I think it should appear below the comment section, how to rectify it. Please view the screenshot marked with arrow.

 

 

Help

 

Yes, the problem is the new 1.6 template is bugged there, I'll have to create a separate tpl file for it as hooks are messed up a bit, sadly

 

Hi, Nemo. Please include the option to post links in the answers and line-breaks in the text format >.<.

 

Links to..? Also, do you link the text format email? Because line breaks should be there already for questions

Share this post


Link to post
Share on other sites

Yes, the problem is the new 1.6 template is bugged there, I'll have to create a separate tpl file for it as hooks are messed up a bit, sadly

 

 

Links to..? Also, do you link the text format email? Because line breaks should be there already for questions

 

Thank you Nemo for your fast response. 

 

Will wait for new tpl, hope you will intimate once you are done. Till that time disable the module. 

 

Thanks once again.

Share this post


Link to post
Share on other sites

Yep, I've tried the module in your website, but it doesn't include line-breaks :(. It formats the text all together.

 

The posted links don't work either, and this would be really useful to send the customer to another product or CMS page if it suffice as an answer.

Share this post


Link to post
Share on other sites

Strange, prestashop version?
I use it on my site too, and just now I came across 2 questions with many line breaks, so it's strange

  • Like 1

Share this post


Link to post
Share on other sites

How can you delete or edit an already published in Product page question/answer?

Somewhere in DB perhaps?

 

Thanks!

Share this post


Link to post
Share on other sites

I haven't implemented a removal method in the back office yet, so for the time being you can manually erase questions from the ps_qna table :)

Share this post


Link to post
Share on other sites

Strange, prestashop version?

I use it on my site too, and just now I came across 2 questions with many line breaks, so it's strange

 

I posted a question on your website a few months ago to test it, Nemo. I've also checked some other questions with links, and so fas it's not working for me.

Share this post


Link to post
Share on other sites

Ah! Well yes I answered yes because that is true, in the textarea in the back ofifce line breaks are shown, as for my site's template, I didn't add nl2br :)

  • Like 1

Share this post


Link to post
Share on other sites

Hi Nemo1, 

 

Thank you for sharing the module.

 

I have got an error when submitting the question. 

Whoops! It seems that your request could not be validated, please retry

 

I installed the latest version on prestashop version 1.6.0.8 on localhost. However it worked fine on the version 1.5.4 - not on localhost though. Do you have any idea for this problem? Any help would be great!

 

Thanks!

 

Regards

Share this post


Link to post
Share on other sites

Maybe you have no email sendout setup on your localhost?

Share this post


Link to post
Share on other sites

It means entries cannot be updated in the database, for some reason, weird. They are not, are they?

Share this post


Link to post
Share on other sites

Hi Nemo1,

 I am using your module,it is good but when i approve comment then it gives an error

 

"Error while sending the email to atul.s@cisinlabs.com"
 
means it is not sending mail to user.
 
what is the reason??
Please help me!!
 
Thanks in advance.

Share this post


Link to post
Share on other sites

Hi, did you make sure you have an iso folder for your language in the /mails/ folder of the module?

Share this post


Link to post
Share on other sites

no , i have only en folder inside mails folder of module

Share this post


Link to post
Share on other sites

Then copy it and rename it as your front and backend language :)

Share this post


Link to post
Share on other sites

suppose i have english language at back end as well as in front end and i have en folder inside mails folder in module

 

now tell me what to do ?

Share this post


Link to post
Share on other sites

hello Nemo1

 

My front and backend language is english and i have en folder inside mails folder

 

i am unable to send mail

 

please help me!

 

thanks

Share this post


Link to post
Share on other sites

Please nemo ,,reply

 

Its urgent

Share this post


Link to post
Share on other sites

Yes, the problem is the new 1.6 template is bugged there, I'll have to create a separate tpl file for it as hooks are messed up a bit, sadly

 

 

Links to..? Also, do you link the text format email? Because line breaks should be there already for questions

Missed to attach the quote.

Share this post


Link to post
Share on other sites

hello Nemo1

 

My front and backend language is english and i have en folder inside mails folder

 

i am unable to send mail

 

please help me!

 

thanks

It might be anithyng, and you using smtp settings? Can you send regular emails? Also, try enabling error reporting and examine the result of the ajax call that firesafter pressing the button

 

Hi Nemo,

 

As per your post # 76 default theme bug, still waiting for solution

 

 

Thanks

 

I didn't do it yet, sorry I had very little time recently :(