---
updatedAt: 2025-11-13T14:13:15.000Z
agentTools:
  siteIndex: https://docs.affirm.com/llms.txt
  projectIndex: https://docs.affirm.com/platforms/llms.txt
---

# Shopify Theme Editor- Cart Promo Block

Learn about adding and customizing the Affirm Cart Promo block in the Shopify Theme Editor.

# Overview

This guide will walk you through adding and customizing the "Affirm Cart Promo" block within the Shopify Theme Editor.

***

## Shopify Theme Editor- Cart Promo Block

Follow the steps below to add the Affirm Cart Promo to your Shopify store.

### Go to [admin.shopify.com](https://admin.shopify.com)

### 1. Click "Online Store"

From "Home," navigate to "Online Store" and click.

<Image alt="Click 'Online Store'" align="center" src="https://files.readme.io/1bff1e5-Shopify_Theme_Blocks.svg" />

### 2. Click "Themes"

Select "Themes" from the menu.

<Image alt="Click 'Themes'" align="center" src="https://files.readme.io/95f7c6a-Step_2-Shopify_Theme.svg" />

### 3. Click "Customize"

Click on "Customize" for the desired theme.

<Image alt="Click 'Customize'" align="center" src="https://files.readme.io/84394e8-Step_3-_Shopify_Theme.svg" />

### 4. Click "Cart"

Navigate to "Cart".

<Image alt="Click 'Cart'" align="center" src="https://files.readme.io/c0febe8-step_4_cart.svg" />

### 5. Click on "Add block"

Select "Add block" to add the Affirm Promo block.

<Image alt="Click here" align="center" className="border" border={true} src="https://files.readme.io/858d7e58dcae9a24d0f27bbe2494601e528a76202cb533b44956376396a7df6d-Shopify_Cart_Block_UX_Update.svg" />

### 6. Click "Affirm Cart Promo"

Select the "Affirm Cart Promo" option.

<Image alt="Click 'Affirm Cart Promo'" align="center" className="border" border={true} src="https://files.readme.io/8ccd7d3af3afcfa3f672244a61ae1acfd7179c9406de138b98aa75711e667c2c-Shopify_Promo_Block_UX_Updates.svg" />

### 7. Move the "Affirm Cart Promo"

If needed, you can move the block to another location within the "Subtotal" template.

<Image alt="Click here" align="center" src="https://files.readme.io/16b09d9-step_7_cart.svg" />

> 🚧 Adding a Product to Your Cart
>
> To ensure the Affirm Cart Promo is correctly displayed in your cart, you must first add a product. Here’s one way to do it:
>
> 1. When using the Shopify Theme Editor, find your way to the "Product" page by selecting "Products" from the drop-down menu located at the top-center of your interface.
> 2. Then, choose the "Default Product" option, which will direct you to one of your product listings. It does not matter which product you pick for this purpose; any will do.
> 3. On the "Product" page, simply hit the "Add to Cart" button.
> 4. With the product now in your cart, the Affirm Cart Promo should activate as intended.

<Image align="center" src="https://files.readme.io/dde0244-step_7_cart_p2.svg" />

### 8. Customizations

There are multiple customization options for the Affirm product promo. These options include the following: text alignment, font size, logo color, and logo type.

<Image alt="Customizations" align="center" src="https://files.readme.io/153b208-Step_10-_Shopify_Theme.svg" />

### 9. Click "Save"

Once your selections are made, click "Save".

***

## Using the Advanced Settings

If the Affirm "As Low As" (ALA) messaging fails to display on the Cart page after adding the block, you may need to configure Advanced Settings. Be aware that navigating these settings may require additional technical skills.

<br />

<Table align={["left","left"]}>
  <thead>
    <tr>
      <th>
        Setting
      </th>

      <th>
        Description
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        **Custom Cart Selector**
      </td>

      <td>
        The value for this selector could be found as a **class** or an **id**of a `<form>` element that contains **cart items** on a cart page.  

        Locate an item added to a cart on a cart page, right-click on it, and select “**Inspect**.” Scroll upwards through the source code until you locate the `<form>` element id or class that contains this item's element.
      </td>
    </tr>

    <tr>
      <td>
        **Custom Cart Total Selector**
      </td>

      <td>
        The value for this selector could be found as a **class** or an **id** of an element that contains the **total value** for a cart on a cart page.  

        Locate a cart total amount on a cart page, right-click on it, and select “**Inspect**.” We are looking for the class or id of the element, typically a `<p>` or `<span>` element, that contains this number.
      </td>
    </tr>
  </tbody>
</Table>

# Sibling pages

* [Shopify Theme Editor- Product Promo Block](https://docs.affirm.com/platforms/docs/shopify-theme-editor-product-promo-block.md)
* [Shopify Theme Editor- Collection Promo Block](https://docs.affirm.com/platforms/docs/shopify-theme-editor-collection-promo-block.md)
* [Shopify Cart Drawer Promo](https://docs.affirm.com/platforms/docs/shopify-cart-drawer-promo.md)