Hi,
How can I add a javascript only to products ?
We need to get some data for every user visits a product page.
Hi,
How can I add a javascript only to products ?
We need to get some data for every user visits a product page.
Hi,
How can I add a javascript only to products ?
We need to get some data for every user visits a product page.
You can create a HTML block on Products layout location (Design > Layout page in the admin panel) and add the code to this block. You may need to disable the wysiwyg editor before adding the code to the block.
As alternative, you can use the My changes module and the following file:
design/themes/YOUR_THEME/templates/addons/my_changes/hooks/products/layout_content.post.tpl