EN005 - Load Javascript and CSS in PrestaShop Module | PrestaShop Module Tutorial in English

preview_player
Показать описание

In the 5th video of PrestaShop module development tutorial, you will learn how you can load jQuery and other javascript files and stylesheet files to your PrestaShop module.

Рекомендации по теме
Комментарии
Автор

Hi, Thank you very much for this tutorial. It seems that addCSS is deprecated in version 1.7, we have to use registerStylesheet instead of.
For my part, the css and js files are not loaded if I put the addCSS or addJS in the function hookHeader but it's ok it I put them in HookDisplayHome.
Do you have any idea?

laurentbarbeau
Автор

sir i have one doubt.i have a string ' hi' in my the file. when refresh front office its show hi...but I change the string into something .the last hi not changed.

nishanthanr
join shbcf.ru