Installationsguide
Installera ångerknappen i OpenCart
För OpenCart 4 finns ett Clawzia-tillägg med en inställningssida; för OpenCart 3 en OCMOD-modifiering. Be oss om paketet som passar din butik.
Innan du börjar
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: Clawzia-tilläggetRecommended
clawzia.ocmod.zip: OpenCart 4 använder filnamnet som tilläggets kod, så en omdöpt fil (till exempel efter en andra nedladdning) fungerar inte.Ladda upp tillägget
Ladda upp paketet och klicka sedan på den gröna knappen Install för ”Clawzia Withdrawal Button” i listan nedanför.
Where: Extensions → Installer → Upload →
clawzia.ocmod.zipScreenshot follows: Extensions → Installer med det uppladdade paketet.
Installera modulen
Välj typen Modules och installera ”Clawzia Withdrawal Button” med den gröna +-knappen.
Where: Extensions → Extensions → typ Modules
Screenshot follows: Modullistan med Clawzia-posten.
Ange din publika nyckel
Öppna modulens inställningar med den blå pennknappen, klistra in din publika nyckel, slå på Status och spara.
Screenshot follows: Clawzias inställningssida.
Verifiera installationen
Klicka på Verify installation. Statuskortet visar din butik, dess land, texten på länken och om formuleringen är verifierad, och kontrollerar att widgetfilen kan laddas ner.
Om ingenting visas
Kontrollera att händelsen
clawzia_footerär aktiverad och uppdatera sedan temats cache.Where: Extensions → Events; temats cache: Dashboard → kugghjulsikonen (Developer Settings) → Theme → Refresh
OpenCart 3: OCMOD-modifieringenAlternative
Lägg in din publika nyckel i filen
Packa upp
clawzia-opencart3.ocmod.zip, öppnainstall.xmli en vanlig textredigerare och ersättCLAWZIA_PUBLIC_KEYmed din publika nyckel (behåll citattecknen). Packainstall.xmltill en ZIP-fil igen, på ZIP-filens översta nivå, med ett namn som slutar på.ocmod.zip.Screenshot follows: Den ändrade raden i install.xml.
Ladda upp modifieringen
Ladda upp ZIP-filen.
Where: Extensions → Installer → Upload
Uppdatera modifieringarna
Uppdatera modifieringarna och, om temats cache är på, temats cache.
Where: Extensions → Modifications → Refresh
Screenshot follows: Extensions → Modifications → Refresh.
Good to know
- Teman vars sidfotsmall saknar en avslutande body-tagg hoppas över: lägg till
{{ clawzia_snippet }}före</body>i den mallen för hand. - Installera modifieringen bara en gång, och inte tillsammans med en kopia i mappen
system: med två kopior skrivs koden ut två gånger.
Kontrollera installationen
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.