Jump to content

Display of product page on mobile theme and javascript


Recommended Posts

Hi,

My active shop ins built under Prestashop 1.4.7.0.

I am currently working for upgrading to1.5.6.0.

For some reasons, I have to put a javascript line in the product long description.

Such code does not lead to any problem neither in Prestashop 1.4.7.0 nor in 1.5.6.0, apart from the mobile 1.5 theme.
Under the mobile theme :
- the whole product page is blank apart from the only part of the page (one single text line) coded by the javascript code.


As some additional pieces of information, I can add that :
- In Control panel > Advanced parameters, I checked :
    - Smart cache for javascript code : Keep the classic way
    - javascript compression in html : Keep the classic way
- when I add the same javascript line, in the short description (instead of the long description) everything displays properly on the product page.

Have you got any idea to solve the matter ?

Thank you in advance for any help.

Patrick



 

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