Layout & Styles

All styles use the same JavaScript logic. Only CSS differs between styles. Popup templates: cookie_consent_popup.twig Bar templates: cookie_consent_bar.twig

Supported Tracking Libraries

The extension updates consent signals only if the corresponding global functions exist. Supported libraries: gtag Used by: fbq Used by: clarity Used by:

Settings

Location: Extensions → Extensions → Modules → Cookie Consent Available Settings Status Enable or disable the module. Cookie Policy Link Select the OpenCart Information page that contains your Cookie Policy. The consent popup will automatically be hidden on this page. Template / Style Choose how the consent interface appears. Available styles: Popup: Bar:

Google Consent Mode v2 Setup (Important)

To ensure proper compliance, define the default consent state before loading Google tracking scripts. Add the following script BEFORE your Google Analytics or Google Tag Manager script: <script>window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag(‘consent’, ‘default’, {‘ad_storage’: ‘denied’,’ad_user_data’: ‘denied’,’ad_personalization’: ‘denied’,’analytics_storage’: ‘denied’});</script> This ensures optional cookies remain disabled until the visitor gives consent.

Cookie Categories Explained

Necessary Cookies Always enabled. These cookies are required for website functionality such as: Analytics Cookies Used for website performance measurement. Examples: Marketing Cookies Used for advertising and remarketing. Examples:

XML Sitemap + IndexNow – 403 Error on TXT File (Fix Guide)

Some OpenCart users may face a 403 Forbidden error when accessing the verification .txt file used by IndexNow or search engine validation. This usually happens due to restrictive rules inside the .htaccess file that block direct access to .txt files. This guide explains the issue and the exact fix. Why This Happens Many OpenCart installations […]

Changelog — v3.5.6 to v3.6.0

Version 3.6.0 is a major release. Below is a complete list of new features, enhancements, and fixes compared to version 3.5.6. ✅ Upgrading from v3.5.6? Your existing settings and custom links are fully preserved. No manual database changes are needed. New Features IndexNow Integration (Entirely New) AI JSON Feed (Entirely New) Static File Cache (New […]

Best Strategy for Settings

This page provides recommended configurations for different store types and use cases. For a New / Small Store (< 500 Products) Setting Recommended Reason Enable Extension ✅ On Essential Product Sitemap ✅ On Core requirement Category Sitemap ✅ On Core requirement Manufacturer Sitemap If you have brands Adds brand pages Information Sitemap ✅ On Covers […]

AI Feed — The Future of SEO

The AI JSON Feed feature is forward-looking. To understand why it matters, you need to understand how AI is fundamentally changing the way people search — and therefore how businesses need to present their information online. How AI is Changing Search For decades, search worked the same way: type keywords, get a list of blue […]

What is IndexNow? A Complete Guide

IndexNow is an open protocol developed by Microsoft (Bing) and Yandex that allows website owners to instantly notify participating search engines when content is added, updated, or deleted. Instead of waiting days or weeks for a search engine’s crawler to discover changes, IndexNow delivers that information in near-real-time. The Problem IndexNow Solves Traditional web crawling […]