Help with adding a popup
Hi all ! I am not much of a web novice even but I am being asked by my spouse to add a mail chimp thing to the home page to offer people to sign up for something. #1 I can deal with html to a point but i am php and tpl illiterate and not afraid to say it. I desperately need to know how to add this below the gift certificate area on the main page on the light responsive. The website is https://www.theholebeadshoppe.com
I am using xcart 4.7.6 and this is the code i need to add. <script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/unique-methods/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">window.dojoRequire(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us14.list-manage.com","uuid":"ed906e5402740758e41929914","lid":"20745c 9c20","uniqueMethods":true}) })</script> Thanks so much for any and all help ! Mike |
Re: Help with adding a popup
You should be able to plop that at the bottom of light_responsive/customer/main/welcome.tpl
Also consider upgrading to 4.7.10. Lots of MailChimp improvements have been made among other important updates. |
Re: Help with adding a popup
Thanks so much Cherie I will go try that right now. As for upgrading the cart i have never had the ability (skill wise) to do that. Thanks tho I will see if i can come up with the cash to upgrade eventually.
|
Re: Help with adding a popup
Maybe this article will help you with the upgrade:
https://help.x-cart.com/index.php?title=X-Cart:Upgrading There are also some good forum threads that should also point you in the right direction. |
Re: Help with adding a popup
Unfortunately when i pasted the above before the bottom of the file right before the </div> of the main body not the last sets ... the site is non responsive. it loads but displays nothing at all on the screen. Any other place that might have a "head" or is purely html? I am php lost and its driving me nuts. Thanks again !
|
Re: Help with adding a popup
Hi,
As @cherie has said: - Quote:
Code:
{literal} You should also Clear templates/X-Cart cache Hope that helps? Regards ITVV |
Re: Help with adding a popup
Yep, this code requires literal tags around it.
Anytime you get a white screen check the log messages in var/log for the cause. |
All times are GMT -8. The time now is 09:52 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.