PrestaShop
In this section, we will provide detailed instructions for integrating Lawwwing into your PrestaShop website.
To follow this guide, you will need access to the files of your PrestaShop installation.
Step 1: Edit your template's head.tpl
You need to find out where your current template has the head configured. It is usually located in a path similar to this:
/themes/<your_theme_name>/templates/_partials/head.tpl
Step 2: Add the Lawwwing code
- Copy the code snippet you will find in the installation section of your Lawwwing dashboard
<!-- Lawwwing plugin for https://your-web.com -->
<script src="https://cdn.lawwwing.com/widgets/current/<your-client-id>/cookie-widget.min.js" type="text/javascript" data-lwid="<your-client-id>"></script>
This code is just an example; you will find your own within your control panel.
-
Paste and add the Lawwwing code.
-
Save the changes in the file.
Whenever you edit a .tpl file, you need to force compilation in Preferences > Performance to reflect your changes.
🚀 That's it! Lawwwing is now active on your website 🚀
For more details on how to make the most of Lawwwing in PrestaShop, visit our Configuration section.
If you need additional assistance or have questions, feel free to contact us, and we will be happy to help you 🙂