0

Does anyone know why this is not being rendered (saved in the local.xml of my custom theme)?

The location of the local.xml is app/design/frontend/mobile/XX/layout/local.xml

and the content is

<catalog_product_view>
    <reference name="body">
        <action method="addJs"><script>varien/product.js</script></action>
        <action method="addJs"><script>varien/product_options.js</script></action>
    </reference>
</catalog_product_view>

The location of the js files is ./js/varien/

Thanks for your tips on that.

0

Solved. Changed <reference name="body"> to <reference name="head"> :)

  • Accept your answer. – Jai May 18 '18 at 12:37
  • I cannot accept my answer in two days – Julian Murillo May 18 '18 at 13:21
  • Yes and you can do after two days. – Jai May 18 '18 at 13:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.