| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Custom JS not loading | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi, we have X-Cart 5.4.1.49 with Theme tweaker 4.5. I followed https://developer.x-cart.com/5.4/design_changes/adding_custom_javascript_code_to_the_page#custom-js-code-for-every-page
but the script I put in the custom JS code area (admin panel -> Look and feel -> Custom CSS and Custom JS -> Custom JS) doesn't show in the store. What did I do wrong here?
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Did you try rebuilding the store/cache?
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Quote:
Yes, it still doesn't load. On the other hand, if I create a twig template under themetweaker, it loads. However, it turned out that my JS code wouldn't run in line anyway, so I needed to use the method getJSfile in a view class. But, if there is admin page for adding custom java script code, the java script added via the page should load...
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|