| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Javascript Applications | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Javascript Applications
I have a few applications that I would like to run that are javascript. In the past I have edited the footer twig and added the code directly. However this has to be reapplied every time there is an update to X-Cart. Is it possible to add a 3rd party script somewhere that will run on every page, that isn't a custom module, and doesn't have to be reapplied every time the site is updated? The script I'm trying to run is a 3rd party help chat system. I've also tried applying the script directly to the custom javascript section but the code doesn't run.
Any ideas? Thanks, X-Cart 5.3.2.8 running on Windows
__________________
David X-Cart Business 5.3.2.2 |
|||||||
#2
|
|||||||
|
|||||||
Re: Javascript Applications
Actually I just got it working in the custom javascript section by removing the beginning and end tags as copied below.
<!--Start of Tawk.to Script--> <script type="text/javascript"> </script> <!--End of Tawk.to Script-->
__________________
David X-Cart Business 5.3.2.2 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Javascript Applications
You can use Theme Tweaker to adjust templates so that upgrades don't overwrite your changes:
http://devs.x-cart.com/en/how-to_articles/how_to_add_google_tag_manager_code_snippets_to_the _store_pages.html However, after every upgrade you should test if the changes still work with the new X-Cart version and don't conflict with the modifications it has introduced.
__________________
Alex Solovev, Qualiteam --- User manual Video tutorials X-Cart FAQ You are welcome to press "Thanks" button if you find this post useful Click here to learn how to apply patches X-Cart Extensions |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|