Skip to main content
Version: v1.5.2

PrestaShop

In this section, we will provide detailed instructions for integrating Lawwwing into your PrestaShop website.

info

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

  1. 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>
caution

This code is just an example; you will find your own within your control panel.

  1. Paste and add the Lawwwing code.

  2. Save the changes in the file.

caution

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 🚀

More Information

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 🙂