Jump to content

Problem with product comments module v3.6.1


mproject3000

Recommended Posts

Hi,

 

I have a strange problem with the comment module (v3.6.1) Prestashop 1.6

 

It works on some product pages (ex: http://bonjour-madame.ru/kupit-красно-синий-плетеный-пояс-tressee-от-fosh-1317.html)

 

And does not work on others (ex: http://bonjour-madame.ru/kupit-бордовая-кожаная-сумка-beata-от-flora-españa-1398.html) . On this page it adds #new_comment_form after the URL and does not open the js form of the comment

 

I suppose that the problem must come tfrom the js file, but don't undrestand where and why only on some pages..

 

Thank you in advance for your opinions !

 

Regards

Link to comment
Share on other sites

UPDATE: I examined a little bit more the problem: on product pages with a price of less than 999 rubles you can leave a comment, on products of more than 1000 rubles - not possible

Obviously, if we sell in euros = no problem, but if we use other currencies it becomes bothering


If you have an idea how to fix it, do not hesitate ..


Thank you !!

Link to comment
Share on other sites

most probably some javascript error occurs before product comments javascript has a chance to register click handler.

 

Please open your javascript console - on chrome hit Ctrl+Shift+J (windows/linux) or Cmd+Opt+J (Mac), reload page and see if there's any error listed in console. 

Link to comment
Share on other sites

Hello,

 I checked it on page https://asgardgifts.com/asatru-books/36-beowulf-9780292707719.html and got 2 errors:

 

Uncaught ReferenceError: loyalty_nopoints is not defined     v_233_db7dc9b….js:1102 
    at updateLoyaltyView (v_233_db7dc9b….js:1102)
    at HTMLDocument.<anonymous> (v_233_db7dc9b….js:1100)
    at j (v_233_db7dc9b….js:2)
    at Object.fireWith [as resolveWith] (v_233_db7dc9b….js:2)
    at Function.ready (v_233_db7dc9b….js:2)
    at HTMLDocument.K (v_233_db7dc9b….js:2)
updateLoyaltyView @ v_233_db7dc9b….js:1102
(anonymous) @ v_233_db7dc9b….js:1100
j @ v_233_db7dc9b….js:2
fireWith @ v_233_db7dc9b….js:2
ready @ v_233_db7dc9b….js:2
K @ v_233_db7dc9b….js:2
 
 
 
Uncaught ReferenceError: grayscale is not defined  36-beowulf-9780292707719.html:259 
    at HTMLImageElement.<anonymous> (36-beowulf-9780292707719.html:259)
    at Function.each (v_233_db7dc9b….js:2)
    at e.fn.init.each (v_233_db7dc9b….js:2)
    at 36-beowulf-9780292707719.html:257
    at dispatch (v_233_db7dc9b….js:3)
    at r.handle (v_233_db7dc9b….js:3)
 
Would either of these cause the problem?
Link to comment
Share on other sites

  • 4 weeks later...

Mine was a conflict between the two modules as well, but I got them both working. Did you change any of the script in the loyalty module to get the message to appear properly on the product page?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...