X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   McAffee Secure Site help por favor... (https://forum.x-cart.com/showthread.php?t=76330)

KevTheIrish 06-14-2018 05:45 PM

McAffee Secure Site help por favor...
 
So in order to get the Mcaffee SecureSite banner (ie on google), they want me to add this code:
Code:

<script type="text/javascript" src="https://blahblahblah.js" async></script>
to EVERY page...

With my old cart I could bury it in the footer.tpl which would efffective show it on "every" page
Where is the safest place to add this code to?

mcupka 06-15-2018 06:59 AM

Re: McAffee Secure Site help por favor...
 
https://devs.x-cart.com/design_changes/working_with_footer.html

KevTheIrish 06-15-2018 08:03 AM

Re: McAffee Secure Site help por favor...
 
Thanks, but I was just trying to see if this was actually the best place for it, or if there is somewhere else someone would suggest

mcupka 06-15-2018 08:42 AM

Re: McAffee Secure Site help por favor...
 
It should be in the footer. I would usually wrap it in {literal} tags, but not sure with XC5. But it should still definitely be in the footer before and </body> tag.

tony_sologubov 06-25-2018 04:11 AM

Re: McAffee Secure Site help por favor...
 
@KevTheIrish

Just try to install the module from the article and put your code instead of code of the image. It should be working fine.


All times are GMT -8. The time now is 08:48 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.