Skip to main content

Paigaldusjuhend

Paigalda taganemisnupp platvormile OpenCart

OpenCart 4 jaoks on Clawzia laiendus seadistuslehega; OpenCart 3 jaoks OCMOD-muudatus. Küsi meilt paketti, mis sinu e-poele sobib.

Enne alustamist

  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 laiendusRecommended

Ära nimeta paketti clawzia.ocmod.zip ümber: OpenCart 4 kasutab failinime laienduse koodina, seega ümbernimetatud fail (näiteks teisel allalaadimisel) ei tööta.
  1. Lae laiendus üles

    Lae pakett üles ja klõpsa seejärel allolevas loendis „Clawzia Withdrawal Button“ rohelist nuppu Install.

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

    Screenshot follows: Extensions → Installer koos üleslaaditud paketiga.

  2. Paigalda moodul

    Vali tüüp Modules ja paigalda „Clawzia Withdrawal Button“ rohelise + nupuga.

    Where: Extensions → Extensions → tüüp Modules

    Screenshot follows: Moodulite loend koos Clawzia kirjega.

  3. Sisesta oma avalik võti

    Ava mooduli seaded sinise pliiatsinupuga, aseta oma avalik võti, lülita Status sisse ja salvesta.

    Screenshot follows: Clawzia seadistusleht.

  4. Kontrolli paigaldust

    Klõpsa Verify installation. Olekukaart näitab sinu e-poodi, selle riiki, lingi teksti ja seda, kas sõnastus on kontrollitud, ning kontrollib, kas vidina faili saab alla laadida.

  5. Kui midagi ei ilmu

    Kontrolli, et sündmus clawzia_footer on lubatud, seejärel värskenda teema vahemälu.

    Where: Extensions → Events; teema vahemälu: Dashboard → hammasratta ikoon (Developer Settings) → Theme → Refresh

OpenCart 3: OCMOD-muudatusAlternative

OpenCart 3-l pole Clawzia jaoks seadistuslehte: pane oma avalik võti faili enne selle paigaldamist.
  1. Pane oma avalik võti faili

    Paki lahti clawzia-opencart3.ocmod.zip, ava install.xml lihtsas tekstiredaktoris ja asenda CLAWZIA_PUBLIC_KEY oma avaliku võtmega (jäta jutumärgid alles). Paki install.xml uuesti ZIP-i, ZIP-i ülemisele tasemele, nimega, mis lõpeb .ocmod.zip.

    Screenshot follows: Muudetud rida failis install.xml.

  2. Lae muudatus üles

    Lae ZIP-fail üles.

    Where: Extensions → Installer → Upload

  3. Värskenda muudatused

    Värskenda muudatused ja, kui teema vahemälu on sees, ka teema vahemälu.

    Where: Extensions → Modifications → Refresh

    Screenshot follows: Extensions → Modifications → Refresh.

Good to know

  • Teemad, mille jaluse mallis pole sulgevat body-märgendit, jäetakse vahele: lisa selle mallis käsitsi {{ clawzia_snippet }} enne </body>.
  • Paigalda muudatus ainult üks kord ja mitte koos koopiaga kaustas system: kahe koopiaga prinditakse kood kaks korda.

Kontrolli paigaldust

  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.

Valmis paigaldama?

Loo oma e-pood, et saada avalik võti, ning järgi ülaltoodud samme.