Installationsguide
Installer fortrydelsesknappen i OpenCart
Til OpenCart 4 findes en Clawzia-udvidelse med en indstillingsside; til OpenCart 3 en OCMOD-modifikation. Bed os om den pakke, der passer til din webshop.
Før du går i gang
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-udvidelsenRecommended
clawzia.ocmod.zip: OpenCart 4 bruger filnavnet som udvidelsens kode, så en omdøbt fil (for eksempel efter en ny download) virker ikke.Upload udvidelsen
Upload pakken, og klik derefter på den grønne Install-knap ud for »Clawzia Withdrawal Button« på listen nedenfor.
Where: Extensions → Installer → Upload →
clawzia.ocmod.zipScreenshot follows: Extensions → Installer med den uploadede pakke.
Installer modulet
Vælg typen Modules, og installer »Clawzia Withdrawal Button« med den grønne +-knap.
Where: Extensions → Extensions → type Modules
Screenshot follows: Modullisten med Clawzia-posten.
Indtast din offentlige nøgle
Åbn modulets indstillinger med den blå blyantknap, indsæt din offentlige nøgle, slå Status til, og gem.
Screenshot follows: Clawzias indstillingsside.
Bekræft installationen
Klik på Verify installation. Statuskortet viser din webshop, dens land, linkets tekst, og om teksten er verificeret, og kontrollerer, at widget-filen kan downloades.
Hvis intet vises
Kontrollér, at hændelsen
clawzia_footerer aktiveret, og opdater derefter tema-cachen.Where: Extensions → Events; tema-cache: Dashboard → tandhjulsikonet (Developer Settings) → Theme → Refresh
OpenCart 3: OCMOD-modifikationenAlternative
Læg din offentlige nøgle ind i filen
Pak
clawzia-opencart3.ocmod.zipud, åbninstall.xmli en almindelig teksteditor, og erstatCLAWZIA_PUBLIC_KEYmed din offentlige nøgle (behold anførselstegnene). Pakinstall.xmltil en ZIP-fil igen, i ZIP-filens øverste niveau, med et navn, der ender på.ocmod.zip.Screenshot follows: Den redigerede linje i install.xml.
Upload modifikationen
Upload ZIP-filen.
Where: Extensions → Installer → Upload
Opdater modifikationerne
Opdater modifikationerne og, hvis tema-cachen er slået til, også tema-cachen.
Where: Extensions → Modifications → Refresh
Screenshot follows: Extensions → Modifications → Refresh.
Good to know
- Temaer, hvis footer-skabelon ikke har et afsluttende body-tag, springes over: tilføj
{{ clawzia_snippet }}før</body>i den skabelon manuelt. - Installer modifikationen kun én gang og ikke sammen med en kopi i mappen
system: med to kopier udskrives koden to gange.
Tjek 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.