Page 1 of 1

Mail Chimp Popup Integration

Posted: Fri Nov 06, 2015 3:14 am
by mophielle
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>

Re: Mail Chimp Popup Integration

Posted: Fri Nov 06, 2015 3:17 am
by Johnathan
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

Re: Mail Chimp Popup Integration

Posted: Fri Nov 06, 2015 3:29 am
by mophielle
Thank you, it worked out :-) i was thinking about home.tpl but then didn“t made it. Happy ! :-D