ialhamdazeez 0 Posted October 6, 2019 I have a question on how prestashop works with adding js or css the head. I have programmed a module. my module register hook Header, create a js file, then add it to the header. But when I want to remove the js file from the header, my module just delete the file from the server. Is it a good approach ? or should I use removeJS? In orther word. When calling addJS method is the change permenant or temporary? Share this post Link to post Share on other sites
Nishith 69 Posted October 7, 2019 Hi.. Here is documentation https://devdocs.prestashop.com/1.7/themes/getting-started/asset-management/ Share this post Link to post Share on other sites