View Single Post
  #3  
Old 01-25-2025, 02:21 AM
 
Ed B. Ed B. is offline
 

X-Adept
  
Join Date: Apr 2016
Posts: 460
 

Default Re: Custom JS not loading

Quote:
Originally Posted by pauldodman
Did you try rebuilding the store/cache?




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
Reply With Quote