If you are reading this article you might have thought of using raw HTML inside any PrestaShop hook or pages. If you have a website, you might need custom HTML injection in the PrestaShop for better appearance.
You may think of adding a table or an H1 tag to display anything for better customization. Also, you want to do some actions with the HTML contents. But usually in PrestaShop does not allow you to do this. To write a custom HTML and JS code you need to go to the theme folders and .tpl files which is very risky to change. Because it may hamper your contents in the front end panel. Also to know which file to edit is a big problem though you are a developer.
Step 2 – Search ‘raw’
Once you add one of the elements, you will see an edit window with the option to insert your code into a markup supportive text-area. The code will be instantly rendered on the Frontend editor of the Visual Composer.
After that just put your desired code there. Done! You will see the output in the front. Here is an example of putting JS code.