Post by mophielle » Fri Nov 06, 2015 3:14 am

Hello i created a code for Mail Chimp Popup, does anybody know where to place it, that it will show up at start page ? Have customised theme..not default. This is the script.
<script type="text/javascript" src="//s3.amazonaws.com/downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us8.list-manage.com","uuid":"d18c9c18b5fb7c5j3c043f3f3","lid":"638bd67i26"}) })</script>

New member

Posts

Joined
Wed Jun 03, 2015 2:33 am

Post by Johnathan » Fri Nov 06, 2015 3:17 am

Try placing it in your theme's footer.tpl file:

/catalog/view/YOURTHEME/default/template/common/footer.tpl

If it's set to automatically appear when that code is loaded, then it should appear automatically when the customer visits the page. If it's coded to appear *every* time that code is loaded, then you probably only want it on the home page. For that, you'd add it to this template file:

/catalog/view/theme/YOURTHEME/template/common/home.tpl

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by mophielle » Fri Nov 06, 2015 3:29 am

Thank you, it worked out :-) i was thinking about home.tpl but then didn´t made it. Happy ! :-D

New member

Posts

Joined
Wed Jun 03, 2015 2:33 am
Who is online

Users browsing this forum: No registered users and 13 guests