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>
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
/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
Who is online
Users browsing this forum: No registered users and 13 guests