patrmich Posted September 16, 2019 Share Posted September 16, 2019 (edited) Hello, I am using Prestashop 1.5.6.2. I would to do the following :- load a specific javascript in the header of all (front end) pages, apart from the product pages - load a different javascript in the header of the product pages Would you have any idea to do that ? I thank you in advance for any reply. Patrick Edited September 24, 2019 by patrmich (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted September 18, 2019 Share Posted September 18, 2019 In header.tpl, you can use a conditional like this {if $page_name =='product'} // your javascript {else} // the other code {/if} Link to comment Share on other sites More sharing options...
patrmich Posted September 24, 2019 Author Share Posted September 24, 2019 Thank you very much NemoPS for your reply. Patrick 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