Donation box widgets

Donation box widgets are the primary way to display a donation campaign on your storefront. They can appear on product pages, collection pages, the cart, or anywhere else in your theme.


Two installation methods

There are two ways to install a donation box widget, depending on your Shopify theme:

Method Best for
Theme editor widget (app block) Modern themes that support Shopify's app blocks
Manual install widget (snippet) Older themes, or areas of your theme that don't support app blocks

You don't need to choose upfront — you can create both types and use them in different areas of your store.


Theme editor widgets (app blocks)

App block widgets are installed through the Shopify theme editor with no code required. They appear as a draggable block you can position anywhere app blocks are supported in your theme.

Creating a theme editor widget

  1. In Lift, go to Widgets and click Create widget
  2. Choose Theme editor widget (app block)
  3. Select the campaign this widget should display
  4. Choose a template (the visual layout of the widget)
  5. Click Save

Installing the widget in your theme

  1. After saving, Lift will give you a link to open your Shopify theme editor
  2. In the theme editor, find the page or section where you want the widget to appear
  3. Click Add block or Add section and look for the Lift widget in the app blocks list
  4. Position it where you want it and save your theme

Manual install widgets (snippets)

Manual install widgets are loaded via a small snippet of code placed in your theme. They work in any area of your theme, including areas that don't support app blocks.

One-time theme setup

Before using manual install widgets, you need to complete a one-time setup in your theme. Lift will walk you through this when you create your first manual widget — it involves adding a small piece of code to your theme's main layout file. This only needs to be done once.

Creating a manual install widget

  1. In Lift, go to Widgets and click Create widget
  2. Choose Manual install widget (snippet)
  3. Select the campaign this widget should display
  4. Give your widget a name — this is used to identify it in your theme code
  5. Click Save

Adding the widget to your theme

After saving, Lift will show you a snippet of code (a short Liquid tag). Copy this and paste it into the part of your theme where you want the widget to appear. You'll need to edit your theme files to do this — if you're not comfortable with that, your theme developer can help.

The widget will appear wherever you place the snippet.


Configuring widget appearance

Both widget types have the same configuration options. You can edit these at any time from the widget's page in Lift.

Colors

Customize the widget's color scheme to match your brand:

  • Background color
  • Text color
  • Accent / button color

Layout

Control how the widget is structured:

  • Alignment — Left, center, or right
  • Width — Full width or contained

Text

Customize the copy displayed in the widget:

  • Heading — Main title (e.g., "Support a cause")
  • Subheading — Supporting text
  • Button text — Text on the donation button (e.g., "Donate now", "Add to cart")
  • Thank you message — Shown after a customer donates

All text fields support your store's languages if you have a multilingual store.


Previewing your widget

Use the in-app editor on the widget page to see a live preview of your widget as you make changes. Changes in the editor are not saved until you click Save.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.