JustReview Knowledge Base

Mateusz Haber
Written by Mateusz Haber

PrestaShop - Code Embed Instruction

The instruction shows how to embed the JustReview code in PrestaShop 1.7 using the JustReview Testimonial widget example.


1.Create your widget in widget creator, then click "Generate code for your website".


2. Edit Your PrestaShop 1.7 footer.tpl and head.tpl files at localizations:

httpdocs/themes/{your_theme}/templates/_partials/footer.tpl

httpdocs/themes/{your_theme}/templates/_partials/head.tpl

and add 1. and 2. part of code at end of files.

If you add more than one widget, 1. part of code you paste only once.

footer.tpl:

head.tpl:


3.In the place (for example in index.tpl) where you want to show the widget, just paste 3. part of the embed code.



IMPORTANT INFO: Remember that your website address should be consistent with the domain whitelist settings.

Categories: