Klaviyo already has great abandoned cart flows. Checkout Links makes them better by adding tiered promotions based on cart value.
Why Use Checkout Links
Klaviyo's default abandoned cart link takes customers back to their cart — that's it. With Checkout Links, you can:
Offer tiered discounts — 10% off for carts over $50, 15% for carts over $100
Add free shipping thresholds — Free shipping on orders over $75
Include free gifts — Bonus item for high-value carts
Combine incentives — Stack discounts, free shipping, and gifts based on cart value
Quick Setup
Add the ?li= parameter with this Klaviyo variable to load cart items:
{% for item in event.extra.line_items %}##{{ item.variant_id }},##{{ item.quantity|floatformat:0 }}{% if not forloop.last %}:{% endif %}{% endfor %}
Your final link:
https://yourstore.com/abandoned-cart?li={% for item in event.extra.line_items %}##{{ item.variant_id }},##{{ item.quantity|floatformat:0 }}{% if not forloop.last %}:{% endif %}{% endfor %}
Create Your Abandonment Link
Create a new link — Go to Checkout Links and click Create Link
Name your link — Give it a descriptive name like "Abandoned Cart" so you can easily identify it later
Set a custom slug — Enter a custom slug such as
abandoned-cartorabandonment. This will be part of your URLEnable Dynamic mode — Toggle on Dynamic to enable dynamic URL parameters. This allows the link to accept cart items via the
?li=parameter
Your link is now configured to load cart contents from Klaviyo's line item data.
Add Promotions (Optional)
With tiered promotions, you can offer different incentives based on cart value:
Cart Total | Offer |
Up to $50 | Free shipping |
$50 – $150 | Free shipping + 10% off |
$150+ | Free shipping + 10% off + free gift |
Set a maximum limit if you don't want to discount high-value carts. This protects your margins on large orders.
Combine with pre-checkout pages to let customers modify their cart before checkout — great for fashion brands where customers might need to change sizes, or for adding optional upsells.
Copy Your Link
Save your link — Click Save to create your abandonment link
Copy the URL — It will look something like
https://yourstore.com/abandoned-cart. You'll add the?li=parameter with Klaviyo variables in the next step
Add the Link to Your Klaviyo Flow
Open your Abandoned Checkout flow — In Klaviyo, navigate to your Abandoned Checkout flow. If you don't have one, create a new flow using one of Klaviyo's built-in abandoned cart templates
Edit your email template — Open the email or SMS template you want to add the recovery link to
Find your call-to-action button — Locate the CTA button (e.g., "Back to my cart" or "Complete your order")
Replace the link URL — Replace the current link (usually
##{{ event.extra.checkout_url }}) with your Checkout Links URLAdd the Klaviyo variable — Add
?li=to your URL followed by this Klaviyo variable:
{% for item in event.extra.line_items %}##{{ item.variant_id }},##{{ item.quantity|floatformat:0 }}{% if not forloop.last %}:{% endif %}{% endfor %}
Your final link will look like:
https://yourstore.com/abandoned-cart?li={% for item in event.extra.line_items %}##{{ item.variant_id }},##{{ item.quantity|floatformat:0 }}{% if not forloop.last %}:{% endif %}{% endfor %}
Make sure to copy the Klaviyo variable exactly as shown. Any missing characters will prevent the cart from loading correctly.
Test Your Flow
Save your template — Save your changes in Klaviyo
Send a test email — Use Klaviyo's preview and test feature to send yourself a test email
Click the CTA button — Open the test email and click your call-to-action button
Verify cart contents — Confirm that the abandoned cart items are loaded into checkout with your promotions applied
