mproject3000 Posted February 6, 2017 Share Posted February 6, 2017 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 More sharing options...
mproject3000 Posted February 7, 2017 Author Share Posted February 7, 2017 UP! Thank you Link to comment Share on other sites More sharing options...
mproject3000 Posted February 8, 2017 Author Share Posted February 8, 2017 someone to help? Link to comment Share on other sites More sharing options...
mproject3000 Posted February 8, 2017 Author Share Posted February 8, 2017 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 possibleObviously, if we sell in euros = no problem, but if we use other currencies it becomes botheringIf you have an idea how to fix it, do not hesitate ..Thank you !! Link to comment Share on other sites More sharing options...
Siff Posted February 12, 2017 Share Posted February 12, 2017 (edited) Any luck with this? I am having the same problem with the #new_comment_form after the URL Edited February 12, 2017 by Siff (see edit history) Link to comment Share on other sites More sharing options...
DataKick Posted February 12, 2017 Share Posted February 12, 2017 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 More sharing options...
Siff Posted February 12, 2017 Share Posted February 12, 2017 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 More sharing options...
DataKick Posted February 13, 2017 Share Posted February 13, 2017 It's very likely. Your script needs to perform some initialization during page load. However because of error thrown by other module this init routine is never called. You should definitely fix both errors. Link to comment Share on other sites More sharing options...
mproject3000 Posted March 11, 2017 Author Share Posted March 11, 2017 In my case I desactivated the loyalty module and don't have this problem anymore. There must be a conflict with one of the Prestashop modules Link to comment Share on other sites More sharing options...
Siff Posted March 11, 2017 Share Posted March 11, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now