Answer the question
In order to leave comments, you need to log in
How to add a script to Magento?
Tell me, how to add the online consultant button code in Magento (for example)?
Answer the question
In order to leave comments, you need to log in
You can try it through "Different scripts" (Configuration -> Design -> various scripts and insert code).
I made it easier - through the script in the template in the "footer" of the main page ... The results will be the same, I think.
<?xml version="1.0"?>
<layout>
<default>
<reference name="head">
<action method="addJs"><script>js/consultant.js</script></action>
<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
</reference>
</default>
</layout>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question