Steps

  1. Go to our Free Cookie Consent Solution page to create the Cookie Consent code necessary to show the notice banner on your OpenCart website.

  2. Find your OpenCart folder. In our case it's "termsfeed."

    Inside the OpenCart folders, find the footer.twig file.

    In our example here, we host OpenCart on a Windows machine. As such, we open the Catalog > View > Template > Common folder to get to the footer.twig file.

    You can use Notepad++ or Visual Studio to open the twig file(s).

    TermsFeed OpenCart - Folders - Theme - Catalog - View - Template - Common - footer.twig file selected

  3. Open the footer.twig file:

    TermsFeed OpenCart - Folders - Theme - Catalog - View - Template - Common - footer.twig file selected - Open

  4. Scroll down to the </body> (end of the body tag):

    TermsFeed OpenCart - Folders - Theme - footer.twig file - Opened - end of the body tag selected

  5. Paste the generated Cookie Consent banner notice code in the footer.twig file:

    TermsFeed OpenCart - Folders - Theme - footer.twig file - Opened - end of the body tag selected - Paste the generated Cookie Consent code

  6. Go to File and click Save:

    TermsFeed OpenCart - Folders - Theme - footer.twig file - Opened - end of the body tag selected - Paste the generated Cookie Consent code - Save

  7. Reload the displayed page of your OpenCart store website:

    TermsFeed OpenCart - store displayed - reload

  8. The Free Cookie Consent Notice Banner is displayed on your OpenCart store website:

    TermsFeed OpenCart - store displayed - reloaded - The Free Cookie Consent Notice Banner shows