Use custom hook in html box pro module
in this case you will have to create custom hook, instructions below:1) go to html box pro configuration page
2) create new hook named "displayAboveFooter"
3) create new block with your contents inside this hook
4) go to theme file: /themes/your-theme/footer.tpl
5) add there shortcode to run your hook:
{hook::exec('displayAboveFooter')}
insert shortcode above code:
{hook::exec('displayAboveFooter')} {if isset($HOOK_FOOTER)} <!-- Footer --> <div class="footer-container"> <footer id="footer" class="container"> <div class="row">{$HOOK_FOOTER}</div> </footer> </div><!-- #footer --> {/if}
6) if after changes you dont see the text on your shop front office - it will be necessary to clear shop cache
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6uoduTzLV7PCtS6ekPWyQfImMMK7tVDm1WpMavGT50akOVrmyHZqYQXu9xfmn1MhlTB8dvx86J_xsFSiYU_Ytw2aWIDeK278LjgxbWSYbIoIn8YTVQayne8mgAKjwkzHUPL7H9rDaH2o/s1600/custom-contents-prestashop-module.png)
0 comments:
Post a Comment