Installatiegids
Installeer de herroepingsknop 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 uw winkel past.
Voordat u begint
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.
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.
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
clawzia.ocmod.zip niet: OpenCart 4 gebruikt de bestandsnaam als extensiecode, dus een hernoemd bestand (bijvoorbeeld na een tweede download) werkt niet.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.zipScreenshot follows: Extensions → Installer met het geüploade pakket.
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.
Vul uw publieke sleutel in
Open de moduleinstellingen met de blauwe potloodknop, plak uw publieke sleutel, zet Status aan en sla op.
Screenshot follows: De instellingenpagina van Clawzia.
Controleer de installatie
Klik op Installatie controleren. De statuskaart toont uw webshop, het land, de tekst van de link en of de tekst is geverifieerd, en controleert of het widgetbestand kan worden gedownload.
Verschijnt er niets?
Controleer of de event
clawzia_footeris ingeschakeld en vernieuw daarna de themacache.Where: Extensions → Events; themacache: Dashboard → tandwielpictogram (Developer Settings) → Theme → Refresh
OpenCart 3: de OCMOD-modificatieAlternative
Zet uw publieke sleutel in het bestand
Pak
clawzia-opencart3.ocmod.zipuit, openinstall.xmlin een gewone teksteditor en vervangCLAWZIA_PUBLIC_KEYdoor uw publieke sleutel (houd de aanhalingstekens). Zipinstall.xmlopnieuw, op het hoogste niveau van de ZIP, met een naam die eindigt op.ocmod.zip.Screenshot follows: De aangepaste regel in install.xml.
Upload de modificatie
Upload het ZIP-bestand.
Where: Extensions → Installer → Upload
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
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.
Try it with the keyboard
Press Tab until the link is focused, then Enter: the two-step withdrawal form opens. Close it with Esc.
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.
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.
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.