Jump to content

Adding Javascript to Prestashop?


Recommended Posts

Hi,

I used to have several Javascript codes on my 1.1 Prestashop store. Since the upgrade to 1.2, most of them are unable to show up. The ones that don't show up all have a variable in it (var). I'm not really proficient in Javascript, so can anyone help me out with restoration and stuff? I got most of them to work except for a RSS Feeds Displayer.

Thanks in advance for any help!

EDIT: I also tried using the Add Stuff module, it doesn't work either.

Link to comment
Share on other sites

So I've tried the following to no avail:


- added {literal} {/literal} tags to see if it was being parsed by Smarty


- put my JS in an external document and called them


- hosted all of my JS on a remote server

 



I have no idea what's going on and why none of those solutions work. Right now I'm using Flash and XML as a temporary solution, but I dislike it because it's not very flexible. Let me know if anyone can help.

Link to comment
Share on other sites

  • 2 weeks later...

Hi!
I had the same problem and I found the solution.
Go in the back office in preferences menu and go at the bottom of the page.
There should have "v1.1 theme compatibility" on "no". Just turn it to "yes" and you theme should works again.
have fun

Sapher

Link to comment
Share on other sites

×
×
  • Create New...