Jump to content

Javascript not running on Product page


Recommended Posts

Hi,
I have an issue where it seems java is not running on my product pages.
On the home page, categories page, any other page. I can use my drop down menu, facebook plug in, image zoom, etc...
But on product page, nothing java wants to work, no drop down menu, no zoom, no facebook plug in.

Has anyone got any idea what is going on?
It's as if it just doesn't want to run on that page, I have tried disabling modules not in use on page.

Thanks in advance.

Link to comment
Share on other sites

please share url to your website

problems like that need inspection of shop

Hey, thanks for the reply.

here is the site: http://www.musicwarehouse.co.uk/

If you go to Hot Products at the top and select a product, you will notice the java does not run on that page but is working on homepage. I noticed it also doesn't run on my account page and some other random ones, guessing they all have the problem error.

Link to comment
Share on other sites

please disable CCC for js files (advanced preferences > performance)

at the momentit's not possible to verify code beacause js files are minified.

Okay, two seconds and it'll be disabled. Thanks again.

 

EDIT: I have now disabled compress inline java in html, is this correct one?

Edited by benji86 (see edit history)
Link to comment
Share on other sites

Hey, sorry!! AGAIN!!
I have googled a few phrases and worked out how to disable jqzoom.
I have done it and now the java works on the products page!!

Should I just keep thickbox instead of jqzoom?
Or is there a fix for jqzoom?
Thanks again.

Link to comment
Share on other sites

  • 2 months later...

Hello,

 

I have the following problem regarding this issue with my PS 1.6.0.9:

 

The Java applications such as dropdown horizontal menu, image thickbox, add product comment are not running on product pages of products that have product combinations assigned.

 

This problem only applies for products that have product combinations (in this case sizes) assigned! On product pages of products that do not have product combinations everything works fine!

 

URL: www.funky-dogs.com

 

Product WITH product combination:
http://www.funky-dogs.com/hondenhalsbanden/150-halsband-hond-oilcoated-laminated-que-chula.html

Product WITHOUT product combination:
http://www.funky-dogs.com/led-halsbanden-riemen/81-led-hondenriem-geel.html

 

Please help!

Thanks.

Link to comment
Share on other sites

@ El Patron,

 

Thanks for your quick response and time!

 

I experienced some difficulties with the solution mentioned in your reply but it did remind me that I earlier had a bug with a PS 1.6.0.6 regarding the product.js, productcontroller.php and product.tpl code.

 

So I tried the fix I applied earlier (see link below) on the 1.6.0.6 shop and the problem is solved now!

https://github.com/PrestaShop/PrestaShop/commit/75692e60d3ed91f7fa9fffaa89c668de5f81db81

 

Thanks a lot!  :D

  • Like 1
Link to comment
Share on other sites

@ El Patron,

 

Thanks for your quick response and time!

 

I experienced some difficulties with the solution mentioned in your reply but it did remind me that I earlier had a bug with a PS 1.6.0.6 regarding the product.js, productcontroller.php and product.tpl code.

 

So I tried the fix I applied earlier (see link below) on the 1.6.0.6 shop and the problem is solved now!

https://github.com/PrestaShop/PrestaShop/commit/75692e60d3ed91f7fa9fffaa89c668de5f81db81

 

Thanks a lot!  :D

 

Very good!...please visit often and help others with your experience.

Link to comment
Share on other sites

  • 1 year later...

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...