Skip to main content

Installatiegids

Installeer de ontbindingsknop op OpenCart

Voor OpenCart 4 is er een Clawzia-extensie met een instellingenpagina; voor OpenCart 3 een OCMOD-modificatie. Vraag ons om het pakket dat bij je winkel past.

Voordat je begint

  1. Create your shop in Clawzia

    Sign up with your email address, create the shop, choose its country and default language and enter the email address that receives withdrawal notifications.

  2. Allow your shop’s domains

    Add every domain your shop runs on to the allowed domains, for example with and without www and the platform address of your shop. On other domains the widget only shows a link to the hosted form, with the EU directive’s wording in English.

  3. Copy your code

    Copy the code from the Install page of your dashboard (for the plugins, only the public key, which starts with pk_). The public key is not a secret.

OpenCart 4: de Clawzia-extensieRecommended

Hernoem het pakket clawzia.ocmod.zip niet: OpenCart 4 gebruikt de bestandsnaam als extensiecode, dus een hernoemd bestand (bijvoorbeeld na een tweede download) werkt niet.
  1. Upload de extensie

    Upload het pakket en klik daarna in de lijst eronder op de groene knop Installeren van “Clawzia Withdrawal Button”.

    Where: Extensions → Installer → Upload → clawzia.ocmod.zip

    Screenshot follows: Extensions → Installer met het geüploade pakket.

  2. Installeer de module

    Kies het type Modules en installeer “Clawzia Withdrawal Button” met de groene +-knop.

    Where: Extensions → Extensions → type Modules

    Screenshot follows: De lijst met modules met het item van Clawzia.

  3. Vul je publieke sleutel in

    Open de moduleinstellingen met de blauwe potloodknop, plak je publieke sleutel, zet Status aan en sla op.

    Screenshot follows: De instellingenpagina van Clawzia.

  4. Controleer de installatie

    Klik op Installatie controleren. De statuskaart toont je webshop, het land, de tekst van de link en of de tekst is geverifieerd, en controleert of het widgetbestand kan worden gedownload.

  5. Verschijnt er niets?

    Controleer of de event clawzia_footer is ingeschakeld en vernieuw daarna de themacache.

    Where: Extensions → Events; themacache: Dashboard → tandwielpictogram (Developer Settings) → Theme → Refresh

OpenCart 3: de OCMOD-modificatieAlternative

OpenCart 3 heeft geen instellingenpagina voor Clawzia: je zet je publieke sleutel in het bestand voordat je het installeert.
  1. Zet je publieke sleutel in het bestand

    Pak clawzia-opencart3.ocmod.zip uit, open install.xml in een gewone teksteditor en vervang CLAWZIA_PUBLIC_KEY door je publieke sleutel (houd de aanhalingstekens). Zip install.xml opnieuw, op het hoogste niveau van de ZIP, met een naam die eindigt op .ocmod.zip.

    Screenshot follows: De aangepaste regel in install.xml.

  2. Upload de modificatie

    Upload het ZIP-bestand.

    Where: Extensions → Installer → Upload

  3. Vernieuw de modificaties

    Vernieuw de modificaties en, als de themacache aanstaat, ook de themacache.

    Where: Extensions → Modifications → Refresh

    Screenshot follows: Extensions → Modifications → Refresh.

Good to know

  • Thema’s waarvan de footertemplate geen afsluitende body-tag heeft, worden overgeslagen: voeg {{ clawzia_snippet }} dan met de hand toe vóór </body> in die template.
  • Installeer de modificatie maar één keer en niet samen met een kopie in de map system: bij twee kopieën wordt de code twee keer afgedrukt.

Controleer de installatie

  1. Open your shop in a private window

    The withdrawal link appears at the end of your footer, or as a floating button, depending on the position you chose in the dashboard.

  2. Try it with the keyboard

    Press Tab until the link is focused, then Enter: the two-step withdrawal form opens. Close it with Esc.

  3. Check that the code is there once

    View the page source and search for data-shop="pk_. The script tag should appear exactly once per page.

  4. Send a test withdrawal

    Send a withdrawal with your own email address and the order reference TEST. Check the confirmation email and its receipt link, then close the request in your dashboard.

  5. If the link does not appear

    If your site sends a Content Security Policy, allow https://clawzia.com in script-src and connect-src. Exclude widget.js from script combining, minifying and “delay JavaScript” features of optimisation plugins and CDNs.

Klaar om te installeren?

Maak je webshop aan om je publieke sleutel te krijgen en volg daarna de stappen hierboven.