| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Help with adding a popup | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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
__________________
4.7 stock |
|||||||
#2
|
|||||||||
|
|||||||||
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. |
|||||||||
|
#3
|
|||||||
|
|||||||
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.
__________________
4.7 stock |
|||||||
#4
|
|||||||||
|
|||||||||
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. |
|||||||||
#5
|
|||||||
|
|||||||
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 !
__________________
4.7 stock |
|||||||
#6
|
|||||||
|
|||||||
Re: Help with adding a popup
Hi,
As @cherie has said: - Quote:
Code:
You should also Clear templates/X-Cart cache Hope that helps? Regards ITVV
__________________
X-Cart Pro 4.7.12 Active and working great with reBOOT-reDUX X-Cart Pro 4.6.6 Retired after 6 years of first class service X-Cart Pro 4.1.7 Retired after 9 years of first class service Apache: 2.4.25 PHP: 7.4.5 MariaDB: 10.1.44 Arch: x86_64 |
|||||||
|
#7
|
|||||||||
|
|||||||||
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. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|