Jump to content

HELP on CMS


Recommended Posts

I just tried adding Javascript to the delivery page on my test site and it works. I added the following at the top in HTML view:

<script type="text/javascript">alert('Test');</script>



And when I clicked Save, it converted it to the following:



<script type="text/javascript">// <![CDATA[
alert('Test');
// ]]></script>



When I went to my delivery page, it displayed an alert saying "Test" as expected. If this doesn't work for you, I guess you'll have to completely upgrade to PrestaShop v1.3.1, or put the Javascript in TPL files instead.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...