Sling.Docs

Checkout

Add the Sling script to your theme

One line in your theme is what makes Check out open your Sling page instead of Shopify's checkout.

Nothing adds this line for you. Without it, Check out keeps going to Shopify's own checkout.

  1. In Shopify, open Online Store, Themes. If your store is not live yet, use the three dots and Duplicate first, and work on the copy. You can rename it Sling to tell the two apart.
  2. On that theme, open the three dots and Edit code, then open theme.liquid.
  3. Paste the line from the Go live stage just before the closing head tag.
  4. Use Preview and walk your storefront to the checkout the way a customer would.
  5. When it looks right, publish that theme.
  6. Back in Sling, press Check my storefront, then confirm the box.

We load your live storefront the way a shopper does, so we only find the line in the published theme. A copy you only preview or edit stays invisible to us until you publish it.

If we cannot find it

  • If you just added it, give it a moment and try again.
  • If you added it to a copy, publish that copy.
  • If your store is password protected, we cannot look. Tick the box by hand once the line is in your published theme.

Your store cannot take real payments until this confirmation stands.

After a theme change

Paste the line again after you change themes, and publish the theme. If Check out ever stops opening your Sling page, the line is missing from your published theme. You can get the line again on the Checkout page in your dashboard.

Skip cart

If your theme or a bundles app sends shoppers straight to checkout from Add to cart, turn on Skip cart and go straight to checkout on the Checkout page. Our script then also catches add-to-cart clicks and checkout links. Leave it off for normal cart-drawer stores. Changes reach your storefront within about 5 minutes.

Minimum cart value

To set a minimum order, enter an amount under Minimum cart value on the Checkout page. Shoppers can still open your checkout, but below that amount the pay button and the express buttons stay closed and a line names the minimum. As soon as they raise a quantity or add an item, the button opens without a reload. Leave the field empty for no minimum.

What counts is the items after quantity discounts, plus order bumps, upsells and gift wrap, in your store currency. Discount codes, shipping, tax and tips do not change it, so with a code the amount paid can end up below your minimum. Exactly the minimum is enough. Post-purchase offers and subscription renewals are not affected.

The minimum applies on your Sling checkout. A shopper who lands on Shopify's own checkout is not held to it, and your shop's cart page does not show it.

Still stuck? Write to support@sling.cx and a real person answers.