Deepak Palreddy Posted July 10, 2014 Share Posted July 10, 2014 (edited) Hi, Why all the tpl files javascript code is merged into one script tag in Prestashop reviver theme..? Is it possible to divide the whole code into separate individual javascript tags..? Edited July 11, 2014 by Deepak Palreddy (see edit history) Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted July 10, 2014 Share Posted July 10, 2014 What theme are you using? Marty Shue Link to comment Share on other sites More sharing options...
Deepak Palreddy Posted July 11, 2014 Author Share Posted July 11, 2014 Hello , We are using prestashop reviver theme. http://inthe7heaven.com/preview/?theme=Reviver%20Prestashop Link to comment Share on other sites More sharing options...
Carolina Custom Designs Posted July 11, 2014 Share Posted July 11, 2014 My best advice is to contact the theme developer with your question. They will know better than anyone how to properly answer your question. Marty Shue Link to comment Share on other sites More sharing options...
vekia Posted July 11, 2014 Share Posted July 11, 2014 im affraid that it's not a case of theme but fact that new prestashop moves all js files to the bottom of the page Link to comment Share on other sites More sharing options...
Deepak Palreddy Posted July 12, 2014 Author Share Posted July 12, 2014 What is the solution or work around for it...? Link to comment Share on other sites More sharing options...
El Patron Posted July 12, 2014 Share Posted July 12, 2014 What is the solution or work around for it...? what is your version of PrestaShop? Link to comment Share on other sites More sharing options...
Deepak Palreddy Posted July 12, 2014 Author Share Posted July 12, 2014 Prestashop 1.6.0.5... Link to comment Share on other sites More sharing options...
El Patron Posted July 12, 2014 Share Posted July 12, 2014 Prestashop 1.6.0.5... this version forces (without option) to load all javascript bottom. This will break non-compliant themes. you would need to upgrade to latest version, where javascript is loaded top with option to load javascript bottom. Link to comment Share on other sites More sharing options...
Recommended Posts