PrestaShop no get back-office field for site-wide scripts. The clean way na child theme: e go add the embed code to the main layout and e go survive updates of the parent theme. This guide na for people wey sabi work with theme files.
Copy the embed code
In Notiamo, open Workspaces, then the workspace, then the project. For the Embed code card, press the copy button. The line look like this:
<script src="https://my.notiamo.com/widget.js" data-site="pk_…" defer></script>
Check say the address of the shop dey inside Allowed origins for the same page. More for Install the widget.
Create the child theme
- Create child theme of your current theme, as the PrestaShop guide describe am: one folder inside
/themes/withconfig/theme.yml(wey name the parent) andpreview.png. - Inside the child theme, create
templates/layouts/layout-both-columns.tplwith this content and your own key:
{extends file='parent:layouts/layout-both-columns.tpl'}
{block name='hook_before_body_closing_tag'}
{$smarty.block.parent}
<script src="https://my.notiamo.com/widget.js" data-site="pk_…" defer></script>
{/block}
The Classic and Hummingbird themes both get this layout and this block, just before </body>. Their other main layouts (full width, left column, content only) dey extend am. Checkout and error pages dey use separate layouts, so the review button no go show there. If your theme different, look for its main layout file.
Activate it and clear the cache
- For the back office, go Design > Theme & Logo, click Add new theme and upload the child theme as .zip file.
- Select am and click Use this theme.
- For Advanced Parameters > Performance, click Clear cache.
Check that it works
Open the shop with ?notiamo=1 for the end of the address. The review button go show for bottom right. If e no show, see Fix common problems.
Platform docs
- PrestaShop 9 developer docs: Creating a child theme (for English)
- PrestaShop 9 developer docs: Theme quick start (activate the theme) (for English)
- PrestaShop 8 user guide: Performance (clear cache) (for English)
We check the steps against the official documentation on 15 Ọktóba 2026. Menus dey change: if yours look different, follow the official page.