PlandalfDocsSign inStart free trial

Websites and builders

Carrd

Any Carrd button can open your hosted Plandalf checkout, on every Carrd plan. With an Embed element, you can also open the checkout over your page or show it inline.

Before you start

Carrd's Embed element, which the script needs, is on Pro Standard and higher. On other plans, use the hosted link on a normal button.

Add the script

  1. Add an Embed element

    Click + and choose Embed. Set Type to Code.

  2. Paste the script

    Copy it from your checkout's Share screen (pick HTML):

    <script async src="https://YOUR-ORG.plandalf.dev/js/plandalf-sdk.js"></script>
  3. Load it at the end of the page

    Set Style to Hidden and Location to Body End, so the element loads the script without taking up space.

  4. Publish

    Carrd runs embedded code on the published site.

Open a checkout from a button

In Plandalf, open the checkout's Share screen, choose Hosted link and copy Your checkout link. In Carrd, add a Buttons element and paste the link as the button's URL. Buyers land on the checkout page Plandalf hosts for you.

Over your page (Pro Standard)

With the script added, add another Embed element, set Type to Code and Style to Inline, and paste:

<button data-plandalf-present="YOUR-CHECKOUT">Buy Now</button>

Style it with inline CSS to match your site. More options are in Buy buttons.

Show a checkout on the page

With the script added, add an Embed element, set Type to Code and Style to Inline, and paste:

<div data-plandalf-mount="YOUR-CHECKOUT" style="min-height: 480px"></div>

Show a deadline timer

With the script added, add an inline Embed element with an empty element that has your deadline timer's slug. The script draws the live countdown inside it.

<div data-plandalf-promo="YOUR-PROMO"></div>

See Countdowns.

Check it's working

  1. Open the published site

    Use a private window. If you added the script, type plandalf in the browser console: you should see a function.

  2. Click your button

    The hosted checkout opens, or the checkout opens over the page.

  3. Make a test purchase

    Use Open the test checkout on the Share screen for a hosted link, or add your your-site.carrd.co address in Plandalf under Settings → Advanced → Test domains. See Test mode.

If it isn't working

  • If the Embed element isn't in the + menu, or won't save, your plan doesn't include embeds. Use the hosted link.
  • Check the script's Embed element is set to Body End and the button's Embed element to Inline.
  • Publish again after each change.

See Troubleshooting.