Cart widgets
Show HSA/FSA eligibility in the cart drawer, while the shopper decides whether to buy.

Shoppers open the cart drawer to decide whether to buy, and most stores say nothing about HSA/FSA there. The Truemed cart widgets add HSA/FSA messaging to your theme’s cart drawer: a banner above the Check out button, and a badge on each item that may qualify.
Truemed syncs HSA/FSA eligibility onto your products, so the widgets show only on carts with items that may qualify. Truemed also picks the copy to match your setup: “pay with HSA/FSA” for payments stores and “get reimbursed” for reimbursement stores. You do not write any copy.
These widgets ship inside the Truemed Extensions App. Install the app first. The widgets do not appear in your theme editor until you do.
Before you start
The cart widgets work on every Shopify plan. They are theme app embeds, so you turn them on in your theme editor under App embeds, not in the checkout editor. Unlike the checkout widgets, they do not need Shopify Plus.
They show in the cart drawer only. The cart drawer is the panel that slides open when a shopper adds an item or clicks the cart icon. If your theme sends shoppers to a full cart page instead, the widgets do not appear there.
They work on Dawn and Horizon with no setup. On other themes, you may need to add your theme’s selectors to the widget settings. See Set them up on other themes.
Turn them on
On the Truemed Extensions app home page, you’ll see both cart widgets as tiles with a preview. Each tile has an Add button that opens your theme editor with the widget switched on.
Add the Cart Drawer widget
On the app home page, find the Cart Drawer tile and click Add. Your theme editor opens on the App embeds panel with Cart Drawer switched on.
Add the Cart Badges widget
Back on the app home page, click Add on the Cart Badges tile. Check that Cart Badges is switched on, then click Save again.
Check your cart drawer
On your storefront, add an item that may qualify to your cart and open the cart drawer. The banner sits directly above the Check out button, and the badge sits under the item’s price.
- Add opens your live theme. To try the widgets on a draft theme first, open that theme in the theme editor, go to App embeds, and switch them on there.
- In the theme editor, the badges show on every item in your cart so you can check where they land. Add an item to your cart to see them. On your storefront, only items that may qualify get a badge.
Just installed the Truemed Extensions App? Turn the widgets on now anyway. Truemed syncs each SKU’s HSA/FSA eligibility back to your store through the app, and shoppers do not see the widgets until that sync finishes. After it finishes, the widgets appear on their own.
Available widgets
Both widgets go in your theme’s cart drawer. On a payments store, carts with a subscription item show the reimbursements copy, because Shopify does not offer Truemed as a payment option on subscription carts.
Payments
Reimbursements
The copy tells shoppers to select Truemed at checkout.
Cart Drawer
- A one-line banner directly above the Check out button: “HSA/FSA eligible via Truemed”
- Shows when the cart holds at least one item that may qualify, and hides when the shopper removes those items
- Shoppers can tap it to see how to pay: “To pay using pre-tax HSA/FSA funds, select Truemed at checkout.” The Truemed disclaimer sits underneath, with a link to truemed.com/disclosures.

Cart Badges
- Puts a “Pay with HSA/FSA” badge under the price of each item that may qualify
- Skips items that do not qualify, so shoppers with a mixed cart can tell which items may qualify

The copy tells shoppers how to get reimbursed after they buy.
Cart Drawer
- A one-line banner directly above the Check out button: “HSA/FSA eligible via Truemed”
- Shows when the cart holds at least one item that may qualify, and hides when the shopper removes those items
- Shoppers can tap it to see how to get reimbursed: “For HSA/FSA reimbursement, pay with any method and look for Truemed on the confirmation screen.” The Truemed disclaimer sits underneath, with a link to truemed.com/disclosures.

Cart Badges
- Puts a “Get Reimbursed via HSA/FSA” badge under the price of each item that may qualify
- Skips items that do not qualify, so shoppers with a mixed cart can tell which items may qualify

Pair them with checkout widgets. On Shopify Plus, the checkout widgets carry the same message through to payment. Start with Product Badge and Subtle CTA, the checkout versions of Cart Badges and Cart Drawer.
If a widget does not appear
Check these in order:
- The cart holds an item that may qualify. In the Shopify admin, open the item’s variant and check its HSA/FSA Eligibility field. An item that may qualify reads
eligibleoreligible_with_lmn. If the field is blank, your catalog sync is probably still running. After the sync, Truemed may take 24-48 hours to determine each item’s eligibility. - The widget is switched on in your live theme. In the theme editor, go to App embeds and check that Cart Drawer and Cart Badges are on. Click Save after any change.
- Your theme uses a cart drawer. The widgets do not show on a full cart page.
- The widgets can find your cart drawer. Dawn and Horizon work with no setup. On other themes, set the selectors below.
Set them up on other themes
Each widget has advanced settings for themes that the defaults do not cover. In the theme editor, go to App embeds and click the widget’s name to open its settings. Leave a field blank unless something looks wrong. A blank field uses the Dawn and Horizon defaults.
To find a selector, open your storefront in Chrome, right-click the element, and choose Inspect. Copy a class name from the highlighted element and put a period in front of it, for example .cart__ctas. Paste it into the setting, then click Save.
If the banner sits against the Check out button, raise Space below banner in the Cart Drawer settings. It adds up to 24 px of space.
Need help?
Reach out to your Customer Success representative or merchants@truemed.com.
Related
- Truemed Extensions App — Install the app that ships these widgets
- Checkout widgets — Carry the HSA/FSA message through checkout
- Product page widget — The HSA/FSA message earlier in the journey
- HSA/FSA eligible badges — Mark qualifying products in your storefront
- Compliant HSA/FSA messaging — Approved copy and the disclaimer for your own HSA/FSA messaging
- Testing — Place test orders without charging real funds