Skip to main content

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

  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: Clawzia-udvidelsenRecommended

Omdøb ikke pakken clawzia.ocmod.zip: OpenCart 4 bruger filnavnet som udvidelsens kode, så en omdøbt fil (for eksempel efter en ny download) virker ikke.
  1. 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.zip

    Screenshot follows: Extensions → Installer med den uploadede pakke.

  2. 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.

  3. 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.

  4. 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.

  5. Hvis intet vises

    Kontrollér, at hændelsen clawzia_footer er aktiveret, og opdater derefter tema-cachen.

    Where: Extensions → Events; tema-cache: Dashboard → tandhjulsikonet (Developer Settings) → Theme → Refresh

OpenCart 3: OCMOD-modifikationenAlternative

OpenCart 3 har ingen indstillingsside til Clawzia: du lægger din offentlige nøgle ind i filen, før du installerer den.
  1. Læg din offentlige nøgle ind i filen

    Pak clawzia-opencart3.ocmod.zip ud, åbn install.xml i en almindelig teksteditor, og erstat CLAWZIA_PUBLIC_KEY med din offentlige nøgle (behold anførselstegnene). Pak install.xml til 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.

  2. Upload modifikationen

    Upload ZIP-filen.

    Where: Extensions → Installer → Upload

  3. 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

  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.

Klar til at installere?

Opret din webshop for at få din offentlige nøgle, og følg derefter trinnene ovenfor.